db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata JdbcConnectionDescriptor.java SuperReferenceDescriptor.java
Date Sun, 24 Jul 2005 23:32:44 GMT
arminw      2005/07/24 16:32:44

  Modified:    src/java/org/apache/ojb/broker/metadata Tag: OJB_1_0_RELEASE
                        JdbcConnectionDescriptor.java
                        SuperReferenceDescriptor.java
  Log:
  minor changes
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.31.2.4  +6 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/JdbcConnectionDescriptor.java
  
  Index: JdbcConnectionDescriptor.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/JdbcConnectionDescriptor.java,v
  retrieving revision 1.31.2.3
  retrieving revision 1.31.2.4
  diff -u -r1.31.2.3 -r1.31.2.4
  --- JdbcConnectionDescriptor.java	26 Apr 2005 03:41:36 -0000	1.31.2.3
  +++ JdbcConnectionDescriptor.java	24 Jul 2005 23:32:43 -0000	1.31.2.4
  @@ -38,6 +38,10 @@
   	private static final long serialVersionUID = -600900924512028960L;
       private Logger logger = LoggerFactory.getLogger(JdbcConnectionDescriptor.class);
   
  +    public static final int AUTO_COMMIT_IGNORE_STATE = 0;
  +    public static final int AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE = 1;
  +    public static final int AUTO_COMMIT_SET_FALSE = 2;
  +
       private String m_jcdAlias;
       private String m_Dbms;
       private String m_Driver;
  @@ -51,7 +55,7 @@
       private boolean m_eagerRelease = false;
       private boolean m_batchMode = false;
       private boolean defaultConnection = false;
  -    private int useAutoCommit = 1;
  +    private int useAutoCommit = AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE;
       private boolean ignoreAutoCommitExceptions = false;
       private PBKey pbKey;
       private ConnectionPoolDescriptor cpd;
  @@ -59,10 +63,6 @@
       private ObjectCacheDescriptor objectCacheDescriptor;
       private transient DataSource dataSource;
   
  -    public static final int AUTO_COMMIT_IGNORE_STATE = 0;
  -    public static final int AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE = 1;
  -    public static final int AUTO_COMMIT_SET_FALSE = 2;
  -
       /**
        * Constructor declaration
        */
  
  
  
  1.1.2.4   +2 -2      db-ojb/src/java/org/apache/ojb/broker/metadata/Attic/SuperReferenceDescriptor.java
  
  Index: SuperReferenceDescriptor.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/Attic/SuperReferenceDescriptor.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- SuperReferenceDescriptor.java	14 Jun 2005 13:21:30 -0000	1.1.2.3
  +++ SuperReferenceDescriptor.java	24 Jul 2005 23:32:43 -0000	1.1.2.4
  @@ -39,7 +39,7 @@
       private transient Logger log;
   
       public static final String ANONYMOUS_NAME = null;
  -    static final String SUPER_FIELD_NAME = "super";
  +    public static final String SUPER_FIELD_NAME = RepositoryElements.TAG_SUPER;
   
       private Boolean javaInheritance;
       private Map declaredInheritanceFields = new HashMap();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message