hibernate映射生成数据库,报错
错误信息如下:
10 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
13 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
16 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
19 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
65 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
65 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
134 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : com/sina/domain/Message.hbm.xml
201 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.sina.domain.Message -> Message
262 [main] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : com/sina/domain/User.hbm.xml
286 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: com.sina.domain.User -> User
290 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
292 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: com.sina.domain.User.getterMessage -> Message
293 [main] INFO org.hibernate.cfg.HbmBinder - Mapping collection: com.sina.domain.User.senderMessage -> Message
298 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
298 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 20
298 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
315 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@127.0.0.1:1521:orcl
315 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=scott, password=****}
479 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: Oracle, version: Oracle Database 11g Release 11.1.0.0.0 - Production
479 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
491 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.Oracle9Dialect
492 [main] WARN org.hibernate.dialect.Oracle9Dialect - The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
496 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
497 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional