aspose file tools*
The moose likes Object Relational Mapping and the fly likes problem with hibernate mapping file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "problem with hibernate mapping file" Watch "problem with hibernate mapping file" New topic
Author

problem with hibernate mapping file

ilyas besli
Greenhorn

Joined: Sep 13, 2007
Posts: 9
When I run project, Occurs one problem.
Problem say that:

Error parsing XML: XML InputStream(3) An invalid XML character (Unicode: 0x9) was found in the public identifier.
Could not parse mapping document from resource
hibernateWithMySQL/Hibernate.hbm.xml

My hibernate file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-
//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping>
<class name="hibernateWithMtSQL.Hibernate" table="honey">
<id name="id" column="id" type="java.lang.Integer">
<generator class="increment"/> </id>
<property name="name" column="name" type="java.lang.String" />
<property name="taste" column="taste" type="java.lang.String" />
</class>
</hibernate-mapping>


Do you see any wrong thing.

For any help, thanks
ilyas besli
Greenhorn

Joined: Sep 13, 2007
Posts: 9
I see my mistake.
I correct it,
But this time, different error occurred.
It say : entity class not found: mysqlHibernate.Hibernate
( this file is Hibernate.hbm.xml) However as you see program parse the file,
then it say I could not found I confused

The full error is :

2007-09-19 14:58:59,300 INFO [main] (Environment.java:514) - Hibernate 3.2.4.sp1
2007-09-19 14:58:59,320 INFO [main] (Environment.java:547) - hibernate.properties not found
2007-09-19 14:58:59,330 INFO [main] (Environment.java:681) - Bytecode provider name : cglib
2007-09-19 14:58:59,330 INFO [main] (Environment.java:598) - using JDK 1.4 java.sql.Timestamp handling
2007-09-19 14:58:59,450 INFO [main] (Configuration.java:1426) - configuring from resource: /hibernate.cfg.xml
2007-09-19 14:58:59,450 INFO [main] (Configuration.java:1403) - Configuration resource: /hibernate.cfg.xml
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:38) - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:40) - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:50) - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.url=jdbc:mysql://localhost/person
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.username=root
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.driver_class=com.mysql.jdbc.Driver
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - dialect=org.hibernate.dialect.MySQLDialect
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.password=ilyas
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - current_session_context_class=thread
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - hibernate.show_sql=true
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1586) - null<-org.dom4j.tree.DefaultAttribute@3570b0 [Attribute: name resource value "mysqlHibernate/Hibernate.hbm.xml"]
2007-09-19 14:59:00,171 INFO [main] (Configuration.java:553) - Reading mappings from resource : mysqlHibernate/Hibernate.hbm.xml
2007-09-19 14:59:00,171 DEBUG [main] (DTDEntityResolver.java:38) - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
2007-09-19 14:59:00,171 DEBUG [main] (DTDEntityResolver.java:40) - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
2007-09-19 14:59:00,181 DEBUG [main] (DTDEntityResolver.java:50) - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
2007-09-19 14:59:00,362 INFO [main] (HbmBinder.java:300) - Mapping class: [B]mysqlHibernate.Hibernate -> honey
2007-09-19 14:59:00,372 DEBUG [main] (HbmBinder.java:1270) - Mapped property: id -> id
2007-09-19 14:59:00,392 DEBUG [main] (HbmBinder.java:1270) - Mapped property: name -> name
2007-09-19 14:59:00,392 DEBUG [main] (HbmBinder.java:1270) - Mapped property: taste -> taste[/B]
2007-09-19 14:59:00,392 INFO [main] (Configuration.java:1541) - Configured SessionFactory: null
2007-09-19 14:59:00,392 DEBUG [main] (Configuration.java:1542) - properties: {hibernate.connection.password=ilyas, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\j2sdk1.4.2_13\jre\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\workspace\TimeSheet, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.current_session_context_class=thread, java.endorsed.dirs=C:\j2sdk1.4.2_13\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\stajyer1\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, java.library.path=C:\j2sdk1.4.2_13\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora92\bin;C:\j2sdk1.4.2_13\bin;C:\jdk1.3.1_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Common Files\GTK\2.0\bin;C:\MSSQL7\BINN; C:\Program Files\Symantec\pcAnywhere\;C:\workspace\klass\src\log4j.properties, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, connection.password=ilyas, user.home=C:\Documents and Settings\stajyer1, user.timezone=Europe/Athens, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=com.mysql.jdbc.Driver, user.name=stajyer1, java.class.path=C:\workspace\TimeSheet\build\classes;C:\Tomcat 5.0\common\lib\ant.jar;C:\Tomcat 5.0\common\lib\classes111.jar;C:\Tomcat 5.0\common\lib\classes12.jar;C:\Tomcat 5.0\common\lib\commons-collections.jar;C:\Tomcat 5.0\common\lib\commons-dbcp-1.1.jar;C:\Tomcat 5.0\common\lib\commons-el.jar;C:\Tomcat 5.0\common\lib\commons-pool-1.1.jar;C:\Tomcat 5.0\common\lib\jasper-compiler.jar;C:\Tomcat 5.0\common\lib\jasper-runtime.jar;C:\Tomcat 5.0\common\lib\jmx-remote-tools.jar;C:\Tomcat 5.0\common\lib\jmx-remote.jar;C:\Tomcat 5.0\common\lib\jmx.jar;C:\Tomcat 5.0\common\lib\jsp-api.jar;C:\Tomcat 5.0\common\lib\naming-common.jar;C:\Tomcat 5.0\common\lib\naming-factory.jar;C:\Tomcat 5.0\common\lib\naming-java.jar;C:\Tomcat 5.0\common\lib\naming-resources.jar;C:\Tomcat 5.0\common\lib\pg73jdbc3.jar;C:\Tomcat 5.0\common\lib\servlet-api.jar;C:\Tomcat 5.0\common\lib\tools.jar;C:\Tomcat 5.0\common\endorsed\xercesImpl.jar;C:\Tomcat 5.0\common\endorsed\xmlParserAPIs.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\servlet-api.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\hibernate3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\antlr-2.7.6.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm-attrs.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\c3p0-0.9.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cglib-2.1.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\checkstyle-all.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cleanimports.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\connector.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaas.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\javassist.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-cache.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-common.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-jmx.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-system.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jta.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\junit-3.8.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\log4j-1.2.11.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\oscache-2.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\proxool-0.8.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\syndiag2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\versioncheck.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xml-apis.jar;C:\workspace\TimeSheet\lib\ant-contrib.jar;C:\workspace\TimeSheet\lib\antlr-2.7.6.jar;C:\workspace\TimeSheet\lib\asm.jar;C:\workspace\TimeSheet\lib\asm-attrs.jar;C:\workspace\TimeSheet\lib\aspectjrt.jar;C:\workspace\TimeSheet\lib\aspectjtools.jar;C:\workspace\TimeSheet\lib\c3p0-0.8.5-pre8.jar;C:\workspace\TimeSheet\lib\cglib-2.1.3.jar;C:\workspace\TimeSheet\lib\commons-collections-2.1.1.jar;C:\workspace\TimeSheet \lib\commons-logging.jar;C:\workspace\TimeSheet\lib\dom4j-1.6.1.jar;C:\workspace\TimeSheet\lib\hibernate3.jar;C:\workspace\TimeSheet\lib\jboss-common-jdbc-wrapper.jar;C:\workspace\TimeSheet\lib\jdbc2_0-stdext.jar;C:\workspace\TimeSheet\lib\jta.jar;C:\workspace\TimeSheet\lib\jta-spec1_0_1.jar;C:\workspace\TimeSheet\lib\junit.jar;C:\workspace\TimeSheet\lib\log4j-1.2.11.jar;C:\workspace\TimeSheet\lib\log4j-1.2.9.jar;C:\workspace\TimeSheet\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\lib\postgresql-8.2- 506.jdbc3.jar;C:\workspace\TimeSheet\lib\xerces.jar;C:\workspace\TimeSheet\lib\mysql-connector-java-5.0.7-bin.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, current_session_context_class=thread, java.vm.specification.version=1.0, java.home=C:\j2sdk1.4.2_13\jre, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost/person, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\j2sdk1.4.2_13\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_13\jre\lib\rt.jar;C:\j2sdk1.4.2_13\jre\lib\i18n.jar;C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_13\jre\lib\jsse.jar;C:\j2sdk1.4.2_13\jre\lib\jce.jar;C:\j2sdk1.4.2_13\jre\lib\charsets.jar;C:\j2sdk1.4.2_13\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, connection.url=jdbc:mysql://localhost/person, dialect=org.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386}
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1285) - Preparing to build session factory with filters : {}
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1120) - processing extends queue
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1124) - processing collection mappings
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1135) - processing native query and ResultSetMapping mappings
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1143) - processing association property references
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1165) - processing foreign key constraints
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:41) - Using Hibernate built-in connection pool (not for production use!)
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:42) - Hibernate connection pool size: 20
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:45) - autocommit mode: false
2007-09-19 14:59:00,612 INFO [main] (DriverManagerConnectionProvider.java:80) - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/person
2007-09-19 14:59:00,612 INFO [main] (DriverManagerConnectionProvider.java:83) - connection properties: {user=root, password=ilyas}
2007-09-19 14:59:00,622 DEBUG [main] (DriverManagerConnectionProvider.java:93) - total checked-out connections: 0
2007-09-19 14:59:00,622 DEBUG [main] (DriverManagerConnectionProvider.java:109) - opening new JDBC connection
2007-09-19 14:59:01,103 DEBUG [main] (DriverManagerConnectionProvider.java:115) - created connection to: jdbc:mysql://localhost/person, Isolation Level: 4
2007-09-19 14:59:01,103 INFO [main] (SettingsFactory.java:89) - RDBMS: MySQL, version: 5.0.45-community-nt
2007-09-19 14:59:01,103 INFO [main] (SettingsFactory.java:90) - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
2007-09-19 14:59:01,103 DEBUG [main] (DriverManagerConnectionProvider.java:129) - returning connection to pool, pool size: 1
2007-09-19 14:59:01,153 INFO [main] (Dialect.java:152) - Using dialect: org.hibernate.dialect.MySQLDialect
2007-09-19 14:59:01,163 INFO [main] (TransactionFactoryFactory.java:34) - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
2007-09-19 14:59:01,163 INFO [main] (TransactionManagerLookupFactory.java:33) - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2007-09-19 14:59:01,163 INFO [main] (SettingsFactory.java:143) - Automatic flush during beforeCompletion(): disabled
2007-09-19 14:59:01,163 INFO [main] (SettingsFactory.java:147) - Automatic session close at end of transaction: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:154) - JDBC batch size: 15
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:157) - JDBC batch updates for versioned data: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:162) - Scrollable result sets: enabled
2007-09-19 14:59:01,173 DEBUG [main] (SettingsFactory.java:166) - Wrap result sets: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:170) - JDBC3 getGeneratedKeys(): enabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:178) - Connection release mode: auto
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:202) - Maximum outer join fetch depth: 2
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:205) - Default batch fetch size: 1
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:209) - Generate SQL with comments: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:213) - Order SQL updates by primary key: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:217) - Order SQL inserts for batching: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:386) - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2007-09-19 14:59:01,183 INFO [main] (ASTQueryTranslatorFactory.java:24) - Using ASTQueryTranslatorFactory
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:225) - Query language substitutions: {}
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:230) - JPA-QL strict compliance: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:235) - Second-level cache: enabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:239) - Query cache: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:373) - Cache provider: org.hibernate.cache.NoCacheProvider
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:254) - Optimize cache for minimal puts: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:263) - Structured second-level cache entries: disabled
2007-09-19 14:59:01,193 DEBUG [main] (SQLExceptionConverterFactory.java:52) - Using dialect defined converter
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:283) - Echoing all SQL to stdout
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:290) - Statistics: disabled
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:294) - Deleted entity synthetic identifier rollback: disabled
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:309) - Default entity-mode: pojo
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:313) - Named query checking : enabled
2007-09-19 14:59:01,453 INFO [main] (SessionFactoryImpl.java:161) - building session factory
2007-09-19 14:59:01,463 DEBUG [main] (SessionFactoryImpl.java:173) - Session factory constructed with filter configurations : {}
2007-09-19 14:59:01,473 DEBUG [main] (SessionFactoryImpl.java:177) - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=ilyas, transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\j2sdk1.4.2_13\jre\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\workspace\TimeSheet, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.current_session_context_class=thread, java.endorsed.dirs=C:\j2sdk1.4.2_13\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\stajyer1\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, java.library.path=C:\j2sdk1.4.2_13\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora92\bin;C:\j2sdk1.4.2_13\bin;C:\jdk1.3.1_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Common Files\GTK\2.0\bin;C:\MSSQL7\BINN; C:\Program Files\Symantec\pcAnywhere\;C:\workspace\klass\src\log4j.properties, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\stajyer1, connection.password=ilyas, user.timezone=Europe/Athens, java.awt.printerjob=sun.awt.windows.WPrinterJob, connection.username=root, java.specification.version=1.4, file.encoding=Cp1252, hibernate.connection.driver_class=com.mysql.jdbc.Driver, java.class.path=C:\workspace\TimeSheet\build\classes;C:\Tomcat 5.0\common\lib\ant.jar;C:\Tomcat 5.0\common\lib\classes111.jar;C:\Tomcat 5.0\common\lib\classes12.jar;C:\Tomcat 5.0\common\lib\commons-collections.jar;C:\Tomcat 5.0\common\lib\commons-dbcp-1.1.jar;C:\Tomcat 5.0\common\lib\commons-el.jar;C:\Tomcat 5.0\common\lib\commons-pool-1.1.jar;C:\Tomcat 5.0\common\lib\jasper-compiler.jar;C:\Tomcat 5.0\common\lib\jasper-runtime.jar;C:\Tomcat 5.0\common\lib\jmx-remote-tools.jar;C:\Tomcat 5.0\common\lib\jmx-remote.jar;C:\Tomcat 5.0\common\lib\jmx.jar;C:\Tomcat 5.0\common\lib\jsp-api.jar;C:\Tomcat 5.0\common\lib\naming-common.jar;C:\Tomcat 5.0\common\lib\naming-factory.jar;C:\Tomcat 5.0\common\lib\naming-java.jar;C:\Tomcat 5.0\common\lib\naming-resources.jar;C:\Tomcat 5.0\common\lib\pg73jdbc3.jar;C:\Tomcat 5.0\common\lib\servlet-api.jar;C:\Tomcat 5.0\common\lib\tools.jar;C:\Tomcat 5.0\common\endorsed\xercesImpl.jar;C:\Tomcat 5.0\common\endorsed\xmlParserAPIs.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\servlet-api.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\hibernate3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\antlr-2.7.6.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm-attrs.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\c3p0-0.9.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cglib-2.1.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\checkstyle-all.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cleanimports.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\connector.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaas.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\javassist.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-cache.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-common.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-jmx.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-system.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jta.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\junit-3.8.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\log4j-1.2.11.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\oscache-2.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\proxool-0.8.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\syndiag2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\versioncheck.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xml-apis.jar;C:\workspace\TimeSheet\lib\ant-contrib.jar;C:\workspace\TimeSheet\lib\antlr-2.7.6.jar;C:\workspace\TimeSheet\lib\asm.jar;C:\workspace\TimeSheet\lib\asm-attrs.jar;C:\workspace\TimeSheet\lib\aspectjrt.jar;C:\workspace\TimeSheet\lib\aspectjtools.jar;C:\workspace\TimeSheet\lib\c3p0-0.8.5-pre8.jar;C:\workspace\TimeSheet\lib\cglib-2.1.3.jar;C:\workspace\TimeSheet\lib\commons-collections-2.1.1.jar;C:\workspace\TimeSheet \lib\commons-logging.jar;C:\workspace\TimeSheet\lib\dom4j-1.6.1.jar;C:\workspace\TimeSheet\lib\hibernate3.jar;C:\workspace\TimeSheet\lib\jboss-common-jdbc-wrapper.jar;C:\workspace\TimeSheet\lib\jdbc2_0-stdext.jar;C:\workspace\TimeSheet\lib\jta.jar;C:\workspace\TimeSheet\lib\jta-spec1_0java.lang.NullPointerException
at mysqlHibernate.FirstExample.main(FirstExample.java:34)
_1.jar;C:\workspace\TimeSheet\lib\junit.jar;C:\workspace\TimeSheet\lib\log4j-1.2.11.jar;C:\workspace\TimeSheet\lib\log4j-1.2.9.jar;C:\workspace\TimeSheet\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\lib\postgresql-8.2-506.jdbc3.jar;C:\workspace\TimeSheet\lib\xerces.jar;C:\workspace\TimeSheet\lib\mysql-connector-java-5.0.7-bin.jar, user.name=stajyer1, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, current_session_context_class=thread, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=C:\j2sdk1.4.2_13\jre, hibernate.connection.url=jdbc:mysql://localhost/person, hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\j2sdk1.4.2_13\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_13\jre\lib\rt.jar;C:\j2sdk1.4.2_13\jre\lib\i18n.jar;C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_13\jre\lib\jsse.jar;C:\j2sdk1.4.2_13\jre\lib\jce.jar;C:\j2sdk1.4.2_13\jre\lib\charsets.jar;C:\j2sdk1.4.2_13\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, connection.driver_class=com.mysql.jdbc.Driver, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, connection.url=jdbc:mysql://localhost/person, sun.cpu.isalist=pentium i486 i386, dialect=org.hibernate.dialect.MySQLDialect}
entity class not found: mysqlHibernate.Hibernate
Exception in thread "main"
ilyas besli
Greenhorn

Joined: Sep 13, 2007
Posts: 9
I see my mistake.
I correct it,
But this time, different error occurred.
It say : entity class not found: mysqlHibernate.Hibernate
( this file is Hibernate.hbm.xml) However as you see program parse the file,
then it say I could not found I confused

The full error is :

2007-09-19 14:58:59,300 INFO [main] (Environment.java:514) - Hibernate 3.2.4.sp1
2007-09-19 14:58:59,320 INFO [main] (Environment.java:547) - hibernate.properties not found
2007-09-19 14:58:59,330 INFO [main] (Environment.java:681) - Bytecode provider name : cglib
2007-09-19 14:58:59,330 INFO [main] (Environment.java:598) - using JDK 1.4 java.sql.Timestamp handling
2007-09-19 14:58:59,450 INFO [main] (Configuration.java:1426) - configuring from resource: /hibernate.cfg.xml
2007-09-19 14:58:59,450 INFO [main] (Configuration.java:1403) - Configuration resource: /hibernate.cfg.xml
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:38) - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd]
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:40) - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
2007-09-19 14:59:00,071 DEBUG [main] (DTDEntityResolver.java:50) - located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.url=jdbc:mysql://localhost/person
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.username=root
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.driver_class=com.mysql.jdbc.Driver
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - dialect=org.hibernate.dialect.MySQLDialect
2007-09-19 14:59:00,161 DEBUG [main] (Configuration.java:1387) - connection.password=ilyas
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - current_session_context_class=thread
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1387) - hibernate.show_sql=true
2007-09-19 14:59:00,171 DEBUG [main] (Configuration.java:1586) - null<-org.dom4j.tree.DefaultAttribute@3570b0 [Attribute: name resource value "mysqlHibernate/Hibernate.hbm.xml"]
2007-09-19 14:59:00,171 INFO [main] (Configuration.java:553) - Reading mappings from resource : mysqlHibernate/Hibernate.hbm.xml
2007-09-19 14:59:00,171 DEBUG [main] (DTDEntityResolver.java:38) - trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd]
2007-09-19 14:59:00,171 DEBUG [main] (DTDEntityResolver.java:40) - recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/
2007-09-19 14:59:00,181 DEBUG [main] (DTDEntityResolver.java:50) - located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath
2007-09-19 14:59:00,362 INFO [main] (HbmBinder.java:300) - Mapping class: [B]mysqlHibernate.Hibernate -> honey
2007-09-19 14:59:00,372 DEBUG [main] (HbmBinder.java:1270) - Mapped property: id -> id
2007-09-19 14:59:00,392 DEBUG [main] (HbmBinder.java:1270) - Mapped property: name -> name
2007-09-19 14:59:00,392 DEBUG [main] (HbmBinder.java:1270) - Mapped property: taste -> taste[/B]
2007-09-19 14:59:00,392 INFO [main] (Configuration.java:1541) - Configured SessionFactory: null
2007-09-19 14:59:00,392 DEBUG [main] (Configuration.java:1542) - properties: {hibernate.connection.password=ilyas, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\j2sdk1.4.2_13\jre\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\workspace\TimeSheet, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.current_session_context_class=thread, java.endorsed.dirs=C:\j2sdk1.4.2_13\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\stajyer1\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, java.library.path=C:\j2sdk1.4.2_13\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora92\bin;C:\j2sdk1.4.2_13\bin;C:\jdk1.3.1_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Common Files\GTK\2.0\bin;C:\MSSQL7\BINN; C:\Program Files\Symantec\pcAnywhere\;C:\workspace\klass\src\log4j.properties, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, connection.password=ilyas, user.home=C:\Documents and Settings\stajyer1, user.timezone=Europe/Athens, connection.username=root, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.connection.driver_class=com.mysql.jdbc.Driver, user.name=stajyer1, java.class.path=C:\workspace\TimeSheet\build\classes;C:\Tomcat 5.0\common\lib\ant.jar;C:\Tomcat 5.0\common\lib\classes111.jar;C:\Tomcat 5.0\common\lib\classes12.jar;C:\Tomcat 5.0\common\lib\commons-collections.jar;C:\Tomcat 5.0\common\lib\commons-dbcp-1.1.jar;C:\Tomcat 5.0\common\lib\commons-el.jar;C:\Tomcat 5.0\common\lib\commons-pool-1.1.jar;C:\Tomcat 5.0\common\lib\jasper-compiler.jar;C:\Tomcat 5.0\common\lib\jasper-runtime.jar;C:\Tomcat 5.0\common\lib\jmx-remote-tools.jar;C:\Tomcat 5.0\common\lib\jmx-remote.jar;C:\Tomcat 5.0\common\lib\jmx.jar;C:\Tomcat 5.0\common\lib\jsp-api.jar;C:\Tomcat 5.0\common\lib\naming-common.jar;C:\Tomcat 5.0\common\lib\naming-factory.jar;C:\Tomcat 5.0\common\lib\naming-java.jar;C:\Tomcat 5.0\common\lib\naming-resources.jar;C:\Tomcat 5.0\common\lib\pg73jdbc3.jar;C:\Tomcat 5.0\common\lib\servlet-api.jar;C:\Tomcat 5.0\common\lib\tools.jar;C:\Tomcat 5.0\common\endorsed\xercesImpl.jar;C:\Tomcat 5.0\common\endorsed\xmlParserAPIs.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\servlet-api.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\hibernate3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\antlr-2.7.6.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm-attrs.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\c3p0-0.9.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cglib-2.1.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\checkstyle-all.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cleanimports.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\connector.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaas.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\javassist.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-cache.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-common.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-jmx.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-system.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jta.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\junit-3.8.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\log4j-1.2.11.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\oscache-2.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\proxool-0.8.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\syndiag2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\versioncheck.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xml-apis.jar;C:\workspace\TimeSheet\lib\ant-contrib.jar;C:\workspace\TimeSheet\lib\antlr-2.7.6.jar;C:\workspace\TimeSheet\lib\asm.jar;C:\workspace\TimeSheet\lib\asm-attrs.jar;C:\workspace\TimeSheet\lib\aspectjrt.jar;C:\workspace\TimeSheet\lib\aspectjtools.jar;C:\workspace\TimeSheet\lib\c3p0-0.8.5-pre8.jar;C:\workspace\TimeSheet\lib\cglib-2.1.3.jar;C:\workspace\TimeSheet\lib\commons-collections-2.1.1.jar;C:\workspace\TimeSheet \lib\commons-logging.jar;C:\workspace\TimeSheet\lib\dom4j-1.6.1.jar;C:\workspace\TimeSheet\lib\hibernate3.jar;C:\workspace\TimeSheet\lib\jboss-common-jdbc-wrapper.jar;C:\workspace\TimeSheet\lib\jdbc2_0-stdext.jar;C:\workspace\TimeSheet\lib\jta.jar;C:\workspace\TimeSheet\lib\jta-spec1_0_1.jar;C:\workspace\TimeSheet\lib\junit.jar;C:\workspace\TimeSheet\lib\log4j-1.2.11.jar;C:\workspace\TimeSheet\lib\log4j-1.2.9.jar;C:\workspace\TimeSheet\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\lib\postgresql-8.2- 506.jdbc3.jar;C:\workspace\TimeSheet\lib\xerces.jar;C:\workspace\TimeSheet\lib\mysql-connector-java-5.0.7-bin.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, current_session_context_class=thread, java.vm.specification.version=1.0, java.home=C:\j2sdk1.4.2_13\jre, sun.arch.data.model=32, hibernate.dialect=org.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost/person, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\j2sdk1.4.2_13\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_13\jre\lib\rt.jar;C:\j2sdk1.4.2_13\jre\lib\i18n.jar;C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_13\jre\lib\jsse.jar;C:\j2sdk1.4.2_13\jre\lib\jce.jar;C:\j2sdk1.4.2_13\jre\lib\charsets.jar;C:\j2sdk1.4.2_13\jre\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, connection.url=jdbc:mysql://localhost/person, dialect=org.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386}
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1285) - Preparing to build session factory with filters : {}
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1120) - processing extends queue
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1124) - processing collection mappings
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1135) - processing native query and ResultSetMapping mappings
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1143) - processing association property references
2007-09-19 14:59:00,402 DEBUG [main] (Configuration.java:1165) - processing foreign key constraints
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:41) - Using Hibernate built-in connection pool (not for production use!)
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:42) - Hibernate connection pool size: 20
2007-09-19 14:59:00,602 INFO [main] (DriverManagerConnectionProvider.java:45) - autocommit mode: false
2007-09-19 14:59:00,612 INFO [main] (DriverManagerConnectionProvider.java:80) - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/person
2007-09-19 14:59:00,612 INFO [main] (DriverManagerConnectionProvider.java:83) - connection properties: {user=root, password=ilyas}
2007-09-19 14:59:00,622 DEBUG [main] (DriverManagerConnectionProvider.java:93) - total checked-out connections: 0
2007-09-19 14:59:00,622 DEBUG [main] (DriverManagerConnectionProvider.java:109) - opening new JDBC connection
2007-09-19 14:59:01,103 DEBUG [main] (DriverManagerConnectionProvider.java:115) - created connection to: jdbc:mysql://localhost/person, Isolation Level: 4
2007-09-19 14:59:01,103 INFO [main] (SettingsFactory.java:89) - RDBMS: MySQL, version: 5.0.45-community-nt
2007-09-19 14:59:01,103 INFO [main] (SettingsFactory.java:90) - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
2007-09-19 14:59:01,103 DEBUG [main] (DriverManagerConnectionProvider.java:129) - returning connection to pool, pool size: 1
2007-09-19 14:59:01,153 INFO [main] (Dialect.java:152) - Using dialect: org.hibernate.dialect.MySQLDialect
2007-09-19 14:59:01,163 INFO [main] (TransactionFactoryFactory.java:34) - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
2007-09-19 14:59:01,163 INFO [main] (TransactionManagerLookupFactory.java:33) - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2007-09-19 14:59:01,163 INFO [main] (SettingsFactory.java:143) - Automatic flush during beforeCompletion(): disabled
2007-09-19 14:59:01,163 INFO [main] (SettingsFactory.java:147) - Automatic session close at end of transaction: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:154) - JDBC batch size: 15
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:157) - JDBC batch updates for versioned data: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:162) - Scrollable result sets: enabled
2007-09-19 14:59:01,173 DEBUG [main] (SettingsFactory.java:166) - Wrap result sets: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:170) - JDBC3 getGeneratedKeys(): enabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:178) - Connection release mode: auto
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:202) - Maximum outer join fetch depth: 2
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:205) - Default batch fetch size: 1
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:209) - Generate SQL with comments: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:213) - Order SQL updates by primary key: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:217) - Order SQL inserts for batching: disabled
2007-09-19 14:59:01,173 INFO [main] (SettingsFactory.java:386) - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2007-09-19 14:59:01,183 INFO [main] (ASTQueryTranslatorFactory.java:24) - Using ASTQueryTranslatorFactory
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:225) - Query language substitutions: {}
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:230) - JPA-QL strict compliance: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:235) - Second-level cache: enabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:239) - Query cache: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:373) - Cache provider: org.hibernate.cache.NoCacheProvider
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:254) - Optimize cache for minimal puts: disabled
2007-09-19 14:59:01,183 INFO [main] (SettingsFactory.java:263) - Structured second-level cache entries: disabled
2007-09-19 14:59:01,193 DEBUG [main] (SQLExceptionConverterFactory.java:52) - Using dialect defined converter
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:283) - Echoing all SQL to stdout
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:290) - Statistics: disabled
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:294) - Deleted entity synthetic identifier rollback: disabled
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:309) - Default entity-mode: pojo
2007-09-19 14:59:01,283 INFO [main] (SettingsFactory.java:313) - Named query checking : enabled
2007-09-19 14:59:01,453 INFO [main] (SessionFactoryImpl.java:161) - building session factory
2007-09-19 14:59:01,463 DEBUG [main] (SessionFactoryImpl.java:173) - Session factory constructed with filter configurations : {}
2007-09-19 14:59:01,473 DEBUG [main] (SessionFactoryImpl.java:177) - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=ilyas, transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\j2sdk1.4.2_13\jre\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service Pack 2, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\workspace\TimeSheet, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.current_session_context_class=thread, java.endorsed.dirs=C:\j2sdk1.4.2_13\jre\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\stajyer1\LOCALS~1\Temp\, line.separator=
, java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, sun.java2d.fontpath=, java.library.path=C:\j2sdk1.4.2_13\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora92\bin;C:\j2sdk1.4.2_13\bin;C:\jdk1.3.1_08\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\OpSession\Shared;C:\Program Files\Common Files\OpSession\Viewer Shared;C:\Program Files\Common Files\GTK\2.0\bin;C:\MSSQL7\BINN; C:\Program Files\Symantec\pcAnywhere\;C:\workspace\klass\src\log4j.properties, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\stajyer1, connection.password=ilyas, user.timezone=Europe/Athens, java.awt.printerjob=sun.awt.windows.WPrinterJob, connection.username=root, java.specification.version=1.4, file.encoding=Cp1252, hibernate.connection.driver_class=com.mysql.jdbc.Driver, java.class.path=C:\workspace\TimeSheet\build\classes;C:\Tomcat 5.0\common\lib\ant.jar;C:\Tomcat 5.0\common\lib\classes111.jar;C:\Tomcat 5.0\common\lib\classes12.jar;C:\Tomcat 5.0\common\lib\commons-collections.jar;C:\Tomcat 5.0\common\lib\commons-dbcp-1.1.jar;C:\Tomcat 5.0\common\lib\commons-el.jar;C:\Tomcat 5.0\common\lib\commons-pool-1.1.jar;C:\Tomcat 5.0\common\lib\jasper-compiler.jar;C:\Tomcat 5.0\common\lib\jasper-runtime.jar;C:\Tomcat 5.0\common\lib\jmx-remote-tools.jar;C:\Tomcat 5.0\common\lib\jmx-remote.jar;C:\Tomcat 5.0\common\lib\jmx.jar;C:\Tomcat 5.0\common\lib\jsp-api.jar;C:\Tomcat 5.0\common\lib\naming-common.jar;C:\Tomcat 5.0\common\lib\naming-factory.jar;C:\Tomcat 5.0\common\lib\naming-java.jar;C:\Tomcat 5.0\common\lib\naming-resources.jar;C:\Tomcat 5.0\common\lib\pg73jdbc3.jar;C:\Tomcat 5.0\common\lib\servlet-api.jar;C:\Tomcat 5.0\common\lib\tools.jar;C:\Tomcat 5.0\common\endorsed\xercesImpl.jar;C:\Tomcat 5.0\common\endorsed\xmlParserAPIs.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\WebContent\WEB-INF\lib\servlet-api.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\hibernate3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\antlr-2.7.6.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\asm-attrs.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\c3p0-0.9.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cglib-2.1.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\checkstyle-all.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\cleanimports.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\connector.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaas.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\javassist.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-cache.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-common.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-jmx.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jboss-system.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\jta.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\junit-3.8.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\log4j-1.2.11.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\oscache-2.1.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\proxool-0.8.3.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\syndiag2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\versioncheck.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\stajyer1\Desktop\set_up\hibernate-3.2.4.sp1\hibernate-3.2\lib\xml-apis.jar;C:\workspace\TimeSheet\lib\ant-contrib.jar;C:\workspace\TimeSheet\lib\antlr-2.7.6.jar;C:\workspace\TimeSheet\lib\asm.jar;C:\workspace\TimeSheet\lib\asm-attrs.jar;C:\workspace\TimeSheet\lib\aspectjrt.jar;C:\workspace\TimeSheet\lib\aspectjtools.jar;C:\workspace\TimeSheet\lib\c3p0-0.8.5-pre8.jar;C:\workspace\TimeSheet\lib\cglib-2.1.3.jar;C:\workspace\TimeSheet\lib\commons-collections-2.1.1.jar;C:\workspace\TimeSheet \lib\commons-logging.jar;C:\workspace\TimeSheet\lib\dom4j-1.6.1.jar;C:\workspace\TimeSheet\lib\hibernate3.jar;C:\workspace\TimeSheet\lib\jboss-common-jdbc-wrapper.jar;C:\workspace\TimeSheet\lib\jdbc2_0-stdext.jar;C:\workspace\TimeSheet\lib\jta.jar;C:\workspace\TimeSheet\lib\jta-spec1_0java.lang.NullPointerException
at mysqlHibernate.FirstExample.main(FirstExample.java:34)
_1.jar;C:\workspace\TimeSheet\lib\junit.jar;C:\workspace\TimeSheet\lib\log4j-1.2.11.jar;C:\workspace\TimeSheet\lib\log4j-1.2.9.jar;C:\workspace\TimeSheet\lib\pg73jdbc3.jar;C:\workspace\TimeSheet\lib\postgresql-8.2-506.jdbc3.jar;C:\workspace\TimeSheet\lib\xerces.jar;C:\workspace\TimeSheet\lib\mysql-connector-java-5.0.7-bin.jar, user.name=stajyer1, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, current_session_context_class=thread, java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=C:\j2sdk1.4.2_13\jre, hibernate.connection.url=jdbc:mysql://localhost/person, hibernate.dialect=org.hibernate.dialect.MySQLDialect, java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=sun.awt.windows.WToolkit, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\j2sdk1.4.2_13\jre\lib\ext, sun.boot.class.path=C:\j2sdk1.4.2_13\jre\lib\rt.jar;C:\j2sdk1.4.2_13\jre\lib\i18n.jar;C:\j2sdk1.4.2_13\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_13\jre\lib\jsse.jar;C:\j2sdk1.4.2_13\jre\lib\jce.jar;C:\j2sdk1.4.2_13\jre\lib\charsets.jar;C:\j2sdk1.4.2_13\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\, connection.driver_class=com.mysql.jdbc.Driver, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle, connection.url=jdbc:mysql://localhost/person, sun.cpu.isalist=pentium i486 i386, dialect=org.hibernate.dialect.MySQLDialect}
entity class not found: mysqlHibernate.Hibernate
Exception in thread "main"
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: problem with hibernate mapping file