bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected Connection makeConnection(Properties p) throws SQLException { p.put(Attribute.USERNAME_ATTR, userId); // take care of case of SECMEC_USRIDONL if(password != null) p.put(Attribute.PASSWORD_ATTR, password); Connection conn = NetworkServerControlImpl.getDriv...
protected Connection makeConnection(Properties p) throws SQLException { p.put(Attribute.USERNAME_ATTR, userId); // take care of case of SECMEC_USRIDONL if(password != null) p.put(Attribute.PASSWORD_ATTR, password); Connection conn = NetworkServerControlImpl.getDriv...
1,104,182
protected void setConnection(Connection conn) throws SQLException { this.conn = conn; defaultStatement.setStatement(conn); }
protected void setConnection(Connection conn) throws SQLException { this.conn = conn; if(conn != null) defaultStatement.setStatement(conn); }
1,104,183
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tra...
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tra...
1,104,186
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tra...
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException { try { synchronized (connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.tra...
1,104,187
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); if (!met.supportsStoredFunctionsUsingCallSyntax()) { Sys...
private static void testDatabaseMetaDataMethods(Connection con) throws Exception { con.setAutoCommit(true); // make sure it is true Statement s = con.createStatement(); DatabaseMetaData met = con.getMetaData(); if (!met.supportsStoredFunctionsUsingCallSyntax()) { Sys...
1,104,189
public static Test suite() { TestSuite testSuite = new TestSuite("TestDbMetaData suite"); testSuite.addTestSuite(TestDbMetaData.class); return new CleanDatabaseTestSetup(testSuite) { protected void decorateSQL(Statement s) throws SQLException { createFunctions(...
public static Test suite() { TestSuite testSuite = new TestSuite("TestDbMetaData suite"); testSuite.addTestSuite(TestDbMetaData.class); return new CleanDatabaseTestSetup(testSuite) { protected void decorateSQL(Statement s) throws SQLException { createFunctions(...
1,104,191
private boolean readBoolean(int codepoint) throws DRDAProtocolException { checkLength(codepoint, 1); int val = reader.readByte(); if (val == CodePoint.TRUE) return true; else if (val == CodePoint.FALSE) return false; else invalidValue(codepoint); return false; //to shut the compiler up }
private boolean readBoolean(int codepoint) throws DRDAProtocolException { checkLength(codepoint, 1); byte val = reader.readByte(); if (val == CodePoint.TRUE) return true; else if (val == CodePoint.FALSE) return false; else invalidValue(codepoint); return false; //to shut the compiler up }
1,104,192
protected void bootPersistentServices() { for (Enumeration e = new ProviderEnumeration( applicationProperties); ; ) { PersistentService provider = (PersistentService) e.nextElement(); bootProviderServices(provider); } }
protected void bootPersistentServices() { Enumeration e = new ProviderEnumeration( applicationProperties); while (e.hasMoreElements()) { PersistentService provider = (PersistentService) e.nextElement(); bootProviderServices(provider); } }
1,104,193
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,194
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,195
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,196
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,197
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,198
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
public Object run() throws StandardException { switch( actionCode) { case GET_FILE_NAME_ACTION: return privGetFileName( actionIdentity, actionStub, actionErrorOK, actionTryAlternatePath); case CREATE_CONTAINER_ACTION: { StorageFile file = privGetF...
1,104,199
public String toString() { return "routinePerms: grantor=" + getGrantee() + ",grantor=" + getGrantor() + ",routineUUID=" + getRoutineUUID(); }
public String toString() { return "routinePerms: grantee=" + getGrantee() + ",routinePermsUUID=" + getUUID() + ",grantor=" + getGrantor() + ",routineUUID=" + getRoutineUUID(); }
1,104,200
public Cacheable createIdentity(Object key, Object createParameter) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(key instanceof PageKey); } initialize(); PageKey newIdentity = (PageKey) key; int[] createArgs = (int[]) createParameter; if (createArgs[0] == -1) { throw Stan...
public Cacheable createIdentity(Object key, Object createParameter) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(key instanceof PageKey); } initialize(); PageKey newIdentity = (PageKey) key; int[] createArgs = (int[]) createParameter; if (createArgs[0] == -1) { throw Stan...
1,104,201
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
1,104,202
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
1,104,203
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
1,104,204
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
private void readPage(FileContainer myContainer, PageKey newIdentity) throws StandardException { int pagesize = myContainer.getPageSize(); setPageArray(pagesize); for(int i=0;;){ try { myContainer.readPage(newIdentity.getPageNumber(), pageData); break; } catch (IOException ioe) { i++; // w...
1,104,205
public Cacheable setIdentity(Object key) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(key instanceof PageKey); } initialize(); PageKey newIdentity = (PageKey) key; FileContainer myContainer = (FileContainer) containerCache.find(newIdentity.getContainerId()); setContainerRowCou...
public Cacheable setIdentity(Object key) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(key instanceof PageKey); } initialize(); PageKey newIdentity = (PageKey) key; FileContainer myContainer = (FileContainer) containerCache.find(newIdentity.getContainerId()); setContainerRowCou...
1,104,207
private BulkTableScanResultSet getTableScanResultSet ( long conglomId ) throws StandardException { if (tableScan == null) { tableScan = new BulkTableScanResultSet( conglomId, tc.getStaticCompiledConglomInfo(conglomId), activation, new MyRowAllocator(fullTemplate), // result row allocator ...
private BulkTableScanResultSet getTableScanResultSet ( long conglomId ) throws StandardException { if (tableScan == null) { tableScan = new BulkTableScanResultSet( conglomId, tc.getStaticCompiledConglomInfo(conglomId), activation, new MyRowAllocator(fullTemplate), // result row allocator ...
1,104,208
protected LogicalPageOperation(BasePage page, LogicalUndo undo, int recordId) { super(page); this.undo = undo; this.recordId = recordId; }
protected LogicalPageOperation(BasePage page, LogicalUndo undo, int recordId) { super(page); this.undo = undo; this.recordId = recordId; }
1,104,209
public String getSchemaName() { if ((columnDescriptor!=null) && (columnDescriptor.getTableDescriptor() != null)) return columnDescriptor.getTableDescriptor().getSchemaName(); else { if (expression != null) // REMIND: could look in reference, if set. return expression.getSchemaName(); else return ...
public String getSchemaName() throws StandardException { if ((columnDescriptor!=null) && (columnDescriptor.getTableDescriptor() != null)) return columnDescriptor.getTableDescriptor().getSchemaName(); else { if (expression != null) // REMIND: could look in reference, if set. return expression.getSchema...
1,104,211
boolean updatableByCursor() { return updatableByCursor; }
public boolean updatableByCursor() { return updatableByCursor; }
1,104,212
private void addNewColumnToTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getT...
private void addNewColumnToTable(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getT...
1,104,213
private void modifyColumnConstraint(Activation activation, String colName, boolean nullability) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransaction...
private void modifyColumnConstraint(Activation activation, String colName, boolean nullability) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransaction...
1,104,214
private void modifyColumnDefault(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr...
private void modifyColumnDefault(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); DependencyManager dm = dd.getDependencyManager(); TransactionController tc = lcc.getTr...
1,104,215
private void modifyColumnType(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); ColumnDescriptor columnDescriptor...
private void modifyColumnType(Activation activation, int ix) throws StandardException { LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary(); TransactionController tc = lcc.getTransactionExecute(); ColumnDescriptor columnDescriptor...
1,104,216
static void dropTriggerDescriptor ( LanguageConnectionContext lcc, DependencyManager dm, DataDictionary dd, TransactionController tc, TriggerDescriptor triggerd, Activation activation ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(triggerd!=null, "trigger descriptor...
public static void dropTriggerDescriptor ( LanguageConnectionContext lcc, DependencyManager dm, DataDictionary dd, TransactionController tc, TriggerDescriptor triggerd, Activation activation ) throws StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(triggerd!=null, "trigger des...
1,104,217
public static Test suite() { TestSuite suite = new TestSuite(CallableStatementTest.class, "CallableStatementTest suite"); return new CallableStatementTestSetup(suite); }
public static Test suite() { TestSuite suite = new TestSuite(CallableStatementTest.class, "CallableStatementTest suite"); mainSuite.addTest(new CallableStatementTestSetup(suite)); mainSuite.addTest(SetObjectUnsupportedTest.suite(true)); return mainSuite; }
1,104,219
public static Test suite() { return (new TestSuite(ParameterMetaDataWrapperTest.class, "ParameterMetaDataWrapperTest suite")); }
public static Test suite() { return (new TestSuite(ParameterMetaDataWrapperTest.class, "ParameterMetaDataWrapperTest suite")); }
1,104,220
protected final void checkForClosedResultSet() throws SqlException { if (!openOnClient_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, new MessageId(SQLState.ALREADY_CLOSED), "ResultSet"); } else { agent...
protected final void checkForClosedResultSet() throws SqlException { if (!openOnClient_) { agent_.checkForDeferredExceptions(); throw new SqlException(agent_.logWriter_, new MessageId(SQLState.ALREADY_CLOSED), "ResultSet"); } else { agent...
1,104,221
public void testGetters() throws SQLException { for(int i=0; i<columns; i++) { System.out.println("\n\n=== Columntype "+colTypes[i]); String s = "select "+colNames[i]+" from "+table; ResultSet rs = X(s); rs.next(); // goto first int getno = 0; ...
public void testGetters() throws SQLException { for(int i=0; i<columns; i++) { System.out.println("\n\n=== Columntype "+colTypes[i]); String s = "select "+ colNames[i] + " as " + colNames[i] + "_1, " + colNames[i] + " as " + colNames[i] + "_2, " + colNames[i] + " as " + colNames[i] + "_...
1,104,222
public void testGetters() throws SQLException { for(int i=0; i<columns; i++) { System.out.println("\n\n=== Columntype "+colTypes[i]); String s = "select "+colNames[i]+" from "+table; ResultSet rs = X(s); rs.next(); // goto first int getno = 0; ...
public void testGetters() throws SQLException { for(int i=0; i<columns; i++) { System.out.println("\n\n=== Columntype "+colTypes[i]); String s = "select "+colNames[i]+" from "+table; ResultSet rs = X(s); rs.next(); // goto first int getno = 0; ...
1,104,223
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return suite; ...
public static Test suite() { // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return suite; suite.addTestSuite(ResultSetCloseTest.class);...
1,104,224
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return suite; ...
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return new TestSuite...
1,104,225
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return suite; ...
public static Test suite() { TestSuite suite = new TestSuite("ResultSetCloseTest"); // DB2 client doesn't implement result set closing // correctly wrt ensuring all its methods subsequently // throw an exception. if (usingDerbyNet()) return suite; ...
1,104,226
public static void main(String[] args) { Connection con; ResultSet rs; Statement stmt; String[] columnNames = {"i", "s", "r", "d", "dt", "t", "ts", "c", "v", "tn", "dc"}; System.out.println("Test resultsetJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial conne...
public static void main(String[] args) { Connection con; ResultSet rs; Statement stmt; String[] columnNames = {"i", "s", "r", "d", "dt", "t", "ts", "c", "v", "tn", "dc"}; System.out.println("Test resultsetJdbc30 starting"); try { // use the ij utility to read the property file and // make the initial conne...
1,104,227
public void init (String encStr, String locStr, String msgF){ if (encStr != null){ encode = encStr; } //then get encoding string from environment if (encode == null) { String eEncode = getEnvProperty(ENV_CODESET); if ( eEncode != null ){ encode = eEncode; } } //last chance: get default encoding if (e...
public void init (String encStr, String locStr, String msgF){ if (encStr != null){ encode = encStr; } //then get encoding string from environment if (encode == null) { String eEncode = getEnvProperty(ENV_CODESET); if ( eEncode != null ){ encode = eEncode; } } //last chance: get default encoding if (e...
1,104,228
protected PreparedStatement prepare(String sqlStmt) throws SQLException { // save current prepare iso level int saveIsolationLevel = -1; boolean isolationSet = false; if (pkgnamcsn !=null && isolationLevel != Connection.TRANSACTION_NONE) { saveIsolationLevel = database.getPrepareIsolation(); database.set...
protected PreparedStatement prepare(String sqlStmt) throws SQLException { // save current prepare iso level int saveIsolationLevel = -1; boolean isolationSet = false; if (pkgnamcsn !=null && isolationLevel != Connection.TRANSACTION_NONE) { saveIsolationLevel = database.getPrepareIsolation(); database.set...
1,104,229
private PreparedStatement prepareStatementJDBC3(String sqlStmt, int scrollType, int concurType, int withHoldCursor) throws SQLException { PreparedStatement lps = null; // If holdability is still uninitialized, default is HOLD_CURSORS_OVER_COMMIT int resultSetHoldability = (withHoldCursor == ...
private PreparedStatement prepareStatementJDBC3(String sqlStmt, int scrollType, int concurType, int withHoldCursor) throws SQLException { PreparedStatement lps = null; // If holdability is still uninitialized, default is HOLD_CURSORS_OVER_COMMIT int resultSetHoldability = (withHoldCursor == ...
1,104,230
private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.r...
private void exchangeServerAttributes() throws DRDAProtocolException { int codePoint; correlationID = reader.readDssHeader(); if (SanityManager.DEBUG) { if (correlationID == 0) { SanityManager.THROWASSERT( "Unexpected value for correlationId = " + correlationID); } } codePoint = reader.r...
1,104,231
private void parseCNTQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { // optional case CodePoint.OUTOVR: ...
private void parseCNTQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint( false ); switch(codePoint) { // optional case CodePoint.OUTOVR...
1,104,232
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f...
private boolean parseDRDAConnection() throws DRDAProtocolException { int codePoint; boolean sessionOK = true; int securityCheckCode = parseSECCHK(); if (SanityManager.DEBUG) trace("*** SECCHKRM securityCheckCode is: "+securityCheckCode); writeSECCHKRM(securityCheckCode); //at this point if the security check f...
1,104,233
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
private void parseEXCSQLSETobjects() throws DRDAProtocolException, SQLException { boolean gotSqlStt = false; boolean hadUnrecognizedStmt = false; String sqlStmt = null; int codePoint; DRDAStatement drdaStmt = database.getDefaultStatement(); drdaStmt.initialize(); do { correlationID = reader.readDssHeader();...
1,104,234
private boolean parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, gotEXTDTA = false; boolean result = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint...
private boolean parseEXCSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; boolean gotSQLDTA = false, gotEXTDTA = false; boolean result = false; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint...
1,104,235
private String parseEXECSQLIMMobjects() throws DRDAProtocolException, SQLException { String sqlStmt = null; int codePoint; DRDAStatement stmt = database.getDefaultStatement(); do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switc...
private String parseEXECSQLIMMobjects() throws DRDAProtocolException, SQLException { String sqlStmt = null; int codePoint; DRDAStatement stmt = database.getDefaultStatement(); do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint( false ); ...
1,104,236
private void parseOPNQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { // optional case CodePoint.TYPDEFNAM: ...
private void parseOPNQRYobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint( false ); switch(codePoint) { // optional case CodePoint.TYPD...
1,104,237
private String parsePRPSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { String sqlStmt = null; int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint(); switch(codePoint) { // required ...
private String parsePRPSQLSTTobjects(DRDAStatement stmt) throws DRDAProtocolException, SQLException { String sqlStmt = null; int codePoint; do { correlationID = reader.readDssHeader(); while (reader.moreDssData()) { codePoint = reader.readLengthAndCodePoint( false ); switch(codePoint) { // req...
1,104,238
private String parseSQLSTTDss() throws DRDAProtocolException { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); String strVal = parseEncodedString(); if (SanityManager.DEBUG) trace("SQL Statement = " + strVal); return strVal; }
private String parseSQLSTTDss() throws DRDAProtocolException { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint( false ); String strVal = parseEncodedString(); if (SanityManager.DEBUG) trace("SQL Statement = " + strVal); return strVal; }
1,104,239
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint(); ...
private void processCommands() throws DRDAProtocolException { DRDAStatement stmt = null; int updateCount = 0; boolean PRPSQLSTTfailed = false; boolean checkSecurityCodepoint = session.requiresSecurityCodepoint(); do { correlationID = reader.readDssHeader(); int codePoint = reader.readLengthAndCodePoint( fals...
1,104,240
private void readAndSetAllExtParams(final DRDAStatement stmt, final boolean streamLOB) throws SQLException, DRDAProtocolException { final int numExt = stmt.getExtPositionCount(); for (int i = 0; i < numExt; i++) { int paramPos = stmt.getExtPosition(i); final boolean doStreamLOB = (streamLOB && i == n...
private void readAndSetAllExtParams(final DRDAStatement stmt, final boolean streamLOB) throws SQLException, DRDAProtocolException { final int numExt = stmt.getExtPositionCount(); for (int i = 0; i < numExt; i++) { int paramPos = stmt.getExtPosition(i); final boolean doStreamLOB = (streamLOB && i == n...
1,104,241
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,242
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,243
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,244
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,245
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,246
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,247
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,248
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,249
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
private void readAndSetExtParam( int i, DRDAStatement stmt, int drdaType, int extLen, boolean streamLOB) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); drdaType = (drdaType & 0x000000ff); // need unsigned value boolean checkNullability = false; if ...
1,104,250
public void readCommit() throws SqlException { if (isXAConnection_) { if ((xaState_ == XA_LOCAL) ) { readLocalXACommit_(); } } else { readLocalCommit_(); } }
public void readCommit() throws SqlException { if (isXAConnection_) { if ((xaState_ == XA_T0_NOT_ASSOCIATED) ) { readLocalXACommit_(); } } else { readLocalCommit_(); } }
1,104,251
public void writeCommit() throws SqlException { if (isXAConnection_) { if ((xaState_ == XA_LOCAL) ) { writeLocalXACommit_(); } } else { writeLocalCommit_(); } }
public void writeCommit() throws SqlException { if (isXAConnection_) { if ((xaState_ == XA_T0_NOT_ASSOCIATED) ) { writeLocalXACommit_(); } } else { writeLocalCommit_(); } }
1,104,252
public QueryTreeNode bind() throws StandardException { CompilerContext compilerContext = getCompilerContext(); DataDictionary dd = getDataDictionary(); /* ** Grab the current schema. We will use that for ** sps compilation */ LanguageConnectionContext lcc = getLanguageConnectionContext(); compSchemaDescriptor...
public QueryTreeNode bind() throws StandardException { CompilerContext compilerContext = getCompilerContext(); DataDictionary dd = getDataDictionary(); /* ** Grab the current schema. We will use that for ** sps compilation */ LanguageConnectionContext lcc = getLanguageConnectionContext(); compSchemaDescriptor...
1,104,253
public DataTypeDescriptor getTypeServices() { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && source != null) { dtd = source.getTypeServices(); if( dtd != null) setType( dtd); } return dtd; } // end of getTypeServices
public DataTypeDescriptor getTypeServices() throws StandardException { DataTypeDescriptor dtd = super.getTypeServices(); if( dtd == null && source != null) { dtd = source.getTypeServices(); if( dtd != null) setType( dtd); } return dtd; } // end...
1,104,254
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws SQLException{ throw Util.notImplemented(); }
public boolean isWrapperFor(java.lang.Class<?> interfaces) throws SQLException{ throw Util.notImplemented(); }
1,104,255
public java.lang.Object unwrap(java.lang.Class<?> interfaces) throws SQLException{ throw Util.notImplemented(); }
public java.lang.Object unwrap(java.lang.Class<?> interfaces) throws SQLException{ throw Util.notImplemented(); }
1,104,256
public void blockingStart(PrintWriter consoleWriter) throws Exception { startNetworkServer(); setLogWriter(consoleWriter); cloudscapeLogWriter = Monitor.getStream().getPrintWriter(); if (SanityManager.DEBUG && debugOutput) { memCheck.showmem(); mc = new memCheck(200000); mc.start(); } // Open a ser...
public void blockingStart(PrintWriter consoleWriter) throws Exception { startNetworkServer(); setLogWriter(consoleWriter); cloudscapeLogWriter = Monitor.getStream().getPrintWriter(); if (SanityManager.DEBUG && debugOutput) { memCheck.showmem(); mc = new memCheck(200000); mc.start(); } // Open a ser...
1,104,257
public void blockingStart(PrintWriter consoleWriter) throws Exception { startNetworkServer(); setLogWriter(consoleWriter); cloudscapeLogWriter = Monitor.getStream().getPrintWriter(); if (SanityManager.DEBUG && debugOutput) { memCheck.showmem(); mc = new memCheck(200000); mc.start(); } // Open a ser...
public void blockingStart(PrintWriter consoleWriter) throws Exception { startNetworkServer(); setLogWriter(consoleWriter); cloudscapeLogWriter = Monitor.getStream().getPrintWriter(); if (SanityManager.DEBUG && debugOutput) { memCheck.showmem(); mc = new memCheck(200000); mc.start(); } // Open a ser...
1,104,258
public void completeLocalRollback() { for (java.util.Iterator i = CommitAndRollbackListeners_.iterator(); i.hasNext();) { UnitOfWorkListener listener = (UnitOfWorkListener) i.next(); listener.completeLocalRollback(i); } for (java.util.Iterator i = RollbackOnlyListeners_.it...
public void completeLocalRollback() { for (java.util.Iterator i = CommitAndRollbackListeners_.iterator(); i.hasNext();) { UnitOfWorkListener listener = (UnitOfWorkListener) i.next(); listener.completeLocalRollback(i); } for (java.util.Iterator i = RollbackOnlyListeners_.it...
1,104,260
public void markClosed() // called by LogicalConnection.close() { open_ = false; inUnitOfWork_ = false; markStatementsClosed(); CommitAndRollbackListeners_.clear(); RollbackOnlyListeners_.clear(); markClosed_(); }
public void markClosed() // called by LogicalConnection.close() { open_ = false; inUnitOfWork_ = false; markStatementsClosed(); CommitAndRollbackListeners_.clear(); markClosed_(); }
1,104,261
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(); } } catch (Except...
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(); } } catch (Except...
1,104,262
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(); } } catch (Except...
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(System.out); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(System.out); ...
1,104,263
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(); } } catch (Except...
protected void doTest() { try { createTestDatabase(); runCSLook(testDBName); } catch (SQLException se) { System.out.println("FAILED: to complete the test:"); se.printStackTrace(System.out); for (se = se.getNextException(); se != null; se = se.getNextException()) { se.printStackTrace(System.out); ...
1,104,264
protected void createTestDatabase() throws Exception { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); jdbcProtocol = "jdbc:derby:"; createDBFromDDL(testDBName, testDBCreationScript); // Figure out where our database directory is (abs path). dbPath = (new File(testDirectory)).getAbsolutePath...
protected void createTestDatabase(String scriptName) throws Exception { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); jdbcProtocol = "jdbc:derby:"; createDBFromDDL(testDBName, testDBCreationScript); // Figure out where our database directory is (abs path). dbPath = (new File(testDirectory)...
1,104,265
protected void createTestDatabase() throws Exception { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); jdbcProtocol = "jdbc:derby:"; createDBFromDDL(testDBName, testDBCreationScript); // Figure out where our database directory is (abs path). dbPath = (new File(testDirectory)).getAbsolutePath...
protected void createTestDatabase() throws Exception { Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance(); jdbcProtocol = "jdbc:derby:"; createDBFromDDL(testDBName, scriptName); // Figure out where our database directory is (abs path). dbPath = (new File(testDirectory)).getAbsolutePath(); retur...
1,104,266
protected void runTest(int whichTest, String dbName, String newDBName) { try { switch(whichTest) { case 2: lookTwo(dbName); break; case 3: lookThree(dbName); break; case 4: lookFour(dbName); break; case 5: lookFive(dbName); break; case 6: lookSix(dbName); break; case 7: lookSeven(dbName); b...
protected void runTest(int whichTest, String dbName, String newDBName) { try { switch(whichTest) { case 2: lookTwo(dbName); break; case 3: lookThree(dbName); break; case 4: lookFour(dbName); break; case 5: lookFive(dbName); break; case 6: lookSix(dbName); break; case 7: lookSeven(dbName); b...
1,104,267
public static void main (String[] args) { System.out.println("\n-= Start Test. =-"); separator = System.getProperty("file.separator"); new dblook_test().doTest(); System.out.println("\n[ Done. ]\n"); }
public static void main (String[] args) { separator = System.getProperty("file.separator"); new dblook_test().doTest(); System.out.println("\n[ Done. ]\n"); }
1,104,268
protected boolean privCopyDirectory(StorageFile from, File to) { return privCopyDirectory(from, to, (byte[])null, (String[])null); }
protected boolean privCopyDirectory(StorageFile from, File to) { return privCopyDirectory(from, to, (byte[])null, (String[])null, true); }
1,104,269
public final Object run() throws IOException { switch(actionCode) { case FILE_WRITER_ACTION: // SECURITY PERMISSION - MP1 return new OutputStreamWriter( actionStorageFile.getOutputStream( actionAppend)); case REGULAR_FILE_EXISTS_ACTION: return ReuseFac...
public final Object run() throws IOException { switch(actionCode) { case FILE_WRITER_ACTION: // SECURITY PERMISSION - MP1 return new OutputStreamWriter( actionStorageFile.getOutputStream( actionAppend)); case REGULAR_FILE_EXISTS_ACTION: return ReuseFac...
1,104,270
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
1,104,272
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
1,104,273
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
public static void main (String args[]) { try { System.out.println("csPrepStmt Test Starts"); // Initialize JavaCommonClient Driver. // Initialize JavaCommonClient Driver. ij.getPropertyArg(args); conn = ij.startJBMS(); if (conn == null) { System.out.println("conn didn't work"); return; } St...
1,104,274
public void updateNCharacterStream(int columnIndex, Reader x, int length) throws SQLException { throw SQLExceptionFactory.notImplemented( "updateNCharacterStream(int,Reader,int)"); }
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException { throw SQLExceptionFactory.notImplemented( "updateNCharacterStream(int,Reader,int)"); }
1,104,278
public void updateNCharacterStream(int columnIndex, Reader x, int length) throws SQLException { throw SQLExceptionFactory.notImplemented( "updateNCharacterStream(int,Reader,int)"); }
public void updateNCharacterStream(int columnIndex, Reader x, int length) throws SQLException { throw SQLExceptionFactory.notImplemented( "updateNCharacterStream(int,Reader,long)"); }
1,104,279
public MenuTag(int style) { super(Menu.class, style); }
public MenuTag(int style) { super(Menu.class, style); }
1,104,280
public QueryTreeNode bind() throws StandardException { privileges = (PrivilegeNode) privileges.bind( new HashMap(), grantees); return this; } // end of bind
public QueryTreeNode bind() throws StandardException { privileges = (PrivilegeNode) privileges.bind( new HashMap(), grantees, true); return this; } // end of bind
1,104,282
public QueryTreeNode bind( HashMap dependencies, List grantees ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; sd = g...
public QueryTreeNode bind( HashMap dependencies, List grantees, boolean isGrant ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; ...
1,104,283
public QueryTreeNode bind( HashMap dependencies, List grantees ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; sd = g...
public QueryTreeNode bind( HashMap dependencies, List grantees ) throws StandardException { Provider dependencyProvider = null; SchemaDescriptor sd = null; switch( objectType) { case TABLE_PRIVILEGES: TableName tableName = (TableName) objectOfPrivilege; sd = g...
1,104,284
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { /* Get the next ResultSet#, so we can number this ResultSetNode, its * ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the cost estimate from the child if we don't have one yet if (cost...
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { /* Get the next ResultSet#, so we can number this ResultSetNode, its * ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the cost estimate from the child if we don't have one yet if (cost...
1,104,287
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperandList.bindExpression(fromList, subqueryList, aggregateVector); /* Is there a ? paramete...
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperandList.bindExpression(fromList, subqueryList, aggregateVector); /* Is there a ? paramete...
1,104,288
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperandList.bindExpression(fromList, subqueryList, aggregateVector); /* Is there a ? paramete...
public ValueNode bindExpression( FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException { leftOperand = leftOperand.bindExpression(fromList, subqueryList, aggregateVector); rightOperandList.bindExpression(fromList, subqueryList, aggregateVector); /* Is there a ? paramete...
1,104,289
public CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability); }
public CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability) throws SqlException { super(agent, connection, sql, type, concurrency, holdability); }
1,104,291
public static String lookupMessage(String key, String[] vals) { String msg = ""; if (vals == null) msg = langUtil.getTextMessage(key); else { switch (vals.length) { case 1: msg = langUtil.getTextMessage( key, vals[0]); break; case 2: msg = langUtil.getTextMessage( key, vals[0], vals[1]);...
public static String lookupMessage(String key, String[] vals) { String msg = ""; if (vals == null) msg = langUtil.getTextMessage(key); else { switch (vals.length) { case 1: msg = langUtil.getTextMessage( key, vals[0]); break; case 2: msg = langUtil.getTextMessage( key, vals[0], vals[1]);...
1,104,292
public static String lookupMessage(String key, String[] vals) { String msg = ""; if (vals == null) msg = langUtil.getTextMessage(key); else { switch (vals.length) { case 1: msg = langUtil.getTextMessage( key, vals[0]); break; case 2: msg = langUtil.getTextMessage( key, vals[0], vals[1]);...
public static String lookupMessage(String key, String[] vals) { String msg = ""; if (vals == null) msg = langUtil.getTextMessage(key); else { switch (vals.length) { case 1: msg = langUtil.getTextMessage( key, vals[0]); break; case 2: msg = langUtil.getTextMessage( key, vals[0], vals[1]);...
1,104,293
private static void test2(Connection conn) { PreparedStatement ps; try { System.out.println("Prepared Statement test begin"); ps = conn.prepareStatement("create table tab2(a int, b float, c date, d varchar(100))"); ps.execute(); ps.close(); //we test execute() and executeQuery() here ps = co...
private static void test2(Connection conn) { PreparedStatement ps; try { System.out.println("Prepared Statement test begin"); ps = conn.prepareStatement("create table tab2(a int, b float, c date, d varchar(100))"); ps.execute(); ps.close(); //we test execute() and executeQuery() here ps = co...
1,104,294
private static void test2(Connection conn) { PreparedStatement ps; try { System.out.println("Prepared Statement test begin"); ps = conn.prepareStatement("create table tab2(a int, b float, c date, d varchar(100))"); ps.execute(); ps.close(); //we test execute() and executeQuery() here ps = co...
private static void test2(Connection conn) { PreparedStatement ps; try { System.out.println("Prepared Statement test begin"); ps = conn.prepareStatement("create table tab2(a int, b float, c date, d varchar(100))"); ps.execute(); ps.close(); //we test execute() and executeQuery() here ps = co...
1,104,295
private static void test3(Connection conn) { CallableStatement cs; try { System.out.println("Callable Statement test begin"); try { Statement s = conn.createStatement(); s.execute("CREATE PROCEDURE takesString(OUT P1 VARCHAR(40), IN P2 INT) " + "EXTERNAL NAME 'org.apache.derbyTesting.functio...
private static void test3(Connection conn) { CallableStatement cs; try { System.out.println("Callable Statement test begin"); try { Statement s = conn.createStatement(); s.execute("CREATE PROCEDURE takesString(OUT P1 VARCHAR(40), IN P2 INT) " + "EXTERNAL NAME '" + CLASS_NAME + "takesString'"...
1,104,296
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary...
public void executeGrantRevoke( Activation activation, boolean grant, List grantees) throws StandardException { // Check that the current user has permission to grant the privileges. LanguageConnectionContext lcc = activation.getLanguageConnectionContext(); DataDictionary dd = lcc.getDataDictionary...
1,104,297