database.properties 3.1 KB

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