database.properties 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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\://192.168.1.159\:3306/clis
  24. #
  25. #hibernate.connection.username root
  26. #hibernate.connection.password bhadmin
  27. #hibernate.dialect org.hibernate.dialect.MySQLDialect
  28. #hibernate.connection.driver_class com.mysql.jdbc.Driver
  29. #hibernate.connection.url jdbc\:mysql\://localhost\:3306/clis
  30. #
  31. #hibernate.connection.username root
  32. #hibernate.connection.password xmadage
  33. jdbc.driver=com.mysql.jdbc.Driver
  34. jdbc.url=jdbc:mysql://localhost:3306/clis?characterEncoding=utf8
  35. jdbc.username=root
  36. jdbc.password=root
  37. hibernate.dialect=org.hibernate.dialect.MySQLDialect
  38. jdbc.initialPoolSize=20
  39. jdbc.maxIdleTime=3600
  40. jdbc.minPoolSize=20
  41. jdbc.maxPoolSize=20
  42. jdbc.testConnectionOnCheckin=true
  43. jdbc.automaticTestTable =sys_c3potest
  44. jdbc.idleConnectionTestPeriod = 600
  45. #hibernate.dialect org.hibernate.dialect.MySQLDialect
  46. #hibernate.connection.driver_class com.mysql.jdbc.Driver
  47. #hibernate.connection.url jdbc\:mysql\://192.168.1.109\:3306/clis
  48. #
  49. #hibernate.connection.username root
  50. #hibernate.connection.password root
  51. ## SQLServer2000
  52. #hibernate.dialect org.hibernate.dialect.SQLServerDialect
  53. #hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver
  54. #hibernate.connection.url jdbc:jtds:sqlserver://localhost:1433/cute
  55. #hibernate.connection.username sa
  56. #hibernate.connection.password sa
  57. ## SQLServer2005
  58. #hibernate.dialect org.hibernate.dialect.SQLServerDialect
  59. #hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver
  60. #hibernate.connection.url jdbc:sqlserver://server:1433;DatabaseName=Test
  61. #hibernate.connection.username
  62. #hibernate.connection.password
  63. ## Informix
  64. #hibernate.dialect org.hibernate.dialect.Informix9Dialect
  65. #hibernate.connection.driver_class com.informix.jdbc.IfxDriver
  66. #hibernate.connection.url jdbc:informix-sqli://server:7515/uaas:INFORMIXSERVER=k460secsoc
  67. #hibernate.connection.username
  68. #hibernate.connection.password
  69. ## DB2
  70. #hibernate.dialect org.hibernate.dialect.DB2820Dialect
  71. #hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver
  72. #hibernate.connection.url jdbc:db2://cftest:50000/cf
  73. #hibernate.connection.username
  74. #hibernate.connection.password
  75. # Derby
  76. #hibernate.dialect org.hibernate.dialect.DerbyDialect
  77. #hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
  78. #hibernate.connection.url jdbc:derby:src/webapp/WEB-INF/derby;create=true
  79. #hibernate.connection.username
  80. #hibernate.connection.password
  81. ## DO NOT specify hibernate.connection.sqlDialect