Skip to content

Instantly share code, notes, and snippets.

@simoneloru
Created June 27, 2013 12:05
Show Gist options
  • Save simoneloru/5875933 to your computer and use it in GitHub Desktop.
Save simoneloru/5875933 to your computer and use it in GitHub Desktop.
my database configuration
# --------------------- Database Configuration: DERBY ---------------------
#profile.database.hostname=localhost
#profile.database.port=1527
#profile.database.username=agile
#profile.database.password=agile
#usually no need to change the following group of 3 properties:
#profile.database.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
#profile.database.url.portdb=jdbc:derby:${project.build.directory}/derby/production/${profile.application.name}Port;create=true
#profile.database.url.servdb=jdbc:derby:${project.build.directory}/derby/production/${profile.application.name}Serv;create=true
# --------------------- Database Configuration: PostgreSQL ---------------------
profile.database.hostname=localhost
profile.database.port=5432
profile.database.username=agile
profile.database.password=agile
#usually no need to change the following group of 3 properties:
profile.database.driverClassName=org.postgresql.Driver
profile.database.url.portdb=jdbc:postgresql://${profile.database.hostname}:${profile.database.port}/${profile.application.name}Port
profile.database.url.servdb=jdbc:postgresql://${profile.database.hostname}:${profile.database.port}/${profile.application.name}Serv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment