db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/xdocs repository.xml
Date Fri, 08 Aug 2003 20:40:29 GMT
thma        2003/08/08 13:40:29

  Modified:    xdocs    repository.xml
  Log:
  add patch to make definition of JDBC types optional.
  Thanks to Carsten Ziegeler
  
  Revision  Changes    Path
  1.20      +10 -4     db-ojb/xdocs/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/repository.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- repository.xml	8 Jul 2003 22:46:40 -0000	1.19
  +++ repository.xml	8 Aug 2003 20:40:29 -0000	1.20
  @@ -476,9 +476,12 @@
   	method that is invoked after reading an instnace from a database row.
   	It can be used to do initialization and validations.
   <br/><br/>
  -	The optional factory-method specifies a static no-argument method
  -	that is to be used instead of a no argument constructor.<br/>
  -	Important note: this feature is not yet implemented.
  +	The optional factory-class specifies a factory-class that
  +	that is to be used instead of a no argument constructor.
  +	If the factory-class is specified the factory-method
  +	also must be defined.
  +	factory-method refers to a static no-argument method
  +	of the factory-class class.
   <br/><br/>
   	The refresh attribute can be set to true to force OJB to refresh
   	instances when loaded from cache. It's set to false by default.
  @@ -495,6 +498,7 @@
       extends IDREF #IMPLIED
   	accept-locks (true | false) "true"
   	initialization-method CDATA #IMPLIED
  +	factory-class CDATA #IMPLIED
   	factory-method CDATA #IMPLIED
   	refresh (true | false) "false"
   >
  @@ -558,7 +562,9 @@
   	The column attribute specifies the column the persistent classes field
   	is mapped to.
   <br/><br/>
  -	The jdbc-type attribute specifies the JDBC type of the column.
  +	The optional jdbc-type attribute specifies the JDBC type of the column.
  +	If not specified OJB tries to identify the JDBC type by inspecting the
  +	Java attribute by reflection. 
   <br/><br/>
   	The primarykey specifies if the column is a primary key column.
   <br/><br/>
  
  
  

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