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 StatementManagerIF.java StatementManager.java RsIterator.java JdbcAccessImpl.java JdbcAccess.java CollectionPrefetcher.java
Date Fri, 28 Nov 2003 14:40:01 GMT
arminw      2003/11/28 06:40:01

  Modified:    src/test/org/apache/ojb/broker QueryTest.java
                        MetaDataSerializationTest.java
               src/java/org/apache/ojb/odmg TransactionImpl.java
               src/java/org/apache/ojb/odmg/collections DSetImpl.java
                        DListImpl_2.java DListImpl.java
               src/java/org/apache/ojb/broker Identity.java
               src/java/org/apache/ojb/broker/util SqlTypeHelper.java
                        SqlHelper.java ProxyHelper.java BrokerHelper.java
               src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerNativeImpl.java
               src/java/org/apache/ojb/broker/metadata ClassDescriptor.java
               src/java/org/apache/ojb/broker/core
                        PersistenceBrokerImpl.java
               src/java/org/apache/ojb/broker/cache TwoLevelCache.java
               src/java/org/apache/ojb/broker/accesslayer
                        StatementManagerIF.java StatementManager.java
                        RsIterator.java JdbcAccessImpl.java JdbcAccess.java
                        CollectionPrefetcher.java
  Added:       src/java/org/apache/ojb/broker/core ValueContainer.java
                        QueryReferenceBroker.java MtoNBroker.java
  Log:
  fix "design bug" caused by lost jdbc type metadata information
  
  see thread "[VOTE] Design bug fixed - check in?" on dev-list
  
  For examples: When storing an object sooner or
  later an array of object field values were passed
  to StatementManager. Then the StatementManager lookup the
  jdbcTypes using SqlHelper class, because we pass the
  field value array without any metadata information.
  But we know the jdbcTypes from the metadata. Thus if
  we pass a ValueContainer class
  
  ValueContainer
  {
  Object value;
  int jdbcType;
  ...
  }
  
  instead of the pure value object, we no longer need
  many of SqlHelper/SqlTypeHelper methods.
  
  Revision  Changes    Path
  1.43      +17 -14    db-ojb/src/test/org/apache/ojb/broker/QueryTest.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/test/org/apache/ojb/broker/QueryTest.java.diff?r1=1.42&r2=1.43
  
  
  1.10      +21 -35    db-ojb/src/test/org/apache/ojb/broker/MetaDataSerializationTest.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/test/org/apache/ojb/broker/MetaDataSerializationTest.java.diff?r1=1.9&r2=1.10
  
  
  1.49      +7 -6      db-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/odmg/TransactionImpl.java.diff?r1=1.48&r2=1.49
  
  
  1.17      +4 -3      db-ojb/src/java/org/apache/ojb/odmg/collections/DSetImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DSetImpl.java.diff?r1=1.16&r2=1.17
  
  
  1.2       +4 -3      db-ojb/src/java/org/apache/ojb/odmg/collections/DListImpl_2.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DListImpl_2.java.diff?r1=1.1&r2=1.2
  
  
  1.22      +3 -2      db-ojb/src/java/org/apache/ojb/odmg/collections/DListImpl.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DListImpl.java.diff?r1=1.21&r2=1.22
  
  
  1.28      +15 -10    db-ojb/src/java/org/apache/ojb/broker/Identity.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/Identity.java.diff?r1=1.27&r2=1.28
  
  
  1.5       +441 -501  db-ojb/src/java/org/apache/ojb/broker/util/SqlTypeHelper.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/SqlTypeHelper.java.diff?r1=1.4&r2=1.5
  
  
  1.17      +2 -72     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.16&r2=1.17
  
  
  1.20      +21 -5     db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java.diff?r1=1.19&r2=1.20
  
  
  1.30      +162 -100  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.29&r2=1.30
  
  
  1.10      +12 -9     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.9&r2=1.10
  
  
  1.73      +59 -110   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.72&r2=1.73
  
  
  1.56      +118 -1245 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.55&r2=1.56
  
  
  1.1                  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?rev=1.1
  
  
  1.1                  db-ojb/src/java/org/apache/ojb/broker/core/QueryReferenceBroker.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/core/QueryReferenceBroker.java?rev=1.1
  
  
  1.1                  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?rev=1.1
  
  
  1.2       +3 -3      db-ojb/src/java/org/apache/ojb/broker/cache/TwoLevelCache.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/cache/TwoLevelCache.java.diff?r1=1.1&r2=1.2
  
  
  1.8       +3 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManagerIF.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/StatementManagerIF.java.diff?r1=1.7&r2=1.8
  
  
  1.42      +41 -48    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.41&r2=1.42
  
  
  1.51      +3 -3      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.50&r2=1.51
  
  
  1.15      +17 -24    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.14&r2=1.15
  
  
  1.31      +4 -3      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.30&r2=1.31
  
  
  1.18      +2 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/CollectionPrefetcher.java
  
  http://cvs.apache.org/viewcvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/CollectionPrefetcher.java.diff?r1=1.17&r2=1.18
  
  

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