Guest User

Untitled

a guest
Sep 15th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. Hibernate connection with HSQLDB
  2. 172 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
  3. 172 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.6.10.Final
  4. 172 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
  5. 187 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
  6. 187 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
  7. 265 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
  8. 265 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
  9. 375 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : org/itg/ACLwithHibernate/User.hbm.xml
  10. 484 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
  11.  
  12. 562 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: org.itg.ACLwithHibernate.User -> USER
  13. 577 [main] INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring
  14. 593 [main] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
  15. 593 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
  16. 593 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 10
  17. 593 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
  18. 609 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost:9001
  19. 609 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=sa, password=****}
  20.  
  21. <hibernate-configuration>
  22.  
  23. <session-factory>
  24.  
  25. <!-- Database connection settings -->
  26. <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
  27. <property name="connection.url">jdbc:hsqldb:hsql://localhost:9001</property>
  28. <property name="connection.username">sa</property>
  29. <property name="connection.password"></property>
  30.  
  31. <!-- JDBC connection pool (use the built-in) -->
  32. <property name="connection.pool_size">10</property>
  33.  
  34. <!-- SQL dialect -->
  35. <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
  36.  
  37. <!-- Enable Hibernate's automatic session context management -->
  38. <property name="current_session_context_class">thread</property>
  39.  
  40. <!-- Disable the second-level cache -->
  41. <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
  42.  
  43. <!-- Echo all executed SQL to stdout -->
  44. <property name="show_sql">true</property>
  45.  
  46. <!-- Drop and re-create the database schema on startup -->
  47. <property name="hbm2ddl.auto">update</property>
  48.  
  49. <mapping resource="org/itg/ACLwithHibernate/User.hbm.xml"/>
  50.  
  51. </session-factory>
  52.  
  53. </hibernate-configuration>
  54.  
  55. [Server@3ed5dee4]: [Thread[org.hsqldb.Server.main(),5,org.hsqldb.Server]]: checkRunning(false) entered
  56. [Server@3ed5dee4]: [Thread[org.hsqldb.Server.main(),5,org.hsqldb.Server]]: checkRunning(false) exited
  57. [Server@3ed5dee4]: Startup sequence initiated from main() method
  58. [Server@3ed5dee4]: Loaded properties from [C:Usersdbrworkspacetest_hibernateserver.properties]
  59. [Server@3ed5dee4]: Initiating startup sequence...
  60. [Server@3ed5dee4]: Server socket opened successfully in 0 ms.
  61. [Server@3ed5dee4]: Database [index=0, id=0, db=file:target/data/tutorial, alias=] opened sucessfully in 630 ms.
  62. [Server@3ed5dee4]: Startup sequence completed in 640 ms.
  63. [Server@3ed5dee4]: 2012-07-18 12:36:53.717 HSQLDB server 2.0.0 is online on port 9001
  64. [Server@3ed5dee4]: To close normally, connect and execute SHUTDOWN SQL
  65. [Server@3ed5dee4]: From command line, use [Ctrl]+[C] to abort abruptly
  66.  
  67. [Thread[HSQLDB Server @1af5458a,5,org.hsqldb.Server]]: handleConnection(Socket[addr=/127.0.0.1,port=49438,localport=9001]) entered
  68. [Thread[HSQLDB Server @1af5458a,5,org.hsqldb.Server]]: handleConnection() exited
  69. [Thread[HSQLDB Connection @9437a04,5,HSQLDB Connections @1af5458a]]: ODBC client connected. ODBC Protocol Compatibility Version 0.0
  70.  
  71. [Thread[HSQLDB Connection @9437a04,5,HSQLDB Connections @1af5458a]]: ODBC client connected. ODBC Protocol Compatibility Version 0.0
Add Comment
Please, Sign In to add comment