bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
private void runMetadataTest(URLClassLoader classLoader, Connection conn) throws Exception{ Statement stmt = conn.createStatement(); Class metadataClass = Class.forName("org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata", true, classLoader); Object metadataObject = metadataCl... | private void runMetadataTest(URLClassLoader classLoader, Connection conn) throws Exception{ Statement stmt = conn.createStatement(); Class metadataClass = Class.forName("org.apache.derbyTesting.functionTests.tests.jdbcapi.metadata", true, classLoader); Object metadataObject = metadataCl... | 1,107,608 |
private void runPhase(int version, int phase) throws Exception{ System.out.println("\n\nSTART - phase " + PHASES[phase]); URLClassLoader classLoader = null; switch(version) { case OLD_RELEASE: classLoader = oldClassLoader; break; case NEW_RELEASE: classLoader = newClassLoader; break; ... | private void runPhase(int version, int phase) throws Exception{ System.out.println("\n\nSTART - phase " + PHASES[phase]); URLClassLoader classLoader = null; switch(version) { case OLD_RELEASE: classLoader = oldClassLoader; break; case NEW_RELEASE: classLoader = newClassLoader; break; ... | 1,107,609 |
private void createLogicalConnection() throws SqlException { if (physicalConnection_ == null) { throw new SqlException(logWriter_, new ClientMessageId(SQLState.NOGETCONN_ON_CLOSED_POOLED_CONNECTION)); } // Not the usual case, but if we have an existing logical connecti... | private void createLogicalConnection() throws SqlException { if (physicalConnection_ == null) { throw new SqlException(logWriter_, new ClientMessageId(SQLState.NOGETCONN_ON_CLOSED_POOLED_CONNECTION)); } // Not the usual case, but if we have an existing logical connecti... | 1,107,611 |
protected synchronized Connection makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); Connection... | protected synchronized Connection makeConnection(Properties p) throws SQLException { if (xaDataSource == null) { xaDataSource = new EmbeddedXADataSource(); } xaDataSource.setDatabaseName(shortDbName); appendAttrString(p); if (attrString != null) xaDataSource.setConnectionAttributes(attrString); Connection... | 1,107,612 |
public QueryTreeNode bind() throws StandardException { // We just need select privilege on the expressions getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderOptimization(), ... | public QueryTreeNode bind() throws StandardException { // We just need select privilege on the expressions getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderOptimization(), ... | 1,107,613 |
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,107,616 |
public DataValueDescriptor getClone() { return new XML(xmlStringValue); } | public DataValueDescriptor getClone() { return new XML(xmlStringValue, getXType()); } | 1,107,618 |
protected void setFrom(DataValueDescriptor theValue) throws StandardException { if (xmlStringValue == null) xmlStringValue = new SQLChar(); xmlStringValue.setValue(theValue.getString()); } | protected void setFrom(DataValueDescriptor theValue) throws StandardException { if (xmlStringValue == null) xmlStringValue = new SQLChar(); xmlStringValue.setValue(strVal); if (theValue instanceof XMLDataValue) setXType(((XMLDataValue)theValue).getXType()); } | 1,107,621 |
public static void main(String[] argv) throws Throwable { try { ij.getPropertyArg(argv); Connection conn = ij.startJBMS(); conn.setAutoCommit(true); // After recovery table should contain two records with // values 0 and 1 Sta... | public static void main(String[] argv) throws Throwable { try { ij.getPropertyArg(argv); Connection conn = ij.startJBMS(); conn.setAutoCommit(true); // After recovery table should contain two records with // values 0 and 1 Sta... | 1,107,623 |
public UpdatableVTITemplate() {} | protected UpdatableVTITemplate() {} | 1,107,624 |
public dataSourcePermissions_net( SwitchablePrintStream consoleLogStream, PrintStream originalStream, FileOutputStream shutdownLogStream, SwitchablePrintStream consoleErrLogStream, PrintStream originalErrStream, FileOutputStream shutdownErrLogStream ) { consoleLogStream_ = conso... | public dataSourcePermissions_net( SwitchablePrintStream consoleLogStream, PrintStream originalStream, FileOutputStream shutdownLogStream, SwitchablePrintStream consoleErrLogStream, PrintStream originalErrStream, FileOutputStream shutdownErrLogStream ) { consoleLogStream_ = conso... | 1,107,625 |
public dataSourcePermissions_net( SwitchablePrintStream consoleLogStream, PrintStream originalStream, FileOutputStream shutdownLogStream, SwitchablePrintStream consoleErrLogStream, PrintStream originalErrStream, FileOutputStream shutdownErrLogStream ) { consoleLogStream_ = conso... | public dataSourcePermissions_net( SwitchablePrintStream consoleLogStream, PrintStream originalStream, FileOutputStream shutdownLogStream, SwitchablePrintStream consoleErrLogStream, PrintStream originalErrStream, FileOutputStream shutdownErrLogStream ) { consoleLogStream_ = conso... | 1,107,626 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,627 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,628 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,629 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,630 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,631 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,632 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,633 |
public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | public static void main(String[] args) throws Exception { hostName = TestUtil.getHostName(); if (hostName.equals("localhost")) NETWORKSERVER_PORT = 20000; else NETWORKSERVER_PORT = 1527; // Load harness properties. ij.getPropertyArg(args); // "runTest()" is going to try to connect to the database through ... | 1,107,634 |
public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | public void shutdown() { try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", "EDW... | 1,107,635 |
public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | 1,107,636 |
public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | 1,107,637 |
public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | public void shutdown() { try{ try { consoleLogStream_.switchOutput( shutdownLogStream_ ); consoleErrLogStream_.switchOutput( shutdownErrLogStream_ ); DriverManager.getConnection(TestUtil.getJdbcUrlPrefix(hostName, NETWORKSERVER_PORT) + "wombat;shutdown=true", ... | 1,107,638 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,639 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,640 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,641 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,642 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,643 |
public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | public static void main (String args[]) throws Exception { host = TestUtil.getHostName(); timesliceCmd2[4] = host; 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 ... | 1,107,644 |
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,107,646 |
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,107,648 |
private void sendSQLMessage(DDMWriter writer, SQLException se, int type) throws Exception { StringBuffer locMsg = new StringBuffer(); //localize message if necessary while (se != null) { if (currentSession != null && currentSession.langUtil != null) { locMsg.append(se.getSQLState()+":"+ MessageService... | private void sendSQLMessage(DDMWriter writer, SQLException se, int type) throws Exception { StringBuffer locMsg = new StringBuffer(); //localize message if necessary while (se != null) { if (currentSession != null && currentSession.langUtil != null && se instanceof EmbedSQLException) { locMsg.append(se.get... | 1,107,650 |
private void shutdownDatabase(DDMWriter writer, String database, String user, String password) throws Exception { StringBuffer url = new StringBuffer(Attribute.PROTOCOL + database); if (user != null) url.append(";user="+user); if (password != null) url.append(";password="+password); url.append(";shutdown=tru... | private void shutdownDatabase(DDMWriter writer, String database, String user, String password) throws Exception { StringBuffer url = new StringBuffer(Attribute.PROTOCOL + database); if (user != null) url.append(";user="+user); if (password != null) url.append(";password="+password); url.append(";shutdown=tru... | 1,107,651 |
public final void setConnectionAttributes(String prop) { connectionAttributes = prop; } | public final void setConnectionAttributes(String prop) throws SQLException { connectionAttributes = prop; } | 1,107,653 |
void updateDataSourceValues(Properties prop) { if (prop == null) { return; } if (prop.containsKey(Attribute.USERNAME_ATTR)) { setUser(getUser(prop)); } if (prop.containsKey(Attribute.CLIENT_SECURITY_MECHANISM)) { setSecurityMechanism(getSec... | void updateDataSourceValues(Properties prop) throws SqlException { if (prop == null) { return; } if (prop.containsKey(Attribute.USERNAME_ATTR)) { setUser(getUser(prop)); } if (prop.containsKey(Attribute.CLIENT_SECURITY_MECHANISM)) { setSecu... | 1,107,655 |
public Object getObject(int columnIndex, java.util.Map map) throws SQLException { throw Util.notImplemented(); } | public Object getObject(int columnIndex, java.util.Map map) throws SQLException { if( map == null) throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER,map,"map", "java.sql.ResultSet.getObject"); if(!(map.isEmpty())) throw Util.notImplemented(); return getObject(columnIndex); } | 1,107,657 |
ResultSet executeQueryX() throws SqlException { flowExecute(executeQueryMethod__); super.checkExecuteQueryPostConditions("java.sql.PreparedStatement"); return resultSet_; } | ResultSet executeQueryX() throws SqlException { flowExecute(executeQueryMethod__); return resultSet_; } | 1,107,658 |
private int executeUpdateX() throws SqlException { flowExecute(executeUpdateMethod__); checkExecuteUpdatePostConditions("java.sql.PreparedStatement"); return updateCount_; } | private int executeUpdateX() throws SqlException { flowExecute(executeUpdateMethod__); return updateCount_; } | 1,107,659 |
private boolean executeX() throws SqlException { flowExecute(executeMethod__); return resultSet_ != null; } | boolean executeX() throws SqlException { flowExecute(executeMethod__); return resultSet_ != null; } | 1,107,660 |
protected void setJNDIProviderProperties() { // check if we're told to use a different initial context factory if (initDirContextEnv.getProperty( Context.INITIAL_CONTEXT_FACTORY) == (String) null) { initDirContextEnv.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); } // ... | protected void setJNDIProviderProperties() { // check if we're told to use a different initial context factory if (initDirContextEnv.getProperty( Context.INITIAL_CONTEXT_FACTORY) == (String) null) { initDirContextEnv.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); } // ... | 1,107,663 |
public Array createArray(String typeName, Object[] elements) throws SQLException { throw SQLExceptionFactory.notImplemented("createArray(String,Object[])"); } | public Array createArray(String typeName, Object[] elements) throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createArray( typeName, elements ); } | 1,107,664 |
public Blob createBlob() throws SQLException { throw SQLExceptionFactory.notImplemented("createBlob()"); } | public Blob createBlob() throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createBlob(); } | 1,107,665 |
public Clob createClob() throws SQLException { throw SQLExceptionFactory.notImplemented("createClob()"); } | public Clob createClob() throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createClob(); } | 1,107,666 |
public NClob createNClob() throws SQLException { throw SQLExceptionFactory.notImplemented("createNClob()"); } | public NClob createNClob() throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createNClob(); } | 1,107,667 |
public <T extends BaseQuery>T createQueryObject(Class<T> ifc) throws SQLException { throw SQLExceptionFactory.notImplemented("createQueryObject(Class<T>)"); } | public <T extends BaseQuery>T createQueryObject(Class<T> ifc) throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createQueryObject( ifc ); } | 1,107,668 |
public SQLXML createSQLXML() throws SQLException { throw SQLExceptionFactory.notImplemented("createSQLXML()"); } | public SQLXML createSQLXML() throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createSQLXML(); } | 1,107,669 |
public Struct createStruct(String typeName, Object[] attributes) throws SQLException { throw SQLExceptionFactory.notImplemented("createStruct(String,Object[])"); } | public Struct createStruct(String typeName, Object[] attributes) throws SQLException { checkForNullPhysicalConnection(); return physicalConnection_.createStruct( typeName, attributes ); } | 1,107,670 |
public static int runScript( Connection conn, InputStream sqlIn, String inputEncoding, PrintStream sqlOut, String outputEncoding) throws UnsupportedEncodingException { LocalizedOutput lo = outputEncoding == null ? LocalizedResource.getInstance(). getNewOutput(sqlOut) ... | public static int runScript( Connection conn, InputStream sqlIn, String inputEncoding, PrintStream sqlOut, String outputEncoding) throws UnsupportedEncodingException { LocalizedOutput lo = outputEncoding == null ? LocalizedResource.getInstance(). getNewOutput(sqlOut) ... | 1,107,671 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { ValueNode restriction = null; /* ** Get the next ResultSet #, so that we can number this ResultSetNode, ** its ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the CostEstimate info for ... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { ValueNode restriction = null; /* ** Get the next ResultSet #, so that we can number this ResultSetNode, ** its ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the CostEstimate info for ... | 1,107,672 |
public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { ValueNode restriction = null; /* ** Get the next ResultSet #, so that we can number this ResultSetNode, ** its ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the CostEstimate info for ... | public void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException { ValueNode restriction = null; /* ** Get the next ResultSet #, so that we can number this ResultSetNode, ** its ResultColumnList and ResultSet. */ assignResultSetNumber(); // Get the CostEstimate info for ... | 1,107,673 |
public RoutinePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID routineUUID, boolean hasExecutePermission) throws StandardException { super (dd, grantee,... | public RoutinePermsDescriptor( DataDictionary dd, String grantee, String grantor, UUID routineUUID, boolean hasExecutePermission) throws StandardException { super (dd, grantee,... | 1,107,674 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { invokeBody(output); if (name == null) { throw new MissingAttributeException("name"); } if (className == null) { throw new MissingAttributeException("className"); } Class theClass = null; try { ... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { invokeBody(output); if (name == null) { throw new MissingAttributeException("name"); } if (className == null) { throw new MissingAttributeException("className"); } Class theClass = null; try { ... | 1,107,675 |
protected int findColumnName(String columnName) throws SQLException { // n.b. if we went through the JDBC interface, // there is a caching implementation in the JDBC doc // (appendix C). But we go through our own info, for now. // REVISIT: we might want to cache our own info... if (columnName == null) ... | protected int findColumnName(String columnName) throws SQLException { // n.b. if we went through the JDBC interface, // there is a caching implementation in the JDBC doc // (appendix C). But we go through our own info, for now. // REVISIT: we might want to cache our own info... if (columnName == null) ... | 1,107,677 |
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,107,678 |
public byte[] getBytes(long pos, int length) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBytes", (int) pos, length); } if ((pos <= 0) || (length < 0)) { throw new... | public byte[] getBytes(long pos, int length) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "getBytes", (int) pos, length); } if ((pos <= 0) || (length < 0)) { throw new... | 1,107,679 |
public long position(byte[] pattern, long start) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(byte[], long)", pattern, start); } if (pattern == null) { throw... | public long position(byte[] pattern, long start) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, "position(byte[], long)", pattern, start); } if (pattern == null) { throw... | 1,107,680 |
public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; if ((int) pos <= 0 || pos > binaryString_.length - dataOffset_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or len... | public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; if ((int) pos <= 0 || pos > binaryString_.length - dataOffset_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or len... | 1,107,681 |
public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; if ((int) pos <= 0 || pos > binaryString_.length - dataOffset_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or len... | public int setBytesX(long pos, byte[] bytes, int offset, int len) throws SqlException { int length = 0; if ((int) pos <= 0 || pos > binaryString_.length - dataOffset_) { throw new SqlException(agent_.logWriter_, "Invalid position " + pos + " , offset " + offset + " or len... | 1,107,682 |
public void truncate(long len) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, " truncate", (int) len); } if (len < 0 || len > this.length()) { throw new SqlException(age... | public void truncate(long len) throws SqlException { synchronized (agent_.connection_) { if (agent_.loggingEnabled()) { agent_.logWriter_.traceEntry(this, " truncate", (int) len); } if (len < 0 || len > this.length()) { throw new SqlException(age... | 1,107,683 |
protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); } long pageOffset = pageNumber * pageSize; synchronized (this) { fileData.seek(pageOffset); fileData.readFully(pageData, 0, pageSize);... | protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); } long pageOffset = pageNumber * pageSize; if (hasJava5FairLocks) { try { lock.invoke(fairLock, null); } catch (Exception e) { if (SanityM... | 1,107,685 |
protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); } long pageOffset = pageNumber * pageSize; synchronized (this) { fileData.seek(pageOffset); fileData.readFully(pageData, 0, pageSize);... | protected void readPage(long pageNumber, byte[] pageData) throws IOException, StandardException { if (SanityManager.DEBUG) { SanityManager.ASSERT(!getCommittedDropState()); } long pageOffset = pageNumber * pageSize; synchronized (this) { fileData.seek(pageOffset); fileData.readFully(pageData, 0, pageSize);... | 1,107,686 |
void t_getHoldability() { try { // test default holdability Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("values(1)"); assert_(rs.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT, "default holdability is HOLD_CU... | void t_getHoldability() { try { // test default holdability Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("values(1)"); assert_(rs.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT, "default holdability is HOLD_CU... | 1,107,687 |
void t_getHoldability() { try { // test default holdability Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("values(1)"); assert_(rs.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT, "default holdability is HOLD_CU... | void t_getHoldability() { try { // test default holdability Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("values(1)"); assert_(rs.getHoldability() == ResultSet.HOLD_CURSORS_OVER_COMMIT, "default holdability is HOLD_CU... | 1,107,688 |
public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSTABLEPERMS_TABLEPERMSID - 1] = new SystemColumnImpl( convertIdCase( "TABLEPERMSID"), SYSTABLEPERMS_TABLEP... | public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ TABLEPERMSID_COL_NUM - 1] = new SystemColumnImpl( convertIdCase( "TABLEPERMSID"), SYSTABLEPERMS_TABLEPERMSID... | 1,107,689 |
public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSTABLEPERMS_TABLEPERMSID - 1] = new SystemColumnImpl( convertIdCase( "TABLEPERMSID"), SYSTABLEPERMS_TABLEP... | public SystemColumn[] buildColumnList() { if (columnList == null) { columnList = new SystemColumn[ COLUMN_COUNT]; columnList[ SYSTABLEPERMS_TABLEPERMSID - 1] = new SystemColumnImpl( convertIdCase( "TABLEPERMSID"), TABLEPERMSID_COL_NUM... | 1,107,690 |
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary) throws StandardException { if( SanityManager.DEBUG) SanityManager.ASSERT( row.nColumns() == COLUMN_COUNT, ... | public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary) throws StandardException { if( SanityManager.DEBUG) SanityManager.ASSERT( row.nColumns() == COLUMN_COUNT, ... | 1,107,691 |
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { UUID oid; DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String tablePermID = null; String tableID = null; String selectPriv = null; String deletePriv =... | public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException { UUID oid; DataValueDescriptor grantee = null; DataValueDescriptor grantor = null; String tablePermID = null; String tableID = null; String selectPriv = null; String deletePriv =... | 1,107,694 |
protected final void runWithState(Properties properties, PrintStream log) { bootProperties = properties; logging = log; // false indicates the full monitor is required, not the lite. if (!initialize(false)) return; // if monitor is already set then the system is already // booted or in the process of booting o... | protected final void runWithState(Properties properties, PrintStream log) { bootProperties = properties; logging = log; // false indicates the full monitor is required, not the lite. if (!initialize(false)) return; // if monitor is already set then the system is already // booted or in the process of booting o... | 1,107,695 |
protected Connection newConnection_() throws SQLException { DataSource ds = getDataSource(); return ds.getConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); } | protected Connection newConnection_() throws SQLException { DataSource ds = TestDataSourceFactory.getDataSource(); return ds.getConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); } | 1,107,696 |
protected Connection newConnection_() throws SQLException { ConnectionPoolDataSource ds = getConnectionPoolDataSource(); PooledConnection pc = ds.getPooledConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); return pc.g... | protected Connection newConnection_() throws SQLException { ConnectionPoolDataSource ds = TestDataSourceFactory.getConnectionPoolDataSource(); PooledConnection pc = ds.getPooledConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); ... | 1,107,697 |
protected Connection newConnection_() throws SQLException { XADataSource ds = getXADataSource(); XAConnection xac = ds.getXAConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); return xac.getConnection(); } | protected Connection newConnection_() throws SQLException { XADataSource ds = TestDataSourceFactory.getXADataSource(); XAConnection xac = ds.getXAConnection(CONFIG.getUserName(), CONFIG.getUserPassword()); return xac.getConnection... | 1,107,698 |
public void setClientInfo(String name, String value) throws SQLException{ checkIfClosed(); // Allow null to simplify compliance testing through // reflection, (test all methods in an interface with null // arguments) if (name == null && value == null) { return; ... | public void setClientInfo(String name, String value) throws SQLException{ checkIfClosed(); // Allow null to simplify compliance testing through // reflection, (test all methods in an interface with null // arguments) if (name == null && value == null) { return; ... | 1,107,699 |
public void setClientInfo(String name, String value) throws SQLException{ checkIfClosed(); // Allow null to simplify compliance testing through // reflection, (test all methods in an interface with null // arguments) if (name == null && value == null) { return; ... | public void setClientInfo(String name, String value) throws SQLException{ checkIfClosed(); // Allow null to simplify compliance testing through // reflection, (test all methods in an interface with null // arguments) if (name == null && value == null) { return; ... | 1,107,700 |
Connection bootDatabase(String password) throws SQLException { return TestUtil.getConnection(TEST_DATABASE_NAME, "bootPassword=" + password); } | Connection bootDatabase(int passwordKey) throws SQLException { String connAttrs = ""; if (encryptionType == USING_PASSWORD) { if (passwordKey == NEW) connAttrs = "bootPassword=" + NEW_PASSWORD; else if (passwordKey == OLD) connAttrs = "bootPassword=" + OLD_PASSWORD; } return TestUtil.getConnection(T... | 1,107,701 |
Connection bootDatabase(String password) throws SQLException { return TestUtil.getConnection(TEST_DATABASE_NAME, "bootPassword=" + password); } | Connection bootDatabase(String password) throws SQLException { return TestUtil.getConnection(TEST_DATABASE_NAME, "bootPassword=" + password); } | 1,107,702 |
private void createEncryptedDatabase() throws SQLException { TestUtil.getConnection(TEST_DATABASE_NAME, "create=true;dataEncryption=true;bootPassword=" + OLD_PASSWORD); } | private Connection createEncryptedDatabase() throws SQLException { TestUtil.getConnection(TEST_DATABASE_NAME, "create=true;dataEncryption=true;bootPassword=" + OLD_PASSWORD); } | 1,107,703 |
private void createEncryptedDatabase() throws SQLException { TestUtil.getConnection(TEST_DATABASE_NAME, "create=true;dataEncryption=true;bootPassword=" + OLD_PASSWORD); } | private void createEncryptedDatabase() throws SQLException { TestUtil.getConnection(TEST_DATABASE_NAME, "create=true;dataEncryption=true;bootPassword=" + OLD_PASSWORD); } | 1,107,704 |
private void encryptDatabase(String password) throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; TestUtil.getConnection(TEST_DATABASE_NAME, connAttrs); } | private Connection encryptDatabase() throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; TestUtil.getConnection(TEST_DATABASE_NAME, connAttrs); } | 1,107,705 |
private void encryptDatabase(String password) throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; TestUtil.getConnection(TEST_DATABASE_NAME, connAttrs); } | private void encryptDatabase(String password) throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; TestUtil.getConnection(TEST_DATABASE_NAME, connAttrs); } | 1,107,706 |
private void encryptDatabase(String password) throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; TestUtil.getConnection(TEST_DATABASE_NAME, connAttrs); } | private void encryptDatabase(String password) throws SQLException { //encrypt an existing database. String connAttrs = "dataEncryption=true;bootPassword=" + password ; if (verbose) logMessage("encrypting " + currentTestDatabase + " with " + connAttrs); return TestUtil.getC... | 1,107,707 |
private int findMax(Connection conn, String tableName) throws SQLException { Statement s = conn.createStatement(); ResultSet rs = s.executeQuery("SELECT max(ID) from " + tableName); rs.next(); return rs.getInt(1); } | private int findMax(Connection conn, String tableName) throws SQLException { Statement s = conn.createStatement(); ResultSet rs = s.executeQuery("SELECT max(ID) from " + tableName); rs.next(); int max = rs.getInt(1); rs.close(); s.close(); return ... | 1,107,708 |
void insert(Connection conn, String tableName, int rowCount) throws SQLException { PreparedStatement ps = conn.prepareStatement("INSERT INTO " + tableName + " VALUES(?... | void insert(Connection conn, String tableName, int rowCount) throws SQLException { PreparedStatement ps = conn.prepareStatement("INSERT INTO " + tableName + " VALUES(?... | 1,107,709 |
private void reEncryptDatabase(String currentPassword, String newPassword) throws SQLException { // re-encrypt the database. String connAttrs = "bootPassword=" + currentPassword + ";newBootPassword=" + newPassword; TestUtil.getConnec... | private void reEncryptDatabase(String currentPassword, String newPassword) throws SQLException { // re-encrypt the database. String connAttrs = "bootPassword=" + currentPassword + ";newBootPassword=" + newPassword; TestUtil.getConnec... | 1,107,710 |
private void reEncryptDatabase(String currentPassword, String newPassword) throws SQLException { // re-encrypt the database. String connAttrs = "bootPassword=" + currentPassword + ";newBootPassword=" + newPassword; TestUtil.getConnec... | private void reEncryptDatabase(String currentPassword, String newPassword) throws SQLException { // re-encrypt the database. String connAttrs = "bootPassword=" + currentPassword + ";newBootPassword=" + newPassword; TestUtil.getConnec... | 1,107,711 |
private void runTest() throws Exception { logMessage("Begin ReEncryptCrashRecovery Test"); createEncryptedDatabase(); Connection conn = TestUtil.getConnection(TEST_DATABASE_NAME, null); createTable(conn, TEST_TABLE_NAME); //load some rows ... | private void runTest() throws Exception { logMessage("Begin ReEncryptCrashRecovery Test"); createEncryptedDatabase(); Connection conn = TestUtil.getConnection(TEST_DATABASE_NAME, null); createTable(conn, TEST_TABLE_NAME); //load some rows ... | 1,107,712 |
private void runTest() throws Exception { logMessage("Begin ReEncryptCrashRecovery Test"); createEncryptedDatabase(); Connection conn = TestUtil.getConnection(TEST_DATABASE_NAME, null); createTable(conn, TEST_TABLE_NAME); //load some rows ... | private void runTest() throws Exception { logMessage("Begin ReEncryptCrashRecovery Test"); createEncryptedDatabase(); Connection conn = TestUtil.getConnection(TEST_DATABASE_NAME, null); createTable(conn, TEST_TABLE_NAME); //load some rows ... | 1,107,713 |
void shutdown(String dbName) { try{ //shutdown TestUtil.getConnection(dbName, "shutdown=true"); }catch(SQLException se){ if (se.getSQLState() == null || !(se.getSQLState().equals("08006"))) { // database was not shutdown properly dumpSQLException(se); } } } | void shutdown() { try{ //shutdown TestUtil.getConnection(dbName, "shutdown=true"); }catch(SQLException se){ if (se.getSQLState() == null || !(se.getSQLState().equals("08006"))) { // database was not shutdown properly dumpSQLException(se); } } } | 1,107,715 |
void shutdown(String dbName) { try{ //shutdown TestUtil.getConnection(dbName, "shutdown=true"); }catch(SQLException se){ if (se.getSQLState() == null || !(se.getSQLState().equals("08006"))) { // database was not shutdown properly dumpSQLException(se); } } } | void shutdown(String dbName) { try{ //shutdown TestUtil.getConnection(currentTestDatabase, "shutdown=true"); }catch(SQLException se){ if (se.getSQLState() == null || !(se.getSQLState().equals("08006"))) { // database was not shutdown properly dumpSQLException(se); } ... | 1,107,716 |
private void verifyException(SQLException sqle, String debugFlag) { if (sqle != null) { if (sqle.getSQLState() != null && sqle.getSQLState().equals("XJ040")) { // boot failed as expected with the debug flag }else { ... | private void verifyException(SQLException sqle, String debugFlag) { if (sqle != null) { if (sqle.getSQLState() != null && sqle.getSQLState().equals("XJ040")) { // boot failed as expected with the debug flag }else { ... | 1,107,717 |
private void verifyException(SQLException sqle, String debugFlag) { if (sqle != null) { if (sqle.getSQLState() != null && sqle.getSQLState().equals("XJ040")) { // boot failed as expected with the debug flag }else { ... | private void verifyException(SQLException sqle, String debugFlag) { if (sqle != null) { if (sqle.getSQLState() != null && sqle.getSQLState().equals("XJ040")) { // boot failed as expected with the debug flag }else { ... | 1,107,718 |
protected void postComplete(int commitflag, Integer commitOrAbort) throws StandardException { if (postCompleteMode) doComplete(commitOrAbort); // if we are want to commitNoSync with KEEP_LOCKS flag set, don't // release any locks if ((commitflag & Transaction.KEEP_LOCKS) == 0) { releaseAllLocks(); ... | protected void postComplete(int commitflag, Integer commitOrAbort) throws StandardException { if (postCompleteMode) doComplete(commitOrAbort); // if we are want to commitNoSync with KEEP_LOCKS flag set, don't // release any locks if ((commitflag & Transaction.KEEP_LOCKS) == 0) { releaseAllLocks(); ... | 1,107,719 |
public boolean acceptsURL(String url) throws SQLException { return getRegisteredDriver().acceptsURL(url); } | public boolean acceptsURL(String url) throws SQLException { return getDriverModule().acceptsURL(url); } | 1,107,721 |
private static void boot() { PrintStream ps = DriverManager.getLogStream(); if (ps == null) ps = System.err; new JDBCBoot().boot(Attribute.PROTOCOL, ps); } | static void boot() { PrintStream ps = DriverManager.getLogStream(); if (ps == null) ps = System.err; new JDBCBoot().boot(Attribute.PROTOCOL, ps); } | 1,107,722 |
public Connection connect(String url, Properties info) throws SQLException { return getRegisteredDriver().connect(url, info); } | public Connection connect(String url, Properties info) throws SQLException { return getDriverModule().connect(url, info); } | 1,107,723 |
public int getMajorVersion() { try { return (getRegisteredDriver().getMajorVersion()); } catch (SQLException se) { return 0; } } | public int getMajorVersion() { try { return (getDriverModule().getMajorVersion()); } catch (SQLException se) { return 0; } } | 1,107,724 |
public int getMinorVersion() { try { return (getRegisteredDriver().getMinorVersion()); } catch (SQLException se) { return 0; } } | public int getMinorVersion() { try { return (getDriverModule().getMinorVersion()); } catch (SQLException se) { return 0; } } | 1,107,725 |
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException { return getRegisteredDriver().getPropertyInfo(url, info); } | public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException { return getDriverModule().getPropertyInfo(url, info); } | 1,107,726 |
public boolean jdbcCompliant() { try { return (getRegisteredDriver().jdbcCompliant()); } catch (SQLException se) { return false; } } | public boolean jdbcCompliant() { try { return (getDriverModule().jdbcCompliant()); } catch (SQLException se) { return false; } } | 1,107,727 |
public SQLException getSQLException() { if ( wrappedException_ != null ) { return wrappedException_; } // When we have support for JDBC 4 SQLException subclasses, this is // where we decide which exception to create SQLException sqle = ... | public SQLException getSQLException() { if ( wrappedException_ != null ) { return wrappedException_; } // When we have support for JDBC 4 SQLException subclasses, this is // where we decide which exception to create SQLException sqle = ... | 1,107,728 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.