Hello,
This is the stack trace produced when I try to run an JUnit test class on a project build with Hibernate/Eclipse:
0 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.0.SP1 16 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found 16 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist 16 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling 47 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml 47 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml 94 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : Account.hbm.xml 156 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.Account -> ACCOUNT 156 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.Account.accountOwners -> ACCOUNT_ACCOUNT_OWNER 172 [main] INFO org.hibernate.cfg.HbmBinder - Mapping subclass: courses.hibernate.vo.SavingsAccount -> ACCOUNT 172 [main] INFO org.hibernate.cfg.HbmBinder - Mapping subclass: courses.hibernate.vo.CheckingAccount -> ACCOUNT 172 [main] INFO org.hibernate.cfg.HbmBinder - Mapping subclass: courses.hibernate.vo.CdAccount -> ACCOUNT 172 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : AccountOwner.hbm.xml 203 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.AccountOwner -> ACCOUNT_OWNER 203 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.AccountOwner.accounts -> ACCOUNT_ACCOUNT_OWNER 203 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : AccountTransaction.hbm.xml 219 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.AccountTransaction -> ACCOUNT_TRANSACTION 250 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: courses.hibernate.vo.PhysicalAccountTransaction -> PHYSICAL_ACCOUNT_TRANSACTION 250 [main] INFO org.hibernate.cfg.HbmBinder - Mapping joined-subclass: courses.hibernate.vo.ElectronicAccountTransaction -> ELECTRONIC_ACCOUNT_TRANSACTION 250 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : EBill.hbm.xml 266 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.EBill -> EBILL 266 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : EBiller.hbm.xml 281 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.EBiller -> EBILLER 281 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : EBillerRegistration.hbm.xml 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: courses.hibernate.vo.EBillerRegistration -> ACCOUNT_EBILLER 297 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.Account.ebillerRegistrations -> ACCOUNT_EBILLER 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.Account.accountTransactions -> ACCOUNT_TRANSACTION 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.Account.ebills -> EBILL 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.EBiller.ebillerRegistrations -> ACCOUNT_EBILLER 297 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: courses.hibernate.vo.EBiller.ebills -> EBILL 328 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!) 328 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 1 328 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false 328 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:XE 328 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=lecture5, password=****} 453 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production 453 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0XE 453 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.Oracle10gDialect 453 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions) 453 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 453 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15 453 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto 453 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1 453 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled 453 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 468 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory 468 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {} 468 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory 468 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout 468 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled 468 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo 468 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled 484 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory 640 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured Hibernate: select max(ACCOUNT_ID) from ACCOUNT 749 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 749 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_OWNER_ID) from ACCOUNT_OWNER 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 765 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 765 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 780 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 780 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 780 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 780 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 780 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 780 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
Hibernate: select max(ACCOUNT_ID) from ACCOUNT 780 [main] WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 942, SQLState: 42000 780 [main] ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00942: table or view does not exist
I am using Oracle XE and have the ACCOUNT table created. Suggestions ?
Paolo
|