User: dsundstrom
  Date: 01/06/26 20:55:36

  Modified:    src/main/org/jboss/ejb/plugins/cmp/jdbc
                        JDBCStoreManager.java
  Log:
  Removed configurable transaction isolation code.  Will be implemented in
  JBossPool.
  
  Revision  Changes    Path
  1.3       +2 -11     
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java
  
  Index: JDBCStoreManager.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStoreManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- JDBCStoreManager.java     2001/06/26 18:12:06     1.2
  +++ JDBCStoreManager.java     2001/06/27 03:55:36     1.3
  @@ -46,11 +46,10 @@
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Dain Sundstrom</a>
    * @see org.jboss.ejb.EntityPersistenceStore
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */                            
   public class JDBCStoreManager extends CMPStoreManager {
        protected DataSource dataSource;
  -     protected Integer transactionIsolation;
        
        protected JDBCTypeFactory typeFactory;
        protected boolean debug;
  @@ -119,11 +118,7 @@
         * Returns a database connection
         */
        public Connection getConnection() throws SQLException {
  -             Connection connection = dataSource.getConnection();
  -             if(transactionIsolation != null) {
  -                     
connection.setTransactionIsolation(transactionIsolation.intValue());
  -             }
  -             return connection;
  +             return dataSource.getConnection();
        }
        
        //
  @@ -150,10 +145,6 @@
                        throw new DeploymentException("Unable to locate data source.");
                }
                
  -             // Transaction Isolation 
  -             transactionIsolation = jamd.getTransactionIsolation();
  -             log.debug("Transaction Isolation set to " + transactionIsolation);
  -
                // Get JDBC Bean MetaData
                String ejbName = container.getBeanMetaData().getEjbName();
                JDBCEntityMetaData metadata = jamd.getBeanByEjbName(ejbName);
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to