PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/database.properties

http://jcg-andygene-web.googlecode.com/
Properties File | 96 lines | 64 code | 24 blank | 8 comment | 0 complexity | a485588ba8a931f5a00163bba73c5b8d MD5 | raw file
 1#set( $symbol_pound = '#' )
 2#set( $symbol_dollar = '$' )
 3#set( $symbol_escape = '\' )
 4#if( $db == "h2" )
 5${symbol_pound}database.password=
 6${symbol_pound}database.url=
 7${symbol_pound}database.username=pat
 8${symbol_pound}database.driverClassName=org.postgresql.Driver
 9
10
11database.password=
12database.url=${databaseurl}
13database.username=${databaseusername}
14database.driverClassName=org.h2.Driver
15
16
17${symbol_pound}database.password=
18${symbol_pound}database.url=
19${symbol_pound}database.username=
20${symbol_pound}database.driverClassName=com.mysql.jdbc.Driver
21
22
23${symbol_pound}database.password=
24${symbol_pound}database.url=
25${symbol_pound}database.username=
26${symbol_pound}database.driverClassName=oracle.jdbc.OracleDriver
27
28#elseif( $db == "mysql" )
29${symbol_pound}database.password=
30${symbol_pound}database.url=
31${symbol_pound}database.username=pat
32${symbol_pound}database.driverClassName=org.postgresql.Driver
33
34
35${symbol_pound}database.password=
36${symbol_pound}database.url=
37${symbol_pound}database.username=sa
38${symbol_pound}database.driverClassName=org.h2.Driver
39
40
41database.password=${databasepassword}
42database.url=${databaseurl}
43database.username=${databaseusername}
44database.driverClassName=com.mysql.jdbc.Driver
45
46
47${symbol_pound}database.password=
48${symbol_pound}database.url=
49${symbol_pound}database.username=
50${symbol_pound}database.driverClassName=oracle.jdbc.OracleDriver
51
52#elseif( $db == "postgres")
53database.password=${databasepassword}
54database.url=${databaseurl}
55database.username=${databaseusername}
56database.driverClassName=org.postgresql.Driver
57
58
59${symbol_pound}database.password=
60${symbol_pound}database.url=
61${symbol_pound}database.username=sa
62${symbol_pound}database.driverClassName=org.h2.Driver
63
64
65${symbol_pound}database.password=
66${symbol_pound}database.url=
67${symbol_pound}database.username=
68${symbol_pound}database.driverClassName=com.mysql.jdbc.Driver
69
70
71${symbol_pound}database.password=
72${symbol_pound}database.url=
73${symbol_pound}database.username=
74${symbol_pound}database.driverClassName=oracle.jdbc.OracleDriver
75
76#else
77${symbol_pound}database.password=
78${symbol_pound}database.url=
79${symbol_pound}database.username=pat
80${symbol_pound}database.driverClassName=org.postgresql.Driver
81
82${symbol_pound}database.password=
83${symbol_pound}database.url=
84${symbol_pound}database.username=sa
85${symbol_pound}database.driverClassName=org.h2.Driver
86
87${symbol_pound}database.password=
88${symbol_pound}database.url=
89${symbol_pound}database.username=
90${symbol_pound}database.driverClassName=com.mysql.jdbc.Driver
91
92database.password=${databasepassword}
93database.url=${databaseurl}
94database.username=${databaseusername}
95database.driverClassName=oracle.jdbc.OracleDriver
96#end