|
From: Aslak Helles?y <rin...@us...> - 2002-12-11 16:36:35
|
User: rinkrank
Date: 02/12/11 08:36:34
Modified: xdocs/plugins cmp20.xml
Log:
Reapplied [ 648769 ] Another MVCSoft patch (documentation and samples are updated)
Revision Changes Path
1.13 +141 -0 middlegen/xdocs/plugins/cmp20.xml
Index: cmp20.xml
===================================================================
RCS file: /cvsroot/middlegen/middlegen/xdocs/plugins/cmp20.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -w -r1.12 -r1.13
--- cmp20.xml 6 Dec 2002 14:49:48 -0000 1.12
+++ cmp20.xml 11 Dec 2002 16:36:33 -0000 1.13
@@ -384,6 +384,147 @@
will be done.
</p>
</subsection>
+ <subsection name="mvcsoft">
+ <p>
+ Optional element. Can be used if the generated beans should include MVCSoft XDoclet tags.
+ <a target="_blank" href="http://www.mvcsoft.com">MVCSoft</a> is an EJB 2.0 persistence manager that works with all major EJB containers.
+ </p>
+ <table>
+ <tr><th>Attribute</th><th>Description</th><th>Required</th></tr>
+
+ <tr>
+ <td><a name="cache">cache</a></td>
+ <td>Sets how entity data is synchronized with the database. Valid choices are CommitOptionA and CommitOptionBC.
+ </td>
+ <td>No. Defaults to CommitOptionA.</td>
+ </tr>
+ <tr>
+ <td><a name="insert">insert</a></td>
+ <td>Determines when a new entity is inserted into the database. Valid choices are AfterCreate, AfterPostCreate, and AtTransactionCompletion.</td>
+ <td>No. Defaults to AtTransactionCompletion.</td>
+ </tr>
+ <tr>
+ <td><a name="delete">delete</a></td>
+ <td>Determines when an entity is deleted from the database. Valid choices are AtRemove and AtTransactionCompletion.</td>
+ <td>No. Defaults to AtTransactionCompletion.</td>
+ </tr>
+ <tr>
+ <td><a name="lockingstrategy">lockingstrategy</a></td>
+ <td>Determines when an entity is deleted from the database. Valid choices are AtRemove and AtTransactionCompletion Sets the locking strategy for concurrent entity access. Valid choices are None, Pessimistic, Counter, Timestamp, or FieldComparison.</td>
+ <td>No. Defaults to None.</td>
+ </tr>
+ <tr>
+ <td><a name="lockcolname">lockcolname</a></td>
+ <td>Sets the database column name for the implementation of the locking strategies Counter and Timestamp.</td>
+ <td>Required if lockingstrategy is Counter or Timestamp. Defaults to "".</td>
+ </tr>
+ <tr>
+ <td><a name="lockcolsqltype">lockcolsqltype</a></td>
+ <td>Sets the database column type for the implementation of the locking strategies Counter and Timestamp.</td>
+ <td>Required if lockingstrategy is Counter or Timestamp. Defaults to "".</td>
+ </tr>
+ <tr>
+ <td><a name="dataexpires">dataexpires</a></td>
+ <td>Specifies a time-out value for CommitOptionA and ReadOnly caches. </td>
+ <td>The default is no expiration.</td>
+ </tr>
+ <tr>
+ <td><a name="pkgen">pkgen</a></td>
+ <td>
+ <p>Determines whether MVCSoft should generate primary keys for the application.</p>
+ <p>If set to true and pk is java.lang.String, MVCSoft will generate a universally unique identifier (UUID).</p>
+ <p>If set to true and pk is java.lang.Long, MVCSoft will generate a sequence using the "high-low key" or "sequence blocks" strategy which involves a database table.</p>
+ <p>Other data types for key generation are not supported by this MVCSoft plug-in.</p>
+ </td>
+ <td>No. Defaults to false.</td>
+ </tr>
+ <tr>
+ <td><a name="uuidkeyfieldtype">uuidkeyfieldtype</a></td>
+ <td>The type of UUID created. Valid values are String and BigInteger.</td>
+ <td>No. Defaults to 10. </td>
+ </tr>
+ <tr>
+ <td><a name="uuidkeyclassstarttime">uuidkeyclassstarttime</a></td>
+ <td>The number of bytes from the container start time that should be included in the UUID.</td>
+ <td>No. Defaults to 4. </td>
+ </tr>
+ <tr>
+ <td><a name="uuidkeytimestamp">uuidkeytimestamp</a></td>
+ <td>The number of bytes from a timestamp that should be included in the UUID.</td>
+ <td>No. Defaults to 6. </td>
+ </tr>
+ <tr>
+ <td><a name="uuidkeycounter">uuidkeycounter</a></td>
+ <td>The number of bytes from a counter that should be included in the UUID.</td>
+ <td>No. Defaults to 2.</td>
+ </tr>
+ <tr>
+ <td><a name="uuidkeyclasshash">uuidkeyclasshash</a></td>
+ <td>The number of bytes from a hash of the container class that should be included in the UUID.</td>
+ <td>No. Defaults to 4.</td>
+ </tr>
+ <tr>
+ <td><a name="uuidipaddress">uuidipaddress</a></td>
+ <td>The number of bytes from the IP address that should be included in the UUID.</td>
+ <td>No. Defaults to 4.</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeynontransactionalpoolname">hlkeynontransactionalpoolname</a></td>
+ <td>The JNDI name of a DataSource that will provide a Connection that does not participate in the current transaction.</td>
+ <td>No. Defaults to "java:/NonTxChangeMeDS"</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeychunksize">hlkeychunksize</a></td>
+ <td>The number of sequences that are retrieved in a single database access. Setting this to a high value reduces database i/o (at the negligible cost of potentially "wasted" sequence numbers). </td>
+ <td>No. Defaults to 5.</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeyretrycount">hlkeyretrycount</a></td>
+ <td>Sequence numbers are retrieved using optimistic concurrency. This value determines the number of retries in case of an optimistic rollback.</td>
+ <td>No. Defaults to 3.</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeytablename">hlkeytablename</a></td>
+ <td>The name of the database table in which sequence values are stored.</td>
+ <td>No. Defaults to "MVCHighLow".</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeysequencenamecolumn">hlkeysequencenamecolumn</a></td>
+ <td>The column name for the column that holds the "sequence name" information.</td>
+ <td>No. Defaults to "SequenceName".</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeysequencenamesqltype">hlkeysequencenamesqltype</a></td>
+ <td>The column name for the column that holds the "sequence name" information.</td>
+ <td>No. Defaults to "varchar2(30)".</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeyvaluecolumn">hlkeyvaluecolumn</a></td>
+ <td>The column name for the column that holds the last used sequence number.</td>
+ <td>No. Defaults to "UsedIncrements".</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeyvaluesqltype">hlkeyvaluesqltype</a></td>
+ <td>The number of bytes from a hash of the container class that should be included in the UUID.</td>
+ <td>No. Defaults to 4.</td>
+ </tr>
+ <tr>
+ <td><a name="hlkeysequencenamesqltype">hlkeysequencenamesqltype</a></td>
+ <td>The sql type for the column that holds the last used sequence number.</td>
+ <td>No. Defaults to "number".</td>
+ </tr>
+ <tr>
+ <td><a name="cmrmethodsreturnlightweight">cmrmethodsreturnlightweight</a></td>
+ <td>Indicates that a cmr field should return lightweight local interfaces.</td>
+ <td>No. Defaults to false.</td>
+ </tr>
+ <tr>
+ <td><a name="queryshouldflush">queryshouldflush</a></td>
+ <td>The EJB 2.0 specification mandates that changes within a transaction be visible to queries issued within that transaction. The MVCSoft Persistence Manager meets this requirement by flushing all pending changes to the database before issuing the query. It may be that the results of a particular query will never depend on these changes, in which case you can set should-flush to false.</td>
+ <td>No. Defaults to false.</td>
+ </tr>
+ </table>
+ </subsection>
</section>
<section name="Merge files">
<p>
|