database.properties 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ##########################
  2. ### DataBase Platforms ###
  3. ##########################
  4. jdbc.rowMapperFactory defaultRowMapperFactory
  5. jdbc.handler defaultLobHandler
  6. #jdbc.handler defaultLobHandler
  7. hibernate.jdbc.batch_size 10
  8. ### Oracle
  9. #hibernate.dialect org.hibernate.dialect.Oracle9Dialect
  10. #hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver
  11. #hibernate.connection.username wkh
  12. #hibernate.connection.password wkh
  13. #hibernate.connection.url jdbc:oracle:thin:@cftest:1521:oracle
  14. #Sybase 15.0
  15. #hibernate.dialect org.hibernate.dialect.SybaseDialect
  16. #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
  17. #hibernate.connection.url jdbc:jtds:sybase://cf-yjp:5000/cf;charset=utf-8;SendStringParameterAsUnicode=true
  18. #hibernate.connection.username
  19. #hibernate.connection.password
  20. ## MySQL
  21. #hibernate.dialect org.hibernate.dialect.MySQLDialect
  22. #hibernate.connection.driver_class com.mysql.jdbc.Driver
  23. #hibernate.connection.url jdbc\:mysql\://localhost\:3306/clis
  24. #
  25. #hibernate.connection.username root
  26. #hibernate.connection.password xmadage
  27. jdbc.driver=com.mysql.jdbc.Driver
  28. jdbc.url=jdbc:mysql://192.168.100.124:3306/clis?characterEncoding=utf8
  29. jdbc.username=root
  30. jdbc.password=root
  31. hibernate.dialect=org.hibernate.dialect.MySQLDialect
  32. jdbc.initialPoolSize=20
  33. jdbc.maxIdleTime=3600
  34. jdbc.minPoolSize=20
  35. jdbc.maxPoolSize=20
  36. jdbc.testConnectionOnCheckin=true
  37. jdbc.automaticTestTable =sys_c3potest
  38. jdbc.idleConnectionTestPeriod = 600
  39. ## SQLServer2000
  40. #hibernate.dialect org.hibernate.dialect.SQLServerDialect
  41. #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
  42. #hibernate.connection.url jdbc:jtds:sqlserver://localhost:1433/cute
  43. #hibernate.connection.username sa
  44. #hibernate.connection.password sa
  45. ## SQLServer2005
  46. #hibernate.dialect org.hibernate.dialect.SQLServerDialect
  47. #hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver
  48. #hibernate.connection.url jdbc:sqlserver://server:1433;DatabaseName=Test
  49. #hibernate.connection.username
  50. #hibernate.connection.password
  51. ## Informix
  52. #hibernate.dialect org.hibernate.dialect.Informix9Dialect
  53. #hibernate.connection.driver_class com.informix.jdbc.IfxDriver
  54. #hibernate.connection.url jdbc:informix-sqli://server:7515/uaas:INFORMIXSERVER=k460secsoc
  55. #hibernate.connection.username
  56. #hibernate.connection.password
  57. ## DB2
  58. #hibernate.dialect org.hibernate.dialect.DB2820Dialect
  59. #hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
  60. #hibernate.connection.url jdbc:db2://cftest:50000/cf
  61. #hibernate.connection.username
  62. #hibernate.connection.password
  63. # Derby
  64. #hibernate.dialect org.hibernate.dialect.DerbyDialect
  65. #hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
  66. #hibernate.connection.url jdbc:derby:src/webapp/WEB-INF/derby;create=true
  67. #hibernate.connection.username
  68. #hibernate.connection.password
  69. ## DO NOT specify hibernate.connection.sqlDialect