db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1163646 - in /db/torque/torque4/trunk/torque-site/src: changes/changes.xml site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml
Date Wed, 31 Aug 2011 14:34:11 GMT
Author: tv
Date: Wed Aug 31 14:34:11 2011
New Revision: 1163646

URL: http://svn.apache.org/viewvc?rev=1163646&view=rev
Log:
Document the auto-detection feature

Modified:
    db/torque/torque4/trunk/torque-site/src/changes/changes.xml
    db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/modules/runtime/reference/initialisation-configuration.xml

Modified: db/torque/torque4/trunk/torque-site/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/changes/changes.xml?rev=1163646&r1=1163645&r2=1163646&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/changes/changes.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/changes/changes.xml Wed Aug 31 14:34:11 2011
@@ -24,6 +24,10 @@
 
   <body>
   <release version="4.0-alpha1-SNAPSHOT" date="in SVN">
+    <action type="add" dev="tv">
+      Add auto-detection of the database adapter. Use xxx.adapter=auto in
+      Torque.properties.
+    </action>
     <action type="remove" dev="tfischer">
       Do not use Village anymore and remove it from the dependencies.
     </action>

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=1163646&r1=1163645&r2=1163646&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
Wed Aug 31 14:34:11 2011
@@ -157,6 +157,12 @@ torque.database.bookstore.adapter=mysql
       </table>
       
       <p>
+        For application in environments that should support different databases
+        you can use the special adapter <code>auto</code>, which tries to
+        detect the correct adapter type from JDBC metadata.
+      </p>
+
+      <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



---------------------------------------------------------------------
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