This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.5.1</version> | |
<configuration> | |
<encoding>UTF-8</encoding> | |
<source>${java.compiler.version}</source> | |
<target>${java.compiler.version}</target> | |
<fork>true</fork> | |
<compilerVersion>1.5</compilerVersion> | |
<executable>${jdk6}/bin/javac</executable> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sts.voms.ui.server.db.ora.sp; | |
import com.sts.voms.ui.server.common.VomsUtils; | |
import com.sts.voms.ui.server.jdbctypes.NumberArray; | |
import com.sts.voms.ui.server.jdbctypes.StringArray; | |
import com.sts.voms.ui.shared.common.SharedException; | |
import org.springframework.jdbc.core.SqlParameter; | |
import java.math.BigDecimal; | |
import java.sql.Types; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sts.voms.ui.server.jdbctypes; | |
import oracle.jdbc.OracleCallableStatement; | |
import oracle.sql.ARRAY; | |
import oracle.sql.ArrayDescriptor; | |
import org.springframework.jdbc.core.SqlReturnType; | |
import org.springframework.jdbc.core.support.AbstractSqlTypeValue; | |
import java.math.BigDecimal; | |
import java.sql.CallableStatement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.intervale.analyzer.ui.shared.beans; | |
/** | |
* Статуc платежа | |
*/ | |
public enum PayStatus { | |
/** | |
* платеж создан | |
*/ | |
OK("Ok"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.istelecom.testingarea; | |
import expect4j.Expect4j; | |
import org.apache.oro.text.regex.MalformedPatternException; | |
import java.net.Socket; | |
import java.util.Map; | |
public class TelnetExpect { | |
private final Map<String, String> dictionary; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ru.intervale.analyzer.ui.client.common; | |
public interface Lambda<T, R> { | |
R execute(T arg); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>copy</id> | |
<phase>package</phase> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (String module : modules) { | |
{ | |
int idx = module.indexOf(':'); | |
if (idx < 0) { | |
logger.l2("Skipping config string " + module); | |
continue; | |
} | |
String className = module.substring(0, idx); | |
String config = module.substring(idx + 1); | |
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.h2.jdbcx.JdbcConnectionPool; | |
import java.sql.CallableStatement; | |
import java.sql.Connection; | |
import java.sql.SQLException; | |
import java.sql.Types; | |
public class TestFail { | |
public static void main(String[] args) throws SQLException { | |
JdbcConnectionPool cp = JdbcConnectionPool.create( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" org.h2.jdbc.JdbcSQLException: Параметр "#1" не установлен | |
Parameter "#1" is not set; SQL statement: | |
? = call IDENTITY() [90012-174] | |
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332) | |
at org.h2.message.DbException.get(DbException.java:172) | |
at org.h2.message.DbException.get(DbException.java:149) | |
at org.h2.expression.Parameter.checkSet(Parameter.java:80) | |
at org.h2.command.Prepared.checkParameters(Prepared.java:163) | |
at org.h2.command.CommandContainer.query(CommandContainer.java:90) | |
at org.h2.command.Command.executeQuery(Command.java:196) |
OlderNewer