Joined: Thu May 18, 2006 12:12 am Posts: 3
|
Hello All,
I am a hibernate novice and working my way through the tutorial from Hibernate. I have a Oracle 10g. Everythings seem to be working fine as I don't see any exceptions being thrown. Here are what I get in my log:
22:20:27,651 INFO Environment:464 - Hibernate 3.0.5 22:20:27,651 INFO Environment:477 - hibernate.properties not found 22:20:27,651 INFO Environment:510 - using CGLIB reflection optimizer 22:20:27,651 INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling 22:20:27,712 INFO Configuration:1110 - configuring from resource: /hibernate.cfg.xml 22:20:27,712 INFO Configuration:1081 - Configuration resource: /hibernate.cfg.xml 22:20:27,962 INFO Configuration:444 - Mapping resource: Event.hbm.xml 22:20:28,072 INFO HbmBinder:260 - Mapping class: trai.hibernate.Event -> EVENT 22:20:28,092 INFO Configuration:1222 - Configured SessionFactory: null 22:20:28,092 INFO Configuration:875 - processing extends queue 22:20:28,092 INFO Configuration:879 - processing collection mappings 22:20:28,092 INFO Configuration:888 - processing association property references 22:20:28,092 INFO Configuration:917 - processing foreign key constraints 22:20:28,152 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!) 22:20:28,152 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 10 22:20:28,152 INFO DriverManagerConnectionProvider:45 - autocommit mode: false 22:20:28,162 INFO DriverManagerConnectionProvider:80 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:jaguar 22:20:28,162 INFO DriverManagerConnectionProvider:86 - connection properties: {user=scott, password=****} 22:20:28,423 INFO SettingsFactory:77 - RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options 22:20:28,433 INFO SettingsFactory:78 - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0 22:20:28,453 INFO Dialect:92 - Using dialect: org.hibernate.dialect.Oracle9Dialect 22:20:28,463 INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions) 22:20:28,463 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 22:20:28,473 INFO SettingsFactory:125 - Automatic flush during beforeCompletion(): disabled 22:20:28,473 INFO SettingsFactory:129 - Automatic session close at end of transaction: disabled 22:20:28,473 INFO SettingsFactory:136 - JDBC batch size: 15 22:20:28,473 INFO SettingsFactory:139 - JDBC batch updates for versioned data: disabled 22:20:28,473 INFO SettingsFactory:144 - Scrollable result sets: enabled 22:20:28,473 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): enabled 22:20:28,473 INFO SettingsFactory:160 - Connection release mode: null 22:20:28,473 INFO SettingsFactory:187 - Default batch fetch size: 1 22:20:28,473 INFO SettingsFactory:191 - Generate SQL with comments: disabled 22:20:28,473 INFO SettingsFactory:195 - Order SQL updates by primary key: disabled 22:20:28,473 INFO SettingsFactory:334 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 22:20:28,473 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTranslatorFactory 22:20:28,473 INFO SettingsFactory:203 - Query language substitutions: {} 22:20:28,483 INFO SettingsFactory:209 - Second-level cache: enabled 22:20:28,483 INFO SettingsFactory:213 - Query cache: disabled 22:20:28,483 INFO SettingsFactory:321 - Cache provider: org.hibernate.cache.EhCacheProvider 22:20:28,483 INFO SettingsFactory:228 - Optimize cache for minimal puts: disabled 22:20:28,483 INFO SettingsFactory:237 - Structured second-level cache entries: disabled 22:20:28,493 INFO SettingsFactory:257 - Echoing all SQL to stdout 22:20:28,493 INFO SettingsFactory:261 - Statistics: disabled 22:20:28,493 INFO SettingsFactory:265 - Deleted entity synthetic identifier rollback: disabled 22:20:28,503 INFO SettingsFactory:279 - Default entity-mode: pojo 22:20:28,583 INFO SessionFactoryImpl:152 - building session factory 22:20:28,593 WARN Configurator:126 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Program%20Files/MyEclipse/eclipse/plugins/org.hibernate.eclipse_4.1.0/myeclipse-data/3.0/lib/ehcache-1.1.jar!/ehcache-failsafe.xml 22:20:28,823 INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured 22:20:28,823 INFO Dialect:92 - Using dialect: org.hibernate.dialect.Oracle9Dialect 22:20:28,823 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!) 22:20:28,823 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 10 22:20:28,823 INFO DriverManagerConnectionProvider:45 - autocommit mode: false 22:20:28,823 INFO DriverManagerConnectionProvider:80 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:jaguar 22:20:28,823 INFO DriverManagerConnectionProvider:86 - connection properties: {user=scott, password=****} 22:20:28,833 INFO SchemaUpdate:105 - Running hbm2ddl schema update 22:20:28,833 INFO SchemaUpdate:117 - fetching database metadata 22:20:28,923 INFO SchemaUpdate:133 - updating schema 22:20:28,933 INFO Configuration:875 - processing extends queue 22:20:28,933 INFO Configuration:879 - processing collection mappings 22:20:28,933 INFO Configuration:888 - processing association property references 22:20:28,933 INFO Configuration:917 - processing foreign key constraints 22:20:29,154 INFO TableMetadata:38 - table found: SCOTT.EVENT 22:20:29,154 INFO TableMetadata:39 - columns: [event_id, title, event_date] 22:20:29,154 INFO TableMetadata:40 - foreign keys: [] 22:20:29,154 INFO TableMetadata:41 - indexes: [] 22:20:29,154 INFO SchemaUpdate:153 - schema update complete 22:20:29,154 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@localhost:1521:jaguar 22:20:29,154 INFO SessionFactoryImpl:379 - Checking 0 named queries Hibernate: select hibernate_sequence.nextval from dual 22:20:29,204 INFO SessionFactoryImpl:776 - closing 22:20:29,204 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:oracle:thin:@localhost:1521:jaguar
I have Oracle table "EVENT" but there is nothing being saved yet. I have no idea why? can you please help me with it?
Thanks.
|
|