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 tf...@apache.org on 2006/08/20 21:19:42 UTC
svn commit: r433015 -
/db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml
Author: tfischer
Date: Sun Aug 20 12:19:41 2006
New Revision: 433015
URL: http://svn.apache.org/viewvc?rev=433015&view=rev
Log:
Adding information of how to use custom adapters to the initialisation part of the reference
Modified:
db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml
Modified: db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml
URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml?rev=433015&r1=433014&r2=433015&view=diff
==============================================================================
--- db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml (original)
+++ db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml Sun Aug 20 12:19:41 2006
@@ -145,6 +145,19 @@
</td>
</tr>
</table>
+
+ <p>
+ If you want to use a custom adapter that is not supplied by Torque,
+ you need to choose a custom key (not one of the above) and specify
+ the class of the adapter. For example, if the adapter class is
+ <code>com.acme.DBMyAdapter</code>, you could use the following
+ snippet in your configuration file:
+ </p>
+
+ <source>
+torque.database.bookstore.adapter=myadapter
+torque.database.bookstore.adapter.myadapter.className=com.acme.DBMyAdapter
+ </source>
</subsection>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org