db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r433015 - /db/torque/runtime/trunk/xdocs/reference/initialisation-configuration.xml
Date Sun, 20 Aug 2006 19:19:42 GMT
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


Mime
View raw message