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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to