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/accesslayer StatementManager.java SqlBasedReportQueryRsIterator.java RsQueryObject.java RsIterator.java RowReaderDefaultImpl.java ReportQueryRsIterator.java PkEnumeration.java JdbcAccessImpl.java JdbcAccess.java
Date Tue, 09 Dec 2003 17:19:59 GMT
arminw      2003/12/09 09:19:59

  Modified:    src/java/org/apache/ojb/broker VirtualProxy.java
               src/java/org/apache/ojb/broker/util SqlHelper.java
                        BrokerHelper.java
               src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerNativeImpl.java
                        SequenceManagerMySQLImpl.java
                        AbstractSequenceManager.java
               src/java/org/apache/ojb/broker/metadata FieldDescriptor.java
                        DescriptorRepository.java ClassDescriptor.java
                        AttributeDescriptorBase.java
                        ArgumentDescriptor.java
               src/java/org/apache/ojb/broker/metadata/fieldaccess
                        PersistentField.java
                        AnonymousPersistentFieldForInheritance.java
                        AnonymousPersistentField.java
                        AbstractPersistentField.java
               src/java/org/apache/ojb/broker/core ValueContainer.java
                        PersistenceBrokerImpl.java MtoNBroker.java
               src/java/org/apache/ojb/broker/cache
                        ObjectCacheLocalDefaultImpl.java
                        ObjectCacheDefaultImpl.java
               src/java/org/apache/ojb/broker/accesslayer
                        StatementManager.java
                        SqlBasedReportQueryRsIterator.java
                        RsQueryObject.java RsIterator.java
                        RowReaderDefaultImpl.java
                        ReportQueryRsIterator.java PkEnumeration.java
                        JdbcAccessImpl.java JdbcAccess.java
  Added:       src/java/org/apache/ojb/broker/util JdbcTypesHelper.java
               src/java/org/apache/ojb/broker/metadata JdbcType.java
  Removed:     src/java/org/apache/ojb/broker/util SqlTypeHelper.java
  Log:
  - fix bug in DescriptorRepository#discoverDescriptor method
  Thanks Andy Malakov
  
  - better toString output for Class/FieldDescriptor, PersistentField,
  AttributeDescriptorBase classes
  
  - introduce new interface JdbcType. This class was used to encapsulate jdbc type
  information and does provide jdbc type specific "object value extract" methods for
  Statement/ResultSet objects. Replaces methods provided by SqlTypesHelper.
  
  Introduce new class JdbcTypesHelper as a replacement of SqlTypesHelper class (removed)
  and as "outer" class for all inner JdbcType implementations.
  
  Now each FieldDescriptor use a reference to its specific JdbcType implementation class,
  e.g. FLD with PersistentField of type INTEGER now use a reference to
  JdbcTypesHelper.T_Integer implementation of interface JdbcTypes
  
  - (hope) fixed bug when using metadata profiles (by serialization) and anonymous fields.
  When AnonymousPersistentField were serialized the map for anonymous key/values was not reinitialized
  
  - Be more strict in handling of ResultSetAndStatement class instances. If unclosed instances
  (not released resources) of this class will be finalized an error log is written and the
resources
  are closed
  Till 1.0 version we may change this behaviour, but for QA it's ok
  
  - split PB.delete(...) method in delete/doDelete methods and use intern only doDelete(...)
method
  calls. This allows to track all deleted objects of an object graph in a list and clear this
list
  before delete(...) was quitted
  
  - change cache timout attribute from milliseconds to seconds
  
  - fix javadoc comments
  
  Revision  Changes    Path
  1.9       +5 -6      db-ojb/src/java/org/apache/ojb/broker/VirtualProxy.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/VirtualProxy.java.diff?r1=1.8&r2=1.9
  
  
  1.19      +3 -27     db-ojb/src/java/org/apache/ojb/broker/util/SqlHelper.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/SqlHelper.java.diff?r1=1.18&r2=1.19
  
  
  1.31      +4 -11     db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java.diff?r1=1.30&r2=1.31
  
  
  1.1                  db-ojb/src/java/org/apache/ojb/broker/util/JdbcTypesHelper.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/JdbcTypesHelper.java?rev=1.1
  
  
  1.11      +9 -10     db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java.diff?r1=1.10&r2=1.11
  
  
  1.16      +3 -3      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerMySQLImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerMySQLImpl.java.diff?r1=1.15&r2=1.16
  
  
  1.13      +3 -6      db-ojb/src/java/org/apache/ojb/broker/util/sequence/AbstractSequenceManager.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/AbstractSequenceManager.java.diff?r1=1.12&r2=1.13
  
  
  1.31      +28 -28    db-ojb/src/java/org/apache/ojb/broker/metadata/FieldDescriptor.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/FieldDescriptor.java.diff?r1=1.30&r2=1.31
  
  
  1.41      +82 -26    db-ojb/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/DescriptorRepository.java.diff?r1=1.40&r2=1.41
  
  
  1.74      +37 -6     db-ojb/src/java/org/apache/ojb/broker/metadata/ClassDescriptor.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/ClassDescriptor.java.diff?r1=1.73&r2=1.74
  
  
  1.12      +2 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/AttributeDescriptorBase.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/AttributeDescriptorBase.java.diff?r1=1.11&r2=1.12
  
  
  1.2       +5 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/ArgumentDescriptor.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/ArgumentDescriptor.java.diff?r1=1.1&r2=1.2
  
  
  1.1                  db-ojb/src/java/org/apache/ojb/broker/metadata/JdbcType.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/JdbcType.java?rev=1.1
  
  
  1.4       +4 -4      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentField.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentField.java.diff?r1=1.3&r2=1.4
  
  
  1.7       +5 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentFieldForInheritance.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentFieldForInheritance.java.diff?r1=1.6&r2=1.7
  
  
  1.6       +13 -4     db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentField.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AnonymousPersistentField.java.diff?r1=1.5&r2=1.6
  
  
  1.10      +4 -8      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AbstractPersistentField.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/AbstractPersistentField.java.diff?r1=1.9&r2=1.10
  
  
  1.2       +8 -22     db-ojb/src/java/org/apache/ojb/broker/core/ValueContainer.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/core/ValueContainer.java.diff?r1=1.1&r2=1.2
  
  
  1.57      +36 -23    db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java.diff?r1=1.56&r2=1.57
  
  
  1.2       +2 -4      db-ojb/src/java/org/apache/ojb/broker/core/MtoNBroker.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/core/MtoNBroker.java.diff?r1=1.1&r2=1.2
  
  
  1.2       +4 -4      db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheLocalDefaultImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheLocalDefaultImpl.java.diff?r1=1.1&r2=1.2
  
  
  1.14      +3 -3      db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheDefaultImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheDefaultImpl.java.diff?r1=1.13&r2=1.14
  
  
  1.43      +23 -29    db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManager.java.diff?r1=1.42&r2=1.43
  
  
  1.9       +6 -6      db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedReportQueryRsIterator.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedReportQueryRsIterator.java.diff?r1=1.8&r2=1.9
  
  
  1.3       +2 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/RsQueryObject.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/RsQueryObject.java.diff?r1=1.2&r2=1.3
  
  
  1.53      +39 -21    db-ojb/src/java/org/apache/ojb/broker/accesslayer/RsIterator.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/RsIterator.java.diff?r1=1.52&r2=1.53
  
  
  1.25      +9 -6      db-ojb/src/java/org/apache/ojb/broker/accesslayer/RowReaderDefaultImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/RowReaderDefaultImpl.java.diff?r1=1.24&r2=1.25
  
  
  1.8       +7 -7      db-ojb/src/java/org/apache/ojb/broker/accesslayer/ReportQueryRsIterator.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/ReportQueryRsIterator.java.diff?r1=1.7&r2=1.8
  
  
  1.14      +14 -10    db-ojb/src/java/org/apache/ojb/broker/accesslayer/PkEnumeration.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/PkEnumeration.java.diff?r1=1.13&r2=1.14
  
  
  1.16      +8 -19     db-ojb/src/java/org/apache/ojb/broker/accesslayer/JdbcAccessImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/JdbcAccessImpl.java.diff?r1=1.15&r2=1.16
  
  
  1.32      +2 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/JdbcAccess.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/JdbcAccess.java.diff?r1=1.31&r2=1.32
  
  

---------------------------------------------------------------------
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