Skip to content

Commit

Permalink
Versao Multiplos Bancos
Browse files Browse the repository at this point in the history
Signed-off-by:Pedro Henrique Lira <pedroh.lira@gmail.com>
  • Loading branch information
pedrohlira committed Aug 2, 2013
1 parent 2aa6f90 commit ecd2802
Show file tree
Hide file tree
Showing 12 changed files with 20,612 additions and 34 deletions.
2 changes: 1 addition & 1 deletion db/banco.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
qhLFwfRqrBaBYct0ZzMQQdwdZOjUafkjDENjbsyt/rDTmbD6g5qxL88pZvThiIjLVju01nD6wE4b8mEvAW0/qKvhIevLxGCSsW+rgSbhxE2JHGHZBqAekUol9Z4NW47B1CbbxfktCM7nl42hzsOtNaPKAV5NpXJUyHEc4A9b3pM8eGz0AtrOIbOWxXyXvY45ZLWJ+R1FmXVvatcqi60NgqFFrevEHNqnjZgQBxk8dEQQ7cjZvCC3tTJ5wRlcTx1nsrimHm54Ip29HWdB+dw7Sf5XVIWCI3aO3GsdA585qHXxf3KM9bT+ZKOPE3P7PFBftDppthFxO86syzGvtJGgIHd5a326Kh3QizqgB5z5H6vUj54zn0Cggn6NgLPL1ePEv9RFDoos/znkUqbquA5nQT9IYuRtqc0haKcqTRhoDlEYjnSfMgaa/kMO8z0AJWgJT/b5sdzZtL4M/XPrpaNGow6dmYjeyljU39HEiwsilPHrlTFL74Z4KfYv4F1GTdjGgCTDEMfyU6f7Y0ko2xHK0rIo59GjLeUB6sV6hFlevGkCioTv2OYr/r49LmjOtjumMQhfoLUtWZkCDaOcgXcpZ/2XWtu8Fqz95hyIiM0BGmLh2ZeD6um/6m0ZrZhmc5ay
1oFIhFDWJwT9WDoGq9bpR38FP3Elk8N5dxBSUjxf+WRbECMHSlnrhZwtIkBlgzNtxKuJdDENKyLNMIOZ1WSzMjCu5V2GuWSj1FJabcneb9Tjzgg2zucjgDF23noB1JMGMS8rWNrYDa55QHCTL2jn4MCGrEkNulS3JD0WHghKF0DVhuTmX7IhiDxZjh5+tTjs7kK9CAjtVbtxt/WAZ4YlKSz4oLaXzLMSUFCMEHjFn3X367CK0y9RJwJ2zFReRqsFVT9bNVajnPtdivtCCPWjD6OsOcwvFNfRruVABXzRSjpc9iKNyTWUjDhkLCe7Bjomc6GexKC9ufASaPUPfBX2KoN0gGrmsH0kOvIZsbBHVk629WqeBkmLPE0r28PPhvsKdpN1gxev4DzgZJz5G8gP0epyIS5v/OjI1LncdS7doNUaMafUHRujLMeIfFCzQXWrdyxc5Ms/SRpgtpMBFVN7ARhb9/eEctOnjvnh+jLMaNEGu7FaCt+xFYuMLbyongwjckLKwYTRTDWTNBuH6UKJF+nGAY3tQb0co3pPJs9lWbBer/CI0SYXMt+5dTzZMrFYrQbFh+g7D+/GPGsBK0jPkFi+EBdhrsIiMXRtPCCgJITnaEE9Eh7x7ft+Ojhbjyh5JZOQQYELKqgrFWEQPHgFlEzfhjUKsS7lC82JS8utxKd4b7EnyDdbctzR1eOHlYhI9JjFMdAaidoD41GDJR6k3O5mTAT+u9g/j/NjcZRjW/X825VVJ5zsBX7a8KXDb+WR9AkbLtuDXWY=
16 changes: 16 additions & 0 deletions db/h2.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Configuracao dos dados de acesso ao Banco de Dados
#####################################################

## Dados de conexao colocar o simbolo + no lugar do = ##
eclipselink.jdbc.url=jdbc:h2:nio:db/openpdv;MODE+MySQL;CIPHER+AES;CACHE_SIZE+50000;TRACE_LEVEL_FILE+0;TRACE_LEVEL_SYSTEM_OUT+0
eclipselink.jdbc.driver=org.h2.Driver
eclipselink.jdbc.user=openpdv
eclipselink.jdbc.password=openpdv openpdv
## Dados do pool ##
eclipselink.jdbc.read-connections.min=2
eclipselink.jdbc.read-connections.max=2
eclipselink.jdbc.write-connections.min=2
eclipselink.jdbc.write-connections.max=2
## Dados de cahce ##
eclipselink.cache.shared.default=false
eclipselink.logging.level=SEVERE
16 changes: 16 additions & 0 deletions db/mysql.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Configuracao dos dados de acesso ao Banco de Dados
#####################################################

## Dados de conexao ##
eclipselink.jdbc.url=jdbc:mysql://localhost/openpdv
eclipselink.jdbc.driver=com.mysql.jdbc.Driver
eclipselink.jdbc.user=openpdv
eclipselink.jdbc.password=openpdv
## Dados do pool ##
eclipselink.jdbc.read-connections.min=2
eclipselink.jdbc.read-connections.max=2
eclipselink.jdbc.write-connections.min=2
eclipselink.jdbc.write-connections.max=2
## Dados de cahce ##
eclipselink.cache.shared.default=false
eclipselink.logging.level=SEVERE
948 changes: 948 additions & 0 deletions db/openpdv_mysql.sql

Large diffs are not rendered by default.

Loading

0 comments on commit ecd2802

Please sign in to comment.