bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected int readLengthAndCodePoint() throws DRDAProtocolException { ensureBLayerDataInBuffer (4, NO_ADJUST_LENGTHS); ddmScalarLen = ((buffer[pos++] & 0xff) << 8) + ((buffer[pos++] & 0xff) << 0); int codePoint = ((buffer[pos++] & 0xff) << 8) + ((buffer[pos++] & 0xff) << 0); if (SanityManager.DEBUG) trac...
protected int readLengthAndCodePoint() throws DRDAProtocolException { ensureBLayerDataInBuffer (4, NO_ADJUST_LENGTHS); ddmScalarLen = ((buffer[pos++] & 0xff) << 8) + ((buffer[pos++] & 0xff) << 0); int codePoint = ((buffer[pos++] & 0xff) << 8) + ((buffer[pos++] & 0xff) << 0); if (SanityManager.DEBUG) trac...
1,106,764
private PreparedStatement prepMinion(LanguageConnectionContext lcc, boolean cacheMe, Object[] paramDefaults, SchemaDescriptor spsSchema, boolean internalSQL) throws StandardException { long beginTime = 0; long parseTime = 0; long bindTime = 0; long optimizeTime = 0; long generateTime = 0;...
private PreparedStatement prepMinion(LanguageConnectionContext lcc, boolean cacheMe, Object[] paramDefaults, SchemaDescriptor spsSchema, boolean internalSQL) throws StandardException { long beginTime = 0; long parseTime = 0; long bindTime = 0; long optimizeTime = 0; long generateTime = 0;...
1,106,765
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
1,106,766
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
1,106,767
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
1,106,768
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
1,106,770
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
1,106,771
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
public void configureDatabaseForEncryption(Properties properties, boolean reEncrypt, CipherFactory newCipherFactory) throws StandardException { // check if the database can be encrypted. canEncrypt...
1,106,773
public void checkAutoCommit(boolean autoCommit) throws SQLException { if (autoCommit && (currentXid != null)) throw Util.generateCsSQLException(SQLState.CANNOT_AUTOCOMMIT_XA); super.checkAutoCommit(autoCommit); }
public void checkAutoCommit(boolean autoCommit) throws SQLException { if (autoCommit && (xaRes.getCurrentXid () != null)) throw Util.generateCsSQLException(SQLState.CANNOT_AUTOCOMMIT_XA); super.checkAutoCommit(autoCommit); }
1,106,775
public void checkCommit() throws SQLException { if (currentXid != null) throw Util.generateCsSQLException(SQLState.CANNOT_COMMIT_XA); super.checkCommit(); }
public void checkCommit() throws SQLException { if (xaRes.getCurrentXid () != null) throw Util.generateCsSQLException(SQLState.CANNOT_COMMIT_XA); super.checkCommit(); }
1,106,776
public void checkRollback() throws SQLException { if (currentXid != null) throw Util.generateCsSQLException(SQLState.CANNOT_ROLLBACK_XA); super.checkRollback(); }
public void checkRollback() throws SQLException { if (xaRes.getCurrentXid () != null) throw Util.generateCsSQLException(SQLState.CANNOT_ROLLBACK_XA); super.checkRollback(); }
1,106,777
public void checkSavepoint() throws SQLException { if (currentXid != null) throw Util.generateCsSQLException(SQLState.CANNOT_ROLLBACK_XA); super.checkSavepoint(); }
public void checkSavepoint() throws SQLException { if (xaRes.getCurrentXid () != null) throw Util.generateCsSQLException(SQLState.CANNOT_ROLLBACK_XA); super.checkSavepoint(); }
1,106,778
public Connection getConnection() throws SQLException { Connection handle; // Is this just a local transaction? if (currentXid == null) { handle = super.getConnection(); } else { if (currentConnectionHandle != null) { // this can only happen if someone called start(Xid), // getConnection, getConnection (...
public Connection getConnection() throws SQLException { Connection handle; // Is this just a local transaction? if (xaRes.getCurrentXid () == null) { handle = super.getConnection(); } else { if (currentConnectionHandle != null) { // this can only happen if someone called start(Xid), // getConnection, get...
1,106,779
public final synchronized XAResource getXAResource() throws SQLException { checkActive(); return this; }
public final synchronized XAResource getXAResource() throws SQLException { checkActive(); return xaRes; }
1,106,780
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
1,106,784
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if ((colType == Types.DECIMAL) || (colType == Types.NUMERIC)) { if (scale < 0) throw newSQLException(SQLState.BAD_SCALE_VALUE, new Integer(scale)); ...
1,106,785
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
1,106,786
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
1,106,787
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
public void updateObject(int columnIndex, Object x) throws SQLException { checksBeforeUpdateXXX("updateObject", columnIndex); int colType = getColumnType(columnIndex); if (colType == org.apache.derby.iapi.reference.JDBC20Translation.SQL_TYPES_JAVA_OBJECT) { try { ((UserDataValue) getDVDforColumnToBeUpdated(col...
1,106,788
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
protected void runTest(String[] args) throws Exception { // Check the returned type of the JDBC Connections. ij.getPropertyArg(args); Connection dmc = ij.startJBMS(); dmc.createStatement().executeUpdate("create table y(i int)"); dmc.createStatement().executeUpdate( "create procedure checkConn2(in d...
1,106,789
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty...
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { testCondition = testCondition.bindExpression(fromList, subqueryList, aggregateVector); if (thisIsNullIfNode) { //for NULLIF(V1,V2), parser binds thenElseList.elementAt(0) to unty...
1,106,790
void generateConstant(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { switch (getNodeType()) { case C_NodeTypes.INT_CONSTANT_NODE: mb.push(value.getInt()); break; case C_NodeTypes.TINYINT_CONSTANT_NODE: mb.push(value.getByte()); break; case C_NodeTypes.SMALLINT_CONSTANT_NODE: m...
void generateConstant(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { switch (getNodeType()) { case C_NodeTypes.INT_CONSTANT_NODE: mb.push(value.getInt()); break; case C_NodeTypes.TINYINT_CONSTANT_NODE: mb.push(value.getByte()); break; case C_NodeTypes.SMALLINT_CONSTANT_NODE: m...
1,106,791
private static void streamTest10(Connection conn) { ResultSetMetaData met; ResultSet rs; Statement stmt; System.out.println("Testing 10 starts from here"); try { stmt = conn.createStatement(); //create the table stmt.executeUpdate("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageSize...
private static void streamTest10(Connection conn) { ResultSetMetaData met; ResultSet rs; Statement stmt; System.out.println("Testing 10 starts from here"); try { stmt = conn.createStatement(); //create the table stmt.executeUpdate("call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.storage.pageSize...
1,106,792
public BooleanDataValue XMLExists(SqlXmlUtil sqlxUtil) throws StandardException { if (this.isNull()) { // if the user specified a context node and that context // is null, result of evaluating the query is null // (per SQL/XML 6.17:General Rules:1.a), which means that we ...
public BooleanDataValue XMLExists(SqlXmlUtil sqlxUtil) throws StandardException { if (this.isNull()) { // if the user specified a context node and that context // is null, result of evaluating the query is null // (per SQL/XML 6.17:General Rules:1.a), which means that we ...
1,106,793
public XMLDataValue XMLParse(String text, boolean preserveWS, SqlXmlUtil sqlxUtil) throws StandardException { try { if (preserveWS) { // Currently the only way a user can view the contents of // an XML value is by explicitly calling XMLSERIALIZE. // So do...
public XMLDataValue XMLParse(String text, boolean preserveWS, SqlXmlUtil sqlxUtil) throws StandardException { try { if (preserveWS) { // Currently the only way a user can view the contents of // an XML value is by explicitly calling XMLSERIALIZE. // So do...
1,106,794
public XMLDataValue XMLQuery(XMLDataValue result, SqlXmlUtil sqlxUtil) throws StandardException { if (this.isNull()) { // if the context is null, we return null, // per SQL/XML[2006] 6.17:GR.1.a.ii.1. if (result == null) result = (XMLDataValue)getNewNull(); ...
public XMLDataValue XMLQuery(XMLDataValue result, SqlXmlUtil sqlxUtil) throws StandardException { if (this.isNull()) { // if the context is null, we return null, // per SQL/XML[2006] 6.17:GR.1.a.ii.1. if (result == null) result = (XMLDataValue)getNewNull(); ...
1,106,795
public void normalize( DataTypeDescriptor desiredType, DataValueDescriptor source) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(source instanceof XMLDataValue, "Tried to store non-XML value into XML co...
public void normalize( DataTypeDescriptor desiredType, DataValueDescriptor source) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(source instanceof XMLDataValue, "Tried to store non-XML value into XML co...
1,106,796
public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { int sourceResultSetNumber = source.getResultSetNumber(); //PUSHCOMPILE /* Reuse generated code, where possible */ /* ** If the source is redundant, return the generation of its source. ** M...
public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException { int sourceResultSetNumber = source.getResultSetNumber(); //PUSHCOMPILE /* Reuse generated code, where possible */ /* ** If the source is redundant, return the generation of its source. ** M...
1,106,797
public DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEsti...
DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEstimatedCo...
1,106,798
public DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEsti...
public DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEsti...
1,106,799
public DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEsti...
public DistinctScalarAggregateResultSet(NoPutResultSet s, boolean isInSortedOrder, int aggregateItem, int orderingItem, Activation a, GeneratedMethod ra, int maxRowSize, int resultSetNumber, boolean singleInputRow, double optimizerEstimatedRowCount, double optimizerEsti...
1,106,800
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
1,106,802
public static void main (String[] argv) throws Throwable { boolean isDB2=false; String framework = System.getProperty("framework"); if (framework != null && framework.toUpperCase().equals("DB2JCC")) isDB2 = true; ij.getPropertyArg(argv); Connection conn = ij.startJBMS(); testCoalesceSyntax(conn); tablesForTes...
public static void main (String[] argv) throws Throwable { boolean isDB2=false; String framework = System.getProperty("framework"); if (framework != null && framework.toUpperCase().equals("DB2JCC")) isDB2 = true; ij.getPropertyArg(argv); Connection conn = ij.startJBMS(); testCoalesceSyntax(conn); tablesForTes...
1,106,803
private void parseSQLDTA(DRDAStatement stmt) throws DRDAProtocolException,SQLException { try { parseSQLDTA_work(stmt); } catch (SQLException se) { skipRemainder(false); throw se; } }
private void parseSQLDTA(DRDAStatement stmt) throws DRDAProtocolException,SQLException { try { parseSQLDTA_work(stmt); } catch (SQLException se) { skipRemainder(true); throw se; } }
1,106,804
public static Test suite() { TestSuite suites = new TestSuite("StatementEventsTest suite"); boolean[] truefalse = new boolean[] { true, false }; for (boolean xa : truefalse) { for (boolean callable : truefalse) { suites.addTest(new Suite(xa, callable)); } ...
public static Test suite() { TestSuite suites = new TestSuite("StatementEventsTest suite"); boolean[] truefalse = new boolean[] { true, false }; for (boolean xa : truefalse) { for (boolean callable : truefalse) { suites.addTest(new Suite(xa, callable)); } ...
1,106,806
public void tearDown() throws SQLException { connection.close(); pooledConnection.close(); }
protected void tearDown() throws Exception { connection.close(); pooledConnection.close(); }
1,106,807
private LogRecord getNextRecordBackward(ArrayInputStream input, TransactionId tranId, int groupmask) throws StandardException, IOException, ClassNotFoundException { if (SanityManager.DEBUG) SanityManager.ASSERT(scanDirection == BACKWARD, "can only called by backward scan"); // scan is pos...
private LogRecord getNextRecordBackward(ArrayInputStream input, TransactionId tranId, int groupmask) throws StandardException, IOException, ClassNotFoundException { if (SanityManager.DEBUG) SanityManager.ASSERT(scanDirection == BACKWARD, "can only called by backward scan"); // scan is pos...
1,106,810
public void exec(File srcFile, File dstFile, InputStream isSed, boolean isJCC, boolean isI18N) throws IOException { String hostName = TestUtil.getHostName(); // Vector for storing lines to be deleted Vector deleteLines = new Vector(); deleteLines.addElement("^ij version.*$");...
public void exec (File srcFile, File dstFile, InputStream isSed, boolean isJCC, boolean isI18N, boolean isJDBC4) throws IOException { String hostName = TestUtil.getHostName(); // Vector for storing lines to be deleted Vector deleteLines = new Vector(); deleteLines.addElement(...
1,106,812
public void exec(File srcFile, File dstFile, InputStream isSed, boolean isJCC, boolean isI18N) throws IOException { String hostName = TestUtil.getHostName(); // Vector for storing lines to be deleted Vector deleteLines = new Vector(); deleteLines.addElement("^ij version.*$");...
public void exec(File srcFile, File dstFile, InputStream isSed, boolean isJCC, boolean isI18N) throws IOException { String hostName = TestUtil.getHostName(); // Vector for storing lines to be deleted Vector deleteLines = new Vector(); deleteLines.addElement("^ij version.*$");...
1,106,813
public static void main(String[] args) throws Exception { if (args == null || args.length != 2) { System.err.println("Usage: Sed sourcefile targetfile"); System.exit(1); } File src = new File(args[0]); File tgt = new File(args[1]); new Sed().exec(src,tgt,null...
public static void main(String[] args) throws Exception { if (args == null || args.length != 2) { System.err.println("Usage: Sed sourcefile targetfile"); System.exit(1); } File src = new File(args[0]); File tgt = new File(args[1]); new Sed().exec(src,tgt,null...
1,106,814
protected void checksBeforeInsert() throws SQLException { // 1)Make sure JDBC ResultSet is not closed checkIfClosed("insertRow"); // 2)Make sure this is an updatable ResultSet // if not updatable resultset, then throw exception checkUpdatableCursor("insertRow"); // 3)Make s...
protected void checksBeforeInsert() throws SQLException { // 1)Make sure JDBC ResultSet is not closed checkIfClosed("insertRow"); // 2)Make sure this is an updatable ResultSet // if not updatable resultset, then throw exception checkUpdatableCursor("insertRow"); // 3)Make s...
1,106,816
public TypeDescriptorImpl( BaseTypeIdImpl typeId, int precision, int scale, boolean isNullable, int maximumWidth) { this.typeId = typeId; this.precision = precision; this.scale = scale; this.isNullable = isNullable; this.maximumWidth = maximumWidth; }
public TypeDescriptorImpl( BaseTypeIdImpl typeId, int precision, int scale, boolean isNullable, int maximumWidth) { this.typeId = typeId; this.precision = precision; this.scale = scale; this.isNullable = isNullable; this.maximumWidth = maximumWidth; }
1,106,817
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
1,106,819
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
1,106,820
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
1,106,821
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
public void executeConstantAction(Activation activation) throws StandardException { SPSDescriptor whenspsd = null; SPSDescriptor actionspsd; LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyMan...
1,106,822
private void updateBinaryStreamInternal(int columnIndex, InputStream x, final boolean lengthLess, long length, String updateMethodName) throws SQLException { if (!lengthLess) { if (length < 0) throw newSQLException(SQLState.NEGATIVE_STREAM_LENGTH); ...
private void updateBinaryStreamInternal(int columnIndex, InputStream x, final boolean lengthLess, long length, String updateMethodName) throws SQLException { if (!lengthLess) { if (length < 0) throw newSQLException(SQLState.NEGATIVE_STREAM_LENGTH); ...
1,106,824
private void updateCharacterStreamInternal(int columnIndex, Reader reader, final boolean lengthLess, long length, String updateMethodName) throws SQLException { try {...
private void updateCharacterStreamInternal(int columnIndex, Reader reader, final boolean lengthLess, long length, String updateMethodName) throws SQLException { try {...
1,106,825
private void updateCharacterStreamInternal(int columnIndex, Reader reader, final boolean lengthLess, long length, String updateMethodName) throws SQLException { try {...
private void updateCharacterStreamInternal(int columnIndex, Reader reader, final boolean lengthLess, long length, String updateMethodName) throws SQLException { try {...
1,106,826
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); if (privType == Authorizer.MODIFY_SCHEMA_PRIV) { SchemaDescriptor sd = dd.getSchemaDesc...
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); switch ( privType ) { SchemaDescriptor sd = dd.getSchemaDescriptor(schemaName, tc, fals...
1,106,829
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); if (privType == Authorizer.MODIFY_SCHEMA_PRIV) { SchemaDescriptor sd = dd.getSchemaDesc...
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); if (privType == Authorizer.MODIFY_SCHEMA_PRIV) { SchemaDescriptor sd = dd.getSchemaDesc...
1,106,830
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); if (privType == Authorizer.MODIFY_SCHEMA_PRIV) { SchemaDescriptor sd = dd.getSchemaDesc...
public void check( LanguageConnectionContext lcc, String authid, boolean forGrant) throws StandardException { DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); if (privType == Authorizer.MODIFY_SCHEMA_PRIV) { SchemaDescriptor sd = dd.getSchemaDesc...
1,106,831
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
1,106,833
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
1,106,834
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
1,106,835
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
1,106,836
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
public static void SQLCAMESSAGE(int sqlcode, short errmcLen, String sqlerrmc, String sqlerrp, int errd0, int errd1, int errd2, int errd3, int errd4, int errd5, String warn, String sqlState, String file, String localeStr, String[] msg, int[] rc) { int numMessages = 1; ...
1,106,837
public java.io.InputStream getAsciiStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdate(...
public java.io.InputStream getAsciiStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getAsciiStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdate(...
1,106,839
public java.io.InputStream getBinaryStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBinaryStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdat...
public java.io.InputStream getBinaryStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBinaryStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSensitiveUpdat...
1,106,841
public java.io.InputStream getUnicodeStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSe...
public java.io.InputStream getUnicodeStream(int column) throws SqlException { if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditions(column); java.io.InputStream result = null; if (wasNonNullSe...
1,106,859
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
1,106,861
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
1,106,862
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
1,106,863
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
public boolean pushOptPredicate(OptimizablePredicate optimizablePredicate) throws StandardException { // This method was added to SetOperatorNode as part of DERBY-805, // which was only targeted for UnionNodes. So for now, we don't // do anything if "this" isn't a Union. This check can be removed // when suppor...
1,106,864
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
1,106,865
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
1,106,866
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
1,106,867
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
public void runTest() { DatabaseMetaData met; ResultSet rs; ResultSetMetaData rsmet; System.out.println("Test metadata starting"); try { //Cleanup any leftover database objects from previous test run cleanUp(s); // test decimal type and other numeric types precision, scale, // and display width after ope...
1,106,868
final void writeEncryptedScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException { int leftToR...
final void writeEncryptedScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException { int leftToR...
1,106,869
final void writePlainScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException { int leftToRead = length; int exten...
final void writePlainScalarStream(boolean chained, boolean chainedWithSameCorrelator, int codePoint, int length, java.io.InputStream in, boolean writeNullByte, int parameterIndex) throws DisconnectException, SqlException { int leftToRead = length; int exten...
1,106,870
protected long reserveSpaceForChecksum(int length, long logFileNumber, long currentPosition ) throws StandardException, IOException { if(!writeChecksum) return 0; int total_log_record_length = length + LOG_RECORD_FIXED_OVERHEAD_SIZE; boolean reserveChecksumSpace = false; /* checksum log record is calculated ...
protected long reserveSpaceForChecksum(int length, long logFileNumber, long currentPosition ) throws StandardException, IOException { if(!writeChecksum) return 0; int total_log_record_length = length + LOG_RECORD_FIXED_OVERHEAD_SIZE; boolean reserveChecksumSpace = false; /* checksum log record is calculated ...
1,106,871
protected long reserveSpaceForChecksum(int length, long logFileNumber, long currentPosition ) throws StandardException, IOException { if(!writeChecksum) return 0; int total_log_record_length = length + LOG_RECORD_FIXED_OVERHEAD_SIZE; boolean reserveChecksumSpace = false; /* checksum log record is calculated ...
protected long reserveSpaceForChecksum(int length, long logFileNumber, long currentPosition ) throws StandardException, IOException { if(!writeChecksum) return 0; int total_log_record_length = length + LOG_RECORD_FIXED_OVERHEAD_SIZE; boolean reserveChecksumSpace = false; /* checksum log record is calculated ...
1,106,872
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
1,106,873
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
1,106,874
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
1,106,875
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
1,106,876
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
private void checkXAHoldability() { System.out.println("START XA HOLDABILITY TEST"); try { Properties attrs = new Properties(); attrs.setProperty("databaseName", "wombat"); attrs.setProperty("connectionAttributes", "create=true"); XADataSource dscsx = TestUtil.getXADataSource(attrs); XAConnection xac = ...
1,106,877
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
1,106,878
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
public java.io.InputStream getUnicodeStream(int column) throws SQLException { try { closeCloseFilterInputStream(); if (agent_.loggingEnabled()) { agent_.logWriter_.traceDeprecatedEntry(this, "getUnicodeStream", column); } checkGetterPreconditi...
1,106,879
protected Class loadClass() throws ClassNotFoundException { Class theClass = getClass().getClassLoader().loadClass( className ); if (theClass == null ) { theClass = Thread.currentThread().getContextClassLoader().loadClass( className ); } return theClass; }
protected Class loadClass() throws ClassNotFoundException { Class theClass = getClass().getClassLoader().loadClass( className ); if (theClass == null ) { theClass = Thread.currentThread().getContextClassLoader().loadClass( className ); } return theClass; }
1,106,880
protected Class loadClass() throws ClassNotFoundException { Class theClass = getClass().getClassLoader().loadClass( className ); if (theClass == null ) { theClass = Thread.currentThread().getContextClassLoader().loadClass( className ); } return theClass; }
protected Class loadClass() throws ClassNotFoundException { Class theClass = getClass().getClassLoader().loadClass( className ); if (theClass == null ) { theClass = Thread.currentThread().getContextClassLoader().loadClass( className ); } return getClass().getClassLoader().load...
1,106,881
public boolean validate(String key, Serializable value, Dictionary p) throws StandardException { if (value == null) return true; else if (key.equals(Property.DEFAULT_CONNECTION_MODE_PROPERTY)) { String value_s = (String)value; if (value_s != null && !StringUtil.SQLEqualsIgnoreCase(value_s, Pro...
public boolean validate(String key, Serializable value, Dictionary p) throws StandardException { if (value == null) return true; else if (key.equals(Property.DEFAULT_CONNECTION_MODE_PROPERTY)) { String value_s = (String)value; if (value_s != null && !StringUtil.SQLEqualsIgnoreCase(value_s, Pro...
1,106,882
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca...
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca...
1,106,883
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca...
public int getScanArgs( TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList storeRestrictionList, OptimizablePredicateList nonStoreRestrictionList, ExpressionClassBuilderInterface acbi, int bulkFetch, MethodBuilder resultRowAlloca...
1,106,884
public CostEstimate estimateCost(OptimizablePredicateList predList, ConglomerateDescriptor cd, CostEstimate outerCost, Optimizer optimizer, RowOrdering rowOrdering) throws StandardException { double cost; boolean statisticsForTable = false; boolean statisticsForConglomerate = false...
public CostEstimate estimateCost(OptimizablePredicateList predList, ConglomerateDescriptor cd, CostEstimate outerCost, Optimizer optimizer, RowOrdering rowOrdering) throws StandardException { double cost; boolean statisticsForTable = false; boolean statisticsForConglomerate = false...
1,106,885
public void setUp() throws SQLException { con = getConnection(); cStmt = con.prepareCall("values 1"); }
public void setUp() throws SQLException { con = getConnection(); cStmt = con.prepareCall("? = CALL FLOOR(?)"); cStmt.registerOutParameter(1, Types.DOUBLE); }
1,106,887
public static Test suite() { return (new TestSuite(CallableStatementTest.class, "CallableStatementTest suite")); }
public static Test suite() { return (new TestSuite(CallableStatementTest.class, "CallableStatementTest suite")); }
1,106,888
public DistinctScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, int hashKeyItem, String tableName, String indexName, boolean isConstraint, int colRefItem, int lockMode, boolean tableLocked, int isolationL...
public DistinctScanResultSet(long conglomId, StaticCompiledOpenConglomInfo scoci, Activation activation, GeneratedMethod resultRowAllocator, int resultSetNumber, int hashKeyItem, String tableName, String indexName, boolean isConstraint, int colRefItem, int lockMode, boolean tableLocked, int isolationL...
1,106,889
LossOfPrecisionConversionException(LogWriter logWriter, String instance) { super(logWriter, "Invalid data conversion:" + "Requested conversion would result in a loss of precision of " + instance); }
LossOfPrecisionConversionException(LogWriter logWriter, String instance) { super(logWriter, "Invalid data conversion:" + "Requested conversion would result in a loss of precision of " + instance); }
1,106,890
void setBatchPositionLabel(int index) { batchPositionLabel_ = "Error for batch element #" + index + ": "; }
void setBatchPositionLabel(int index) { batchPositionLabel_ = msgutil_.getTextMessage(BATCH_POSITION_ID) + index + ": "; }
1,106,891
protected void setThrowable(Throwable throwable) { throwable_ = throwable; // If the throwable is a SQL exception, use nextException rather // than chained exceptions if ( throwable instanceof SqlException ) { setNextException((SqlException) throwable); ...
protected void setThrowable(Throwable throwable) { throwable_ = throwable; // If the throwable is a SQL exception, use nextException rather // than chained exceptions if ( throwable instanceof SqlException ) { setNextException((SqlException) throwable); ...
1,106,892
public int getDecimalValuePrecision() { return getPrecision(getBigDecimal()); }
public int getDecimalValuePrecision() { if (isNull()) return 0; BigDecimal localValue = getBigDecimal(); return SQLDecimal.getWholeDigits(localValue) + getDecimalValueScale(); }
1,106,893
public int getDecimalValueScale() { BigDecimal localValue = getBigDecimal(); return (localValue == null) ? 0 : localValue.scale(); }
public int getDecimalValueScale() { BigDecimal localValue = getBigDecimal(); return (localValue == null) ? 0 : localValue.scale(); }
1,106,894
private int getWholeDigits() { return SQLDecimal.getWholeDigits(getBigDecimal()); }
private static int getWholeDigits(BigDecimal decimalValue) { return SQLDecimal.getWholeDigits(getBigDecimal()); }
1,106,895
private int getWholeDigits() { return SQLDecimal.getWholeDigits(getBigDecimal()); }
private int getWholeDigits() { decimalValue = decimalValue.abs(); if (ONE.compareTo(decimalValue) == 1) { return 0; } if (JVMInfo.JDK_ID >= JVMInfo.J2SE_15) { try { int precision = ((Integer) bdPrecision.invoke(decimalValue, null)).intValue(); return precision - decimalValue.scale(); } catch (IllegalAccessExce...
1,106,896
public DataValueDescriptor setWidth(int desiredPrecision, int desiredScale, boolean errorOnTrunc) throws StandardException { if (isNull()) return this; // the getWholeDigits() call will ensure via getBigDecimal() // that the rawData is translated into the BigDecimal in value. if (desiredPrecision != I...
public DataValueDescriptor setWidth(int desiredPrecision, int desiredScale, boolean errorOnTrunc) throws StandardException { if (isNull()) return this; // the getWholeDigits() call will ensure via getBigDecimal() // that the rawData is translated into the BigDecimal in value. if (desiredPrecision != I...
1,106,897
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);...
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);...
1,106,899
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);...
public static void main (String args[]) throws Exception { if ((System.getProperty("java.vm.name") != null) && System.getProperty("java.vm.name").equals("J9")) jvm = jvm.getJvm("j9_13"); else jvm = jvm.getJvm("currentjvm"); // ensure compatibility vCmd = jvm.getCommandLine(); try { ij.getPropertyArg(args);...
1,106,900
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlException(null, ...
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException,UnsupportedEncodingException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlE...
1,106,901
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlException(null, ...
public static final int dateToDateBytes(byte[] buffer, int offset, java.sql.Date date) throws SqlException { int year = date.getYear() + 1900; if (year > 9999) { throw new SqlException(null, ...
1,106,902