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
| 13/Mai/2009 23:13:20 net.sf.hibernate.cfg.Environment <clinit>
INFO: Hibernate 2.1.8
13/Mai/2009 23:13:20 net.sf.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
13/Mai/2009 23:13:20 net.sf.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
13/Mai/2009 23:13:20 net.sf.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
13/Mai/2009 23:13:32 net.sf.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
13/Mai/2009 23:13:32 net.sf.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
13/Mai/2009 23:13:33 net.sf.hibernate.cfg.Configuration addResource
INFO: Mapping resource: empleado.hbm
13/Mai/2009 23:13:36 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: formacion.beans.empleado.Empleado -> EMPLEADOS
13/Mai/2009 23:13:36 net.sf.hibernate.cfg.Configuration addResource
INFO: Mapping resource: departamento.hbm
13/Mai/2009 23:13:37 net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: formacion.beans.departamento.Departamento -> DEPARTAMENTO
13/Mai/2009 23:13:37 net.sf.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
13/Mai/2009 23:14:23 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
13/Mai/2009 23:14:23 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-one association property references
13/Mai/2009 23:14:23 net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
13/Mai/2009 23:14:23 net.sf.hibernate.cfg.SettingsFactory buildSettings
WARNING: No dialect set - using GenericDialect: Dialect class not found: org.hibernate.dialect.MySQLDialect
13/Mai/2009 23:14:23 net.sf.hibernate.dialect.Dialect <init>
INFO: Using dialect: net.sf.hibernate.dialect.GenericDialect
13/Mai/2009 23:14:23 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use outer join fetching: true
13/Mai/2009 23:14:23 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
13/Mai/2009 23:14:23 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
13/Mai/2009 23:14:23 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/formacion
13/Mai/2009 23:14:23 net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=formacion, password=formacion}
13/Mai/2009 23:14:24 net.sf.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
13/Mai/2009 23:14:24 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use scrollable result sets: true
13/Mai/2009 23:14:24 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Use JDBC3 getGeneratedKeys(): true
13/Mai/2009 23:14:24 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: false
13/Mai/2009 23:14:24 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
13/Mai/2009 23:14:24 net.sf.hibernate.cfg.SettingsFactory buildSettings
INFO: cache provider: net.sf.hibernate.cache.EhCacheProvider
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:142)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1172)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:803)
at formacion.beans.departamento.base._BaseRootDAO.initialize(_BaseRootDAO.java:54)
at formacion.beans.departamento.base._BaseRootDAO.initialize(_BaseRootDAO.java:38)
at com.test.hibernate.Test.main(Test.java:21) |