1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
15 août 2008 11:58:52 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.1.2
15 août 2008 11:58:52 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
15 août 2008 11:58:52 org.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
15 août 2008 11:58:52 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
15 août 2008 11:58:52 org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
15 août 2008 11:58:52 org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Adresse.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Adresse -> adresse
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Banque.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Banque -> banque
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Compte.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Compte -> compte
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Coordonnee.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Coordonnee -> coordonnee
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Devise.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Devise -> devise
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Socfactoring.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Socfactoring -> socfactoring
15 août 2008 11:58:53 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource: Pays.hbm
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: com.Pays -> pays
15 août 2008 11:58:53 org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Adresse.Socfactorings -> socfactoring
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Adresse.Banques -> banque
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Banque.Comptes -> compte
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Coordonnee.Adresses -> adresse
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Devise.Comptes -> compte
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Socfactoring.Comptes -> compte
15 août 2008 11:58:53 org.hibernate.cfg.HbmBinder bindCollectionSecondPass
INFO: Mapping collection: com.Pays.Adresses -> adresse
15 août 2008 11:58:53 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
15 août 2008 11:58:53 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
15 août 2008 11:58:53 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
15 août 2008 11:58:53 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3309/cyruscp
15 août 2008 11:58:53 org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=root, password=****}
15 août 2008 11:58:53 org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: MySQL, version: 5.0.51b-community-nt
15 août 2008 11:58:53 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.5 ( $Date: 2007-03-01 00:01:06 +0100 (Thu, 01 Mar 2007) $, $Revision: 6329 $ )
15 août 2008 11:58:54 org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.MySQLDialect
15 août 2008 11:58:54 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
15 août 2008 11:58:54 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 2
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
15 août 2008 11:58:54 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.EhCacheProvider
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
15 août 2008 11:58:54 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
15 août 2008 11:58:54 org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
15 août 2008 11:58:54 net.sf.ehcache.config.Configurator configure
ATTENTION: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Documents%20and%20Settings/bao/workspace/Hibernate%20test/WebContent/WEB-INF/lib/ehcache-0.9.jar!/ehcache-failsafe.xml
Initial SessionFactory creation failed.org.hibernate.MappingException: could not instantiate id generator
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.HibernateUtil.<clinit>(HibernateUtil.java:16)
at TestHib.RunTest.main(RunTest.java:11)
Caused by: org.hibernate.MappingException: could not instantiate id generator
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:97)
at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:152)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:181)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at com.HibernateUtil.<clinit>(HibernateUtil.java:12)
... 1 more
Caused by: org.hibernate.MappingException: could not interpret id generator strategy: vm
at org.hibernate.id.IdentifierGeneratorFactory.getIdentifierGeneratorClass(IdentifierGeneratorFactory.java:108)
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:91)
... 5 more |
Partager