Updated to new format, added some explanatory comments.
This commit is contained in:
parent
79763b9c9a
commit
43a298b75f
3 changed files with 48 additions and 33 deletions
|
@ -1,10 +1,15 @@
|
||||||
# This is where you specify relational data sources to
|
# This is where you specify relational data sources to
|
||||||
# map Helma types to an external database
|
# map Helma types to relational databases.
|
||||||
|
#
|
||||||
|
# If you want to define a data source just for one
|
||||||
|
# application, simply copy the db.properties file to
|
||||||
|
# the application directory.
|
||||||
|
#
|
||||||
|
# The actual mapping of types is done in the
|
||||||
|
# type.properties file in the prototype directories.
|
||||||
|
#
|
||||||
|
|
||||||
# Comma-separated list of data source names
|
# Properties of JDBC data sources
|
||||||
sources = myDataSource
|
|
||||||
|
|
||||||
# Properties of data sources
|
|
||||||
myDataSource.url = jdbc:mysql://db.domain.com/space
|
myDataSource.url = jdbc:mysql://db.domain.com/space
|
||||||
myDataSource.driver = org.gjt.mm.mysql.Driver
|
myDataSource.driver = org.gjt.mm.mysql.Driver
|
||||||
myDataSource.user = username
|
myDataSource.user = username
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
# This is where you specify relational data sources to
|
# This is where you specify relational data sources to
|
||||||
# map Helma types to an external database
|
# map Helma types to relational databases.
|
||||||
|
#
|
||||||
|
# If you want to define a data source just for one
|
||||||
|
# application, simply copy the db.properties file to
|
||||||
|
# the application directory.
|
||||||
|
#
|
||||||
|
# The actual mapping of types is done in the
|
||||||
|
# type.properties file in the prototype directories.
|
||||||
|
#
|
||||||
|
|
||||||
# Comma-separated list of data source names
|
# Properties of JDBC data sources
|
||||||
sources = myDataSource
|
|
||||||
|
|
||||||
# Properties of data sources
|
|
||||||
myDataSource.url = jdbc:mysql://db.domain.com/space
|
myDataSource.url = jdbc:mysql://db.domain.com/space
|
||||||
myDataSource.driver = org.gjt.mm.mysql.Driver
|
myDataSource.driver = org.gjt.mm.mysql.Driver
|
||||||
myDataSource.user = username
|
myDataSource.user = username
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
# This is where you specify relational data sources to
|
# This is where you specify relational data sources to
|
||||||
# map Helma types to an external database
|
# map Helma types to relational databases.
|
||||||
|
#
|
||||||
|
# If you want to define a data source just for one
|
||||||
|
# application, simply copy the db.properties file to
|
||||||
|
# the application directory.
|
||||||
|
#
|
||||||
|
# The actual mapping of types is done in the
|
||||||
|
# type.properties file in the prototype directories.
|
||||||
|
#
|
||||||
|
|
||||||
# Comma-separated list of data source names
|
# Properties of JDBC data sources
|
||||||
sources = myDataSource
|
|
||||||
|
|
||||||
# Properties of data sources
|
|
||||||
myDataSource.url = jdbc:mysql://db.domain.com/space
|
myDataSource.url = jdbc:mysql://db.domain.com/space
|
||||||
myDataSource.driver = org.gjt.mm.mysql.Driver
|
myDataSource.driver = org.gjt.mm.mysql.Driver
|
||||||
myDataSource.user = username
|
myDataSource.user = username
|
||||||
|
|
Loading…
Add table
Reference in a new issue