ok i've been following the turorial at
http://www.warfrog.com/hibernatetutorial/ to the book!
But when i run the HibernateTutorial.java it comes up with this:
---------------------------------------------------------------------------
(cfg.Environment 462 ) Hibernate 2.1.4
(cfg.Environment 496 ) loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=org.hsqldb.jdbcDriver, hibernate.cglib.use_reflection_optimizer=true, hibernate.cache.provider_class=net.sf.ehcache.hibernate.Provider, hibernate.cache.use_query_cache=true, hibernate.max_fetch_depth=1, hibernate.dialect=net.sf.hibernate.dialect.HSQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.connection.username=sa, hibernate.cache.region_prefix=hibernate.test, hibernate.connection.url=jdbc:hsqldb:hsql://localhost, hibernate.connection.password=, hibernate.connection.pool_size=1}
(cfg.Environment 521 ) using java.io streams to persist binary types
(cfg.Environment 522 ) using CGLIB reflection optimizer
(cfg.Configuration 347 ) Mapping resource: com/warfrog/hibernatetutorial/hibernate/Group.hbm.xml
(cfg.Binder 229 ) Mapping class: com.warfrog.hibernatetutorial.hibernate.Group -> GROUPS
(cfg.Configuration 347 ) Mapping resource: com/warfrog/hibernatetutorial/hibernate/User.hbm.xml
(cfg.Binder 229 ) Mapping class: com.warfrog.hibernatetutorial.hibernate.User -> USERS
(cfg.Configuration 613 ) processing one-to-many association mappings
(cfg.Binder 1168) Mapping collection: com.warfrog.hibernatetutorial.hibernate.Group.users -> USERS
(cfg.Configuration 622 ) processing one-to-one association property references
(cfg.Configuration 647 ) processing foreign key constraints
(dialect.Dialect 82 ) Using dialect: net.sf.hibernate.dialect.HSQLDialect
(cfg.SettingsFactory 58 ) Maximim outer join fetch depth: 1
(cfg.SettingsFactory 62 ) Use outer join fetching: false
(connection.DriverManagerConnectionProvider 42 ) Using Hibernate built-in connection pool (not for production use!)
(connection.DriverManagerConnectionProvider 43 ) Hibernate connection pool size: 1
(connection.DriverManagerConnectionProvider 77 ) using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost
(connection.DriverManagerConnectionProvider 78 ) connection properties: {user=sa, password=}
(transaction.TransactionManagerLookupFactory 33 ) No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
---------------------------------------------------------------------------
And nothing else, i have no idea what im doing wrong here... i can connect to the database if i user the DatabaseManager.
Setup files are:
hibernate.dialect net.sf.hibernate.dialect.HSQLDialect
hibernate.connection.driver_class org.hsqldb.jdbcDriver
hibernate.connection.username sa
hibernate.connection.password
hibernate.connection.url jdbc:hsqldb:hsql://localhost
any help appriciated!
/M