You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tv...@apache.org on 2006/09/07 05:20:48 UTC
svn commit: r440961 - in /db/torque:
generator/trunk/xdocs/properties-reference.xml site/trunk/xdocs/changes.xml
Author: tv
Date: Wed Sep 6 20:20:47 2006
New Revision: 440961
URL: http://svn.apache.org/viewvc?view=rev&rev=440961
Log:
Add serialVersionUIDs if ...addTimeStamp is true
Modified:
db/torque/generator/trunk/xdocs/properties-reference.xml
db/torque/site/trunk/xdocs/changes.xml
Modified: db/torque/generator/trunk/xdocs/properties-reference.xml
URL: http://svn.apache.org/viewvc/db/torque/generator/trunk/xdocs/properties-reference.xml?view=diff&rev=440961&r1=440960&r2=440961
==============================================================================
--- db/torque/generator/trunk/xdocs/properties-reference.xml (original)
+++ db/torque/generator/trunk/xdocs/properties-reference.xml Wed Sep 6 20:20:47 2006
@@ -318,7 +318,12 @@
<tr>
<td><code>torque.addTimeStamp</code></td>
<td><code>true</code></td>
- <td>If true, Torque puts time stamps in generated om files.</td>
+ <td>
+ If true, Torque puts time stamps in generated om files.
+ This also triggers the generation of "serialVersionUID"-constants
+ in the classes that implement Serializable (object, peer and manager).
+ The version is equal to the generation timestamp.
+ </td>
</tr>
<tr>
<td><code>torque.basePrefix</code></td>
Modified: db/torque/site/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/db/torque/site/trunk/xdocs/changes.xml?view=diff&rev=440961&r1=440960&r2=440961
==============================================================================
--- db/torque/site/trunk/xdocs/changes.xml (original)
+++ db/torque/site/trunk/xdocs/changes.xml Wed Sep 6 20:20:47 2006
@@ -29,6 +29,12 @@
<release version="3.2.1-dev" date="in SVN">
+ <action type="add" dev="tv">
+ Add a "serialVersionUID" to the generated classes that
+ implement Serializable. The entry is generated if "addTimeStamp"
+ is true. This should remove quite a number of warnings when using
+ Torque generated classes.
+ </action>
<action type="fix" dev="tfischer" issue="TORQUE-49">
Use encoding in the header of schema.xml files instead of default encoding
to parse the schema.xml files.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org