diff --git a/jasamedika-config/src/main/resources/com/jasamedika/medifirst2000/applicationContext.xml b/jasamedika-config/src/main/resources/com/jasamedika/medifirst2000/applicationContext.xml new file mode 100644 index 00000000..50530510 --- /dev/null +++ b/jasamedika-config/src/main/resources/com/jasamedika/medifirst2000/applicationContext.xml @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + ${jdbc.serverName} + ${jdbc.databaseName} + ${jdbc.username} + ${jdbc.password} + + + + + + + + + + + + + + + + + + + org.hibernate.dialect.PostgreSQLDialect + true + true + none + + com.jasamedika.medifirst2000.logging.hibernate.interceptor.HibernateInterceptor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + messages + + + + + + + + + + diff --git a/jasamedika-config/src/main/resources/jdbc.development.properties b/jasamedika-config/src/main/resources/jdbc.development.properties new file mode 100644 index 00000000..38d42c50 --- /dev/null +++ b/jasamedika-config/src/main/resources/jdbc.development.properties @@ -0,0 +1,45 @@ +jdbc.driver = org.postgresql.Driver +hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +hibernate.hbm2ddl = none +# DB Production +jdbc.url = jdbc:postgresql://192.168.12.1:5432/rsab_hk_production +jdbc.username = postgres +jdbc.password = root +jdbc.serverName = 192.168.12.1 +jdbc.databaseName = rsab_hk_production +jdbc.portNumber = 5432 +# DB Mirroring +#jdbc.url = jdbc:postgresql://ds.rsabhk.lan:5432/rsab_hk_production +#jdbc.username = postgres +#jdbc.password = root +#jdbc.serverName = ds.rsabhk.lan +#jdbc.databaseName = rsab_hk_production +#jdbc.portNumber = 5432 +# DB Development +#jdbc.url = jdbc:postgresql://192.168.12.3:5432/backup_7Des +#jdbc.username = postgres +#jdbc.password = root +#jdbc.serverName = 192.168.12.3 +#jdbc.databaseName = backup_7Des +#jdbc.portNumber = 5432 +# DB Localhost +#jdbc.url = jdbc:postgresql://172.16.111.13:5432/rsab_hk_backup +#jdbc.username = postgres +#jdbc.password = root +#jdbc.serverName = 172.16.111.13 +#jdbc.databaseName = rsab_hk_backup +#jdbc.portNumber = 5432 + + + +#reportDirectory=C\:/harkit_report/ + +reportDirectory=/home/svradmin/app-back/uploadfile/ +urlServiceSarPras=http://localhost:8888/jasamedika-web/ +urlService=http://192.168.12.2/simrs_harkit/service/transaksi/ +#jdbc.driver = com.mysql.jdbc.Driver +#jdbc.url = jdbc:mysql://172.16.16.1./medifirst2000?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull +#jdbc.username = root +#jdbc.password = adminmysql +#hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect +#hibernate.hbm2ddl = update \ No newline at end of file