jon 01/05/28 13:01:29
Modified: conf/torque/schema project-schema.xml
Log:
added some documentation so that people wouldn't be as confused about what
the database name="" is.
Revision Changes Path
1.12 +22 -0 jakarta-turbine/conf/torque/schema/project-schema.xml
Index: project-schema.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine/conf/torque/schema/project-schema.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- project-schema.xml 2001/04/06 00:03:10 1.11
+++ project-schema.xml 2001/05/28 20:01:28 1.12
@@ -12,6 +12,28 @@
<app-data>
+<!--
+ Note: the name= attribute in the database tag represents what
+ you would use to map to a specific database named in the
+ TurbineResources.properties file. If you just want to use
+ the defaults, please do not specify a name= attribute.
+
+ The benefit is that you can have one database talking to
+ one system and another talking to an entirely different
+ system.
+
+ Example:
+ database.INTERPLANETARY.driver=org.postgresql.Driver
+ database.INTERPLANETARY.url=jdbc:postgresql:test
+ database.INTERPLANETARY.username=graeme
+ database.INTERPLANETARY.password=password
+
+ database.SIMPLE.driver=org.postgresql.Driver
+ database.SIMPLE.url=jdbc:postgresql:foo
+ database.SIMPLE.username=foo
+ database.SIMPLE.password=bar
+-->
+
<database name="SIMPLE">
<table name="SIMPLE">
<column name="ROWID" required="true" autoIncrement="true"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]