e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 27 (0.01 seconds)
Class: org.springframework.jdbc.datasource.DataSourceTransactionManager  ©, Rating: 0% of 0, C2

164 // so we don't want to do it unnecessarily (for example if we're configured 165 // Commons DBCP to set it already). 166 if (con.getAutoCommit()) { 167 txObject.setMustRestoreAutoCommit(true); 168 if (logger.isDebugEnabled()) {

Class: com.technoetic.xplanner.db.hibernate.TransformingSchemaExport  ©, Rating: 0% of 0, C3

112 connectionProvider = ConnectionProviderFactory.newConnectionProvider(props); 113 connection = connectionProvider.getConnection(); 114 if (!connection.getAutoCommit()) { 115 connection.commit(); 116 connection.setAutoCommit(true);

Class: org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy  ©, Rating: 0% of 0, C1

150 protected synchronized void checkDefaultConnectionProperties(Connection con) throws SQLException { 151 if (this.defaultAutoCommit == null) { 152 this.defaultAutoCommit = new Boolean(con.getAutoCommit()); 153 } 154 if (this.defaultTransactionIsolation == null) {

Class: org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy  ©, Rating: 0% of 0, C2

346 this.target.setTransactionIsolation(this.transactionIsolation.intValue()); 347 } 348 if (this.autoCommit != null && this.autoCommit.booleanValue() != this.target.getAutoCommit()) { 349 this.target.setAutoCommit(this.autoCommit.booleanValue()); 350 }

Class: org.apache.catalina.realm.DataSourceRealm  ©, Rating: 0% of 0, C2

285 username, credentials); 286 287 if( !dbConnection.getAutoCommit() ) { 288 dbConnection.commit(); 289 }

Class: org.springframework.orm.hibernate.LocalSessionFactoryBean  ©, Rating: 0% of 0, C2

646 protected void executeSchemaScript(Connection con, String[] sql) throws SQLException { 647 if (sql != null && sql.length > 0) { 648 boolean oldAutoCommit = con.getAutoCommit(); 649 con.setAutoCommit(false); 650 try {

Class: org.springframework.jdbc.datasource.DataSourceTransactionManagerTests  ©, Rating: 0% of 0, C2

1218 MockControl conControl = MockControl.createControl(Connection.class); 1219 Connection con = (Connection) conControl.getMock(); 1220 con.getAutoCommit(); 1221 conControl.setReturnValue(false, 1); 1222 con.rollback();

Class: org.springframework.jdbc.datasource.DataSourceTransactionManagerTests  ©, Rating: 0% of 0, C2

1182 MockControl conControl = MockControl.createControl(Connection.class); 1183 Connection con = (Connection) conControl.getMock(); 1184 con.getAutoCommit(); 1185 conControl.setReturnValue(false, 1); 1186 con.commit();

Class: org.springframework.jdbc.datasource.DataSourceTransactionManagerTests  ©, Rating: 0% of 0, C2

1135 ds.getConnection(); 1136 dsControl.setReturnValue(con, 1); 1137 con.getAutoCommit(); 1138 conControl.setReturnValue(false, 1); 1139 md.supportsSavepoints();

Class: org.springframework.jdbc.datasource.DataSourceTransactionManagerTests  ©, Rating: 0% of 0, C2

1077 Savepoint sp = (Savepoint) spControl.getMock(); 1078 1079 con.getAutoCommit(); 1080 conControl.setReturnValue(false, 1); 1081 md.supportsSavepoints();

Result Page:  1  |  2  |  3   Next