Browse files

adding postgres

  • Loading branch information...
1 parent c9c126c commit 5ed11af9c5e396b041be62b8bf4cbe9883021008 @narkisr narkisr committed Mar 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/resources/datasources/postgres.groovy
View
4 src/main/resources/datasources/postgres.groovy
@@ -0,0 +1,4 @@
+import org.postgresql.jdbc2.optional.SimpleDataSource
+
+new SimpleDataSource(user: user, password: pass, serverName: host, databaseName: name)
+

0 comments on commit 5ed11af

Please sign in to comment.