Hibernate version: 3.2alpha1
Database: Oracle XE 10g
When running <hbm2java> against an Oracle database I get the appended log messages. The last two lines are repeated in an endless loop. Using PostgreSQL 8.1.3 everything works fine.
Output of <hbm2java>:
[hibernatetool] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering)
[hibernatetool] 1. task: hbm2java (Generates a set of .java files)
[hibernatetool] INFO cfg.Environment - Hibernate 3.2 alpha1
[hibernatetool] INFO cfg.Environment - loaded properties from resource hibernate.properties: {hibernate.connection.username=hska, hibernate.connection.password=****, hibernate.connection.pool_size=1, hibernate.dialect=org.hibernate.dialect.OracleDialect, hibernate.connection.url=jdbc:oracle:thin:@localhost:1521:XE, hibernate.bytecode.use_reflection_optimizer=true, hibernate.connection.driver_class=oracle.jdbc.OracleDriver}
[hibernatetool] INFO cfg.Environment - using bytecode reflection optimizer
[hibernatetool] INFO cfg.Environment - Bytecode provider name : cglib
[hibernatetool] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] INFO connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
[hibernatetool] INFO connection.DriverManagerConnectionProvider - Hibernate connection pool size: 1
[hibernatetool] INFO connection.DriverManagerConnectionProvider - autocommit mode: false
[hibernatetool] INFO connection.DriverManagerConnectionProvider - using driver: oracle.jdbc.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:XE
[hibernatetool] INFO connection.DriverManagerConnectionProvider - connection properties: {user=hska, password=****}
[hibernatetool] INFO cfg.SettingsFactory - RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
[hibernatetool] INFO cfg.SettingsFactory - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0XE
[hibernatetool] INFO dialect.Dialect - Using dialect: org.hibernate.dialect.OracleDialect
[hibernatetool] INFO transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
[hibernatetool] INFO transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
[hibernatetool] INFO cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
[hibernatetool] INFO cfg.SettingsFactory - Automatic session close at end of transaction: disabled
[hibernatetool] INFO cfg.SettingsFactory - JDBC batch size: 15
[hibernatetool] INFO cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
[hibernatetool] INFO cfg.SettingsFactory - Scrollable result sets: enabled
[hibernatetool] INFO cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
[hibernatetool] INFO cfg.SettingsFactory - Connection release mode: auto
[hibernatetool] INFO cfg.SettingsFactory - Default batch fetch size: 1
[hibernatetool] INFO cfg.SettingsFactory - Generate SQL with comments: disabled
[hibernatetool] INFO cfg.SettingsFactory - Order SQL updates by primary key: disabled
[hibernatetool] INFO cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[hibernatetool] INFO ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
[hibernatetool] INFO cfg.SettingsFactory - Query language substitutions: {}
[hibernatetool] INFO cfg.SettingsFactory - Second-level cache: enabled
[hibernatetool] INFO cfg.SettingsFactory - Query cache: disabled
[hibernatetool] INFO cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
[hibernatetool] INFO cfg.SettingsFactory - Optimize cache for minimal puts: disabled
[hibernatetool] INFO cfg.SettingsFactory - Structured second-level cache entries: disabled
[hibernatetool] INFO cfg.SettingsFactory - Statistics: disabled
[hibernatetool] INFO cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
[hibernatetool] INFO cfg.SettingsFactory - Default entity-mode: pojo
[hibernatetool] WARN cfg.JDBCBinder - The JDBC driver didn't report any primary key columns in CTX_CLASSES. Asking rev.eng. strategy
[hibernatetool] WARN cfg.JDBCBinder - Rev.eng. strategy did not report any primary key columns for CTX_CLASSES
|