roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r511518 - /incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties
Date Sun, 25 Feb 2007 14:50:14 GMT
Author: snoopdave
Date: Sun Feb 25 06:50:14 2007
New Revision: 511518

URL: http://svn.apache.org/viewvc?view=rev&rev=511518
Log:
Adding commented-out Toplink target database properties

Modified:
    incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties

Modified: incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties?view=diff&rev=511518&r1=511517&r2=511518
==============================================================================
--- incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties (original)
+++ incubator/roller/branches/roller_4.0/testdata/JPAEMF.properties Sun Feb 25 06:50:14 2007
@@ -1,6 +1,40 @@
+
+# Database dialect options for Glassfish JPA/Toplink
+
+# Default test setup runs Derby
 toplink.jdbc.driver=org.apache.derby.jdbc.ClientDriver
 toplink.jdbc.url=jdbc:derby://localhost:3219/roller
 toplink.jdbc.user=APP
 toplink.jdbc.password=APP
-#toplink.ddl-generation=drop-and-create-tables
+
+# Alternative MySQL example (see ant.properties and roller-custom.properties)
+#toplink.jdbc.driver=com.mysql.jdbc.Driver
+#toplink.jdbc.url=jdbc:mysql://localhost:3306/roller
+#toplink.jdbc.user=scott
+#toplink.jdbc.password=tiger
+
 toplink.logging.level=FINEST
+
+# Target database properties: Toplink defaults to automatic detection of 
+# target database, but that works only if the JDBC driver supports the 
+# right metadata -- so sometimes setting toplink.target-database is required.
+# 
+# http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#CJAEBIJC
+
+# Auto-detection is the default
+#toplink.target-database=Auto
+
+# Why three options for Derby?
+#toplink.target-database=Derby
+#toplink.target-database=Cloudscape
+#toplink.target-database=JavaDB
+
+# Other databases. No MySQL5? 
+#toplink.target-database=MySQL4
+#toplink.target-database=PostgreSQL
+#toplink.target-database=Oracle
+#toplink.target-database=HSQL
+#toplink.target-database=DB2
+
+# Other generic SQL database
+#toplink.target-database=Database



Mime
View raw message