Author: tfischer
Date: Sun Sep 23 03:42:48 2012
New Revision: 1388954
URL: http://svn.apache.org/viewvc?rev=1388954&view=rev
Log:
map builders are not generated any more -> fix docs
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml
Modified:
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml?rev=1388954&r1=1388953&r2=1388954&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml
(original)
+++
db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml
Sun Sep 23 03:42:48 2012
@@ -55,19 +55,18 @@
</p>
<p>
- The detailed procedure is the following: Each peer class loads
- its Map builder class when the Base Peer Class is loaded
- by accessing the static constants of the Map builder class
+ Also, a runtime model of the database
+ (accessible via the methods Torque.getDatabaseMap())
+ is built during Torque startup:
+ Each peer class constructs its runtime model when the Base Peer Class
+ is loaded and registers the table model with the corresponding database
+ model in the Torque runtime.
(Usually, a peer class is loaded if one of the constants
for a column name is accessed, or a method is called).
- The Map builder class then passes the table information
- to the Torque runtime.
- </p>
- <p>
If the property <code>torque.om.generateMapInit</code>
was set to true while generating the torque classes,
- the map builder will then also load the map builder classes
- for all other tables in the same database, which will then register all
+ the map builder will then also load the peer classes
+ for all other tables in the same database, which will register all
tables in the database.
</p>
@@ -77,7 +76,7 @@
tables appear in the Database map, set the property
<code>torque.om.generateMapInit</code> to true when generating
the torque classes, and then call the <code>initDatabaseMap()</code>
- method of any generated map builder class.
+ method of any generated peer class.
</p>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]