Hi, I already posted this problem in the tools section but I decided to try to recreate it programatically, and am still at a dead end.
My code simply tries to persist one object of the Student class (a joined-subclass of the SystemUser class im my mappings document). I tried various ID generators (native, identity and assigned), checked my dialect, checked whether the classloader can find the requested id generator class, and yet it still hangs on this block of code in the
IdentifierGeneratorFactory class:
Code:
public static IdentifierGenerator create(String strategy, Type type, Properties params, Dialect dialect) throws MappingException {
try {
//if ( "vm".equals(strategy) ) log.info("'vm' strategy is deprecated; use 'increment'");
Class clazz = (Class) GENERATORS.get(strategy);
if ( "native".equals(strategy) ) {
if ( dialect.supportsIdentityColumns() ) {
clazz = IdentityGenerator.class;
}
else if ( dialect.supportsSequences() ) {
clazz = SequenceGenerator.class;
}
else {
clazz = TableHiLoGenerator.class;
}
}
if (clazz==null) clazz = ReflectHelper.classForName(strategy);
IdentifierGenerator idgen = (IdentifierGenerator) clazz.newInstance();
if (idgen instanceof Configurable) ( (Configurable) idgen).configure(type, params, dialect);
return idgen;
}
catch (Exception e) {
throw new MappingException("could not instantiate id generator", e);
}
}
It seems that the
clazz local variable is still null after the switch block, which shouldn't be the case if my metadata specifies either of the three "assigned", "native" or "identity" (for MySQL).
Is there a problem with loading the class? I tried executing a similar block of code within my application and the classes reslove perfectly.
Can anyone out there help me out with this please? I am almost certain I'm doing something very very simple wrong... but I'm just not sure.
Thanks in advance.
Hibernate version: 2.1.8
Mapping documents: <?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 2.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
<hibernate-mapping>
<class
name="org.sects.util.security.domain.SystemUser"
dynamic-update="false"
dynamic-insert="false"
>
<id
name="userId"
column="userId"
type="int"
>
<generator class="identity">
</generator>
</id>
<property
name="username"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="username"
/>
<property
name="password"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="password"
/>
<component
name="contactInformation"
class="org.sects.util.domain.ContactInformation"
>
<property
name="email"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="email"
/>
<property
name="phone"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="phone"
/>
<set
name="addresses"
lazy="true"
inverse="false"
cascade="delete"
sort="unsorted"
>
<key
column="contactInformationId"
>
</key>
<one-to-many
class="org.sects.util.domain.Address"
/>
</set>
</component>
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-SystemUser.xml
containing the additional properties and place it in your merge dir.
-->
<joined-subclass
name="org.sects.department.domain.Instructor"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="userId"
/>
<property
name="firstName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="firstName"
/>
<property
name="middleName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="middleName"
/>
<property
name="lastName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="lastName"
/>
<property
name="EMail"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="EMail"
/>
<many-to-one
name="department"
class="org.sects.department.domain.Department"
cascade="none"
outer-join="auto"
update="true"
insert="true"
access="property"
column="departmentId"
/>
<set
name="scheduledCourses"
lazy="false"
inverse="true"
cascade="none"
sort="unsorted"
>
<key
column="instructorId"
>
</key>
<one-to-many
class="org.sects.schedule.domain.Section"
/>
</set>
</joined-subclass>
<joined-subclass
name="org.sects.student.domain.Student"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="userId"
/>
<property
name="firstName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="firstName"
/>
<property
name="middleName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="middleName"
/>
<property
name="lastName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="lastName"
/>
<property
name="dateOfBirth"
type="java.util.Date"
update="true"
insert="true"
access="property"
column="dateOfBirth"
/>
<many-to-one
name="account"
class="org.sects.finance.domain.StudentAccount"
cascade="none"
outer-join="auto"
update="true"
insert="true"
access="property"
column="accountId"
unique="true"
/>
</joined-subclass>
<joined-subclass
name="org.sects.staff.domain.StaffMember"
dynamic-update="false"
dynamic-insert="false"
>
<key
column="userId"
/>
<property
name="firstName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="firstName"
/>
<property
name="lastName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="lastName"
/>
<property
name="middleName"
type="java.lang.String"
update="true"
insert="true"
access="property"
column="middleName"
/>
</joined-subclass>
</class>
</hibernate-mapping>
Code between sessionFactory.openSession() and session.close():Code:
Transaction tx = s.beginTransaction();
sFactory.getClassMetadata(Student.class);
s.save(new Student());
tx.commit();
Full stack trace of any exception that occurs:
net.sf.hibernate.MappingException: could not instantiate id generator
at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:82)
at net.sf.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:82)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:644)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:690)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
at org.sects.SECTSSchemaGenerator.main(SECTSSchemaGenerator.java:32)
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.sf.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:102)
at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:76)
... 7 more
Exception in thread "main"
Name and version of the database you are using:
MySQL 4.1
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
class net.sf.hibernate.id.IdentityGenerator
INFO - Hibernate 2.1.8
INFO - loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password=4978, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://127.0.0.1/sects, hibernate.connection.driver_class=com.mysql.jdbc.Driver}
INFO - using CGLIB reflection optimizer
INFO - using JDK 1.4 java.sql.Timestamp handling
INFO - configuring from resource: /hibernate.cfg.xml
INFO - Configuration resource: /hibernate.cfg.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath
DEBUG - connection.driver_class=com.mysql.jdbc.Driver
DEBUG - connection.url=jdbc:mysql://127.0.0.1/sects
DEBUG - connection.username=root
DEBUG - connection.password=4978
DEBUG - show_sql=true
DEBUG - dialect=net.sf.hibernate.dialect.MySQLDialect
DEBUG - transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory
DEBUG - hibernate.hbm2ddl.auto=create
DEBUG - null<-org.dom4j.tree.DefaultAttribute@17a29a1 [Attribute: name resource value "org/sects/util/security/domain/SystemUser.hbm.xml"]
INFO - Mapping resource: org/sects/util/security/domain/SystemUser.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.util.security.domain.SystemUser -> SystemUser
DEBUG - Mapped property: userId -> userId, type: integer
DEBUG - Mapped property: username -> username, type: string
DEBUG - Mapped property: password -> password, type: string
DEBUG - Mapped property: email -> email, type: string
DEBUG - Mapped property: phone -> phone, type: string
DEBUG - Mapped property: addresses, type: java.util.Set
DEBUG - Mapped property: contactInformation -> email, phone, type: org.sects.util.domain.ContactInformation
INFO - Mapping joined-subclass: org.sects.department.domain.Instructor -> Instructor
DEBUG - Mapped property: firstName -> firstName, type: string
DEBUG - Mapped property: middleName -> middleName, type: string
DEBUG - Mapped property: lastName -> lastName, type: string
DEBUG - Mapped property: EMail -> EMail, type: string
DEBUG - Mapped property: department -> departmentId, type: org.sects.department.domain.Department
DEBUG - Mapped property: scheduledCourses, type: java.util.Set
INFO - Mapping joined-subclass: org.sects.student.domain.Student -> Student
DEBUG - Mapped property: firstName -> firstName, type: string
DEBUG - Mapped property: middleName -> middleName, type: string
DEBUG - Mapped property: lastName -> lastName, type: string
DEBUG - Mapped property: dateOfBirth -> dateOfBirth, type: timestamp
DEBUG - Mapped property: account -> accountId, type: org.sects.finance.domain.StudentAccount
INFO - Mapping joined-subclass: org.sects.staff.domain.StaffMember -> StaffMember
DEBUG - Mapped property: firstName -> firstName, type: string
DEBUG - Mapped property: lastName -> lastName, type: string
DEBUG - Mapped property: middleName -> middleName, type: string
DEBUG - null<-org.dom4j.tree.DefaultAttribute@d1e89e [Attribute: name resource value "org/sects/util/domain/Address.hbm.xml"]
INFO - Mapping resource: org/sects/util/domain/Address.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.util.domain.Address -> Address
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: street -> street, type: string
DEBUG - Mapped property: city -> city, type: string
DEBUG - Mapped property: state -> state, type: string
DEBUG - Mapped property: zip -> zip, type: integer
DEBUG - Mapped property: phone -> phone, type: string
DEBUG - Mapped property: fax -> fax, type: string
DEBUG - Mapped property: stereotype -> stereotype, type: string
DEBUG - null<-org.dom4j.tree.DefaultAttribute@1d332b [Attribute: name resource value "org/sects/util/domain/ContactInformation.hbm.xml"]
INFO - Mapping resource: org/sects/util/domain/ContactInformation.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.util.domain.ContactInformation -> ContactInformation
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: email -> email, type: string
DEBUG - Mapped property: phone -> phone, type: string
DEBUG - Mapped property: addresses, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@1a99561 [Attribute: name resource value "org/sects/department/domain/Department.hbm.xml"]
INFO - Mapping resource: org/sects/department/domain/Department.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.department.domain.Department -> Department
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: name -> name, type: string
DEBUG - Mapped property: code -> code, type: string
DEBUG - Mapped property: school -> schoolId, type: org.sects.department.domain.School
DEBUG - Mapped property: courses, type: java.util.Set
DEBUG - Mapped property: instructors, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@b01d43 [Attribute: name resource value "org/sects/department/domain/Major.hbm.xml"]
INFO - Mapping resource: org/sects/department/domain/Major.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.department.domain.Major -> Major
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: name -> name, type: string
DEBUG - Mapped property: school -> schoolId, type: org.sects.department.domain.School
INFO - Mapping collection: org.sects.department.domain.Major.requiredCourses -> MajorRequirements
DEBUG - Mapped property: requiredCourses, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@1bd7848 [Attribute: name resource value "org/sects/department/domain/School.hbm.xml"]
INFO - Mapping resource: org/sects/department/domain/School.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.department.domain.School -> School
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: name -> name, type: string
DEBUG - Mapped property: code -> code, type: string
DEBUG - Mapped property: majorTypes, type: java.util.Set
DEBUG - Mapped property: departments, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@b8c8e6 [Attribute: name resource value "org/sects/finance/domain/FinancialAidAward.hbm.xml"]
INFO - Mapping resource: org/sects/finance/domain/FinancialAidAward.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.finance.domain.FinancialAidAward -> FinancialAidAward
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: semester -> semesterId, type: org.sects.schedule.domain.Semester
DEBUG - null<-org.dom4j.tree.DefaultAttribute@19b5217 [Attribute: name resource value "org/sects/finance/domain/StudentAccount.hbm.xml"]
INFO - Mapping resource: org/sects/finance/domain/StudentAccount.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.finance.domain.StudentAccount -> StudentAccount
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: student -> student, type: org.sects.student.domain.Student
DEBUG - Mapped property: transactions, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@1e3118a [Attribute: name resource value "org/sects/finance/domain/StudentAccountTransaction.hbm.xml"]
INFO - Mapping resource: org/sects/finance/domain/StudentAccountTransaction.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.finance.domain.StudentAccountTransaction -> StudentAccountTransaction
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: paymentDate -> paymentDate, type: timestamp
DEBUG - Mapped property: amount -> amount, type: double
DEBUG - null<-org.dom4j.tree.DefaultAttribute@7808b9 [Attribute: name resource value "org/sects/registrar/domain/EnrollmentEventRecord.hbm.xml"]
INFO - Mapping resource: org/sects/registrar/domain/EnrollmentEventRecord.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.registrar.domain.EnrollmentEventRecord -> EnrollmentEventRecord
DEBUG - Mapped property: id -> id, type: integer
INFO - Mapping subclass: org.sects.registrar.domain.CourseDropRecord -> EnrollmentEventRecord
INFO - Mapping subclass: org.sects.registrar.domain.CourseCompletionRecord -> EnrollmentEventRecord
DEBUG - Mapped property: gradeAwarded -> gradeAwarded, type: character
INFO - Mapping subclass: org.sects.registrar.domain.CourseWithrawalRecord -> EnrollmentEventRecord
DEBUG - null<-org.dom4j.tree.DefaultAttribute@e28b9 [Attribute: name resource value "org/sects/registrar/domain/StudentEnrollment.hbm.xml"]
INFO - Mapping resource: org/sects/registrar/domain/StudentEnrollment.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.registrar.domain.StudentEnrollment -> StudentEnrollment
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: student -> studentId, type: org.sects.student.domain.Student
DEBUG - Mapped property: scheduledCourse -> sectionId, type: org.sects.schedule.domain.Section
DEBUG - Mapped property: dateEnrolled -> dateEnrolled, type: timestamp
DEBUG - Mapped property: enrollmentEventRecord -> enrollmentEventRecordId, type: org.sects.registrar.domain.EnrollmentEventRecord
DEBUG - null<-org.dom4j.tree.DefaultAttribute@be0e27 [Attribute: name resource value "org/sects/schedule/domain/Building.hbm.xml"]
INFO - Mapping resource: org/sects/schedule/domain/Building.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.schedule.domain.Building -> Building
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: name -> name, type: string
DEBUG - Mapped property: classrooms, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@c9131c [Attribute: name resource value "org/sects/schedule/domain/Classroom.hbm.xml"]
INFO - Mapping resource: org/sects/schedule/domain/Classroom.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.schedule.domain.Classroom -> Classroom
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: building -> buildingId, type: org.sects.schedule.domain.Building
DEBUG - Mapped property: identifier -> identifier, type: string
DEBUG - null<-org.dom4j.tree.DefaultAttribute@fb56b1 [Attribute: name resource value "org/sects/schedule/domain/Course.hbm.xml"]
INFO - Mapping resource: org/sects/schedule/domain/Course.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.schedule.domain.Course -> Course
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: department -> departmentId, type: org.sects.department.domain.Department
DEBUG - Mapped property: name -> name, type: string
DEBUG - Mapped property: number -> number, type: integer
DEBUG - Mapped property: numberOfCredits -> numberOfCredits, type: integer
INFO - Mapping collection: org.sects.schedule.domain.Course.prerequisites -> CoursePrerequisites
DEBUG - Mapped property: prerequisites, type: java.util.Set
INFO - Mapping joined-subclass: org.sects.schedule.domain.Section -> Section
DEBUG - Mapped property: classroom -> classroomId, type: org.sects.schedule.domain.Classroom
DEBUG - Mapped property: instructor -> instructorId, type: org.sects.department.domain.Instructor
DEBUG - Mapped property: semester -> semesterId, type: org.sects.schedule.domain.Semester
DEBUG - Mapped property: sectionNumber -> sectionNumber, type: integer
DEBUG - Mapped property: meetingTime -> meetingTime, type: string
DEBUG - Mapped property: studentEnrollments, type: java.util.Set
DEBUG - null<-org.dom4j.tree.DefaultAttribute@1835282 [Attribute: name resource value "org/sects/schedule/domain/Semester.hbm.xml"]
INFO - Mapping resource: org/sects/schedule/domain/Semester.hbm.xml
DEBUG - trying to locate
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath under net/sf/hibernate/
DEBUG - found
http://hibernate.sourceforge.net/hibern ... ng-2.0.dtd in classpath
INFO - Mapping class: org.sects.schedule.domain.Semester -> Semester
DEBUG - Mapped property: id -> id, type: integer
DEBUG - Mapped property: year -> year, type: integer
DEBUG - Mapped property: term -> term, type: character
DEBUG - Mapped property: scheduledCourses, type: java.util.Set
INFO - Configured SessionFactory: null
DEBUG - properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=4978, transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\Program Files\Java\j2re1.4.2_07\bin, java.vm.version=1.4.2_07-b05, 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:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project, java.runtime.version=1.4.2_07-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\j2re1.4.2_07\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\Owner\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:\Program Files\Java\j2re1.4.2_07\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, connection.password=4978, user.home=C:\Documents and Settings\Owner, user.timezone=, 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, show_sql=true, java.class.path=C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\bin;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ant-1.5.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ant-optional-1.5.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\c3p0-0.8.4.5.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\cglib-full-2.0.2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-dbcp-1.2.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-lang-1.0.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-pool-1.2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\concurrent-1.3.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\connector.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\dom4j-1.4.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ehcache-0.9.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\hibernate2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jaas.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-cache.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-common.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-jmx.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-system.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jcs-1.0-dev.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jgroups-2.2.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jta.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\junit-3.8.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\log4j-1.2.8.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\mysql-connector-java-3.1.7-bin.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\odmg-3.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\oscache-2.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\proxool-0.8.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xalan-2.4.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xerces-2.4.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xml-apis.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib, user.name=Owner, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\j2re1.4.2_07, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://127.0.0.1/sects, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_07, java.ext.dirs=C:\Program Files\Java\j2re1.4.2_07\lib\ext, sun.boot.class.path=C:\Program Files\Java\j2re1.4.2_07\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_07\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_07\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_07\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_07\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, hibernate.hbm2ddl.auto=create, 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://127.0.0.1/sects, dialect=net.sf.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386}
INFO - processing one-to-many association mappings
DEBUG - Second pass for collection: org.sects.util.security.domain.SystemUser.contactInformation.addresses
INFO - Mapping collection: org.sects.util.security.domain.SystemUser.contactInformation.addresses -> Address
DEBUG - Mapped collection key: contactInformationId, one-to-many: org.sects.util.domain.Address
DEBUG - Second pass for collection: org.sects.department.domain.Instructor.scheduledCourses
INFO - Mapping collection: org.sects.department.domain.Instructor.scheduledCourses -> Section
DEBUG - Mapped collection key: instructorId, one-to-many: org.sects.schedule.domain.Section
DEBUG - Second pass for collection: org.sects.util.domain.ContactInformation.addresses
INFO - Mapping collection: org.sects.util.domain.ContactInformation.addresses -> Address
DEBUG - Mapped collection key: contactInformationId, one-to-many: org.sects.util.domain.Address
DEBUG - Second pass for collection: org.sects.department.domain.Department.courses
INFO - Mapping collection: org.sects.department.domain.Department.courses -> Course
DEBUG - Mapped collection key: departmentId, one-to-many: org.sects.schedule.domain.Course
DEBUG - Second pass for collection: org.sects.department.domain.Department.instructors
INFO - Mapping collection: org.sects.department.domain.Department.instructors -> Instructor
DEBUG - Mapped collection key: departmentId, one-to-many: org.sects.department.domain.Instructor
DEBUG - Second pass for collection: org.sects.department.domain.Major.requiredCourses
DEBUG - Mapped collection key: majorId, element: elt, type: org.sects.schedule.domain.Course
DEBUG - Second pass for collection: org.sects.department.domain.School.majorTypes
INFO - Mapping collection: org.sects.department.domain.School.majorTypes -> Major
DEBUG - Mapped collection key: schoolId, one-to-many: org.sects.department.domain.Major
DEBUG - Second pass for collection: org.sects.department.domain.School.departments
INFO - Mapping collection: org.sects.department.domain.School.departments -> Department
DEBUG - Mapped collection key: schoolId, one-to-many: org.sects.department.domain.Department
DEBUG - Second pass for collection: org.sects.finance.domain.StudentAccount.transactions
INFO - Mapping collection: org.sects.finance.domain.StudentAccount.transactions -> StudentAccountTransaction
DEBUG - Mapped collection key: studentAccountId, one-to-many: org.sects.finance.domain.StudentAccountTransaction
DEBUG - Second pass for collection: org.sects.schedule.domain.Building.classrooms
INFO - Mapping collection: org.sects.schedule.domain.Building.classrooms -> Classroom
DEBUG - Mapped collection key: buildingId, one-to-many: org.sects.schedule.domain.Classroom
DEBUG - Second pass for collection: org.sects.schedule.domain.Course.prerequisites
DEBUG - Mapped collection key: courseId, element: prerequisiteId, type: org.sects.schedule.domain.Course
DEBUG - Second pass for collection: org.sects.schedule.domain.Section.studentEnrollments
INFO - Mapping collection: org.sects.schedule.domain.Section.studentEnrollments -> StudentEnrollment
DEBUG - Mapped collection key: sectionId, one-to-many: org.sects.registrar.domain.StudentEnrollment
DEBUG - Second pass for collection: org.sects.schedule.domain.Semester.scheduledCourses
INFO - Mapping collection: org.sects.schedule.domain.Semester.scheduledCourses -> Section
DEBUG - Mapped collection key: semesterId, one-to-many: org.sects.schedule.domain.Section
INFO - processing one-to-one association property references
INFO - processing foreign key constraints
DEBUG - resolving reference to class: org.sects.util.security.domain.SystemUser
DEBUG - resolving reference to class: org.sects.finance.domain.StudentAccount
DEBUG - resolving reference to class: org.sects.util.security.domain.SystemUser
DEBUG - resolving reference to class: org.sects.department.domain.Department
DEBUG - resolving reference to class: org.sects.department.domain.Department
DEBUG - resolving reference to class: org.sects.registrar.domain.EnrollmentEventRecord
DEBUG - resolving reference to class: org.sects.schedule.domain.Section
DEBUG - resolving reference to class: org.sects.student.domain.Student
DEBUG - resolving reference to class: org.sects.schedule.domain.Classroom
DEBUG - resolving reference to class: org.sects.department.domain.Instructor
DEBUG - resolving reference to class: org.sects.schedule.domain.Semester
DEBUG - resolving reference to class: org.sects.schedule.domain.Course
DEBUG - resolving reference to class: org.sects.schedule.domain.Course
DEBUG - resolving reference to class: org.sects.department.domain.Major
DEBUG - resolving reference to class: org.sects.department.domain.School
DEBUG - resolving reference to class: org.sects.student.domain.Student
DEBUG - resolving reference to class: org.sects.util.security.domain.SystemUser
DEBUG - resolving reference to class: org.sects.util.domain.ContactInformation
DEBUG - resolving reference to class: org.sects.schedule.domain.Building
DEBUG - resolving reference to class: org.sects.schedule.domain.Semester
DEBUG - resolving reference to class: org.sects.schedule.domain.Course
DEBUG - resolving reference to class: org.sects.schedule.domain.Course
DEBUG - resolving reference to class: org.sects.util.security.domain.SystemUser
DEBUG - resolving reference to class: org.sects.department.domain.School
INFO - Using dialect: net.sf.hibernate.dialect.MySQLDialect
DEBUG - Using dialect defined converter
INFO - Maximim outer join fetch depth: 2
INFO - Use outer join fetching: true
INFO - Using Hibernate built-in connection pool (not for production use!)
INFO - Hibernate connection pool size: 20
INFO - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://127.0.0.1/sects
INFO - connection properties: {user=root, password=4978}
INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactory
INFO - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)
DEBUG - total checked-out connections: 0
DEBUG - opening new JDBC connection
DEBUG - created connection to: jdbc:mysql://127.0.0.1/sects, Isolation Level: 4
DEBUG - returning connection to pool, pool size: 1
INFO - Use scrollable result sets: true
INFO - Use JDBC3 getGeneratedKeys(): true
INFO - Optimize cache for minimal puts: false
INFO - echoing all SQL to stdout
INFO - Query language substitutions: {}
INFO - cache provider: net.sf.hibernate.cache.EhCacheProvider
DEBUG - Wrap result sets enabled? : false
INFO - instantiating and configuring caches
DEBUG - Creating new CacheManager with default config
DEBUG - Configuring ehcache from classpath.
WARN - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Documents%20and%20Settings/Owner/My%20Documents/Classes/ITEC-485-001-2005S%20(Senior%20Workshop)/SECTS%20API%20Eclipse%20Project/lib/ehcache-0.9.jar!/ehcache-failsafe.xml
DEBUG - Disk Store Path: C:\DOCUME~1\Owner\LOCALS~1\Temp\
INFO - building session factory
DEBUG - instantiating session factory with properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, hibernate.connection.password=4978, transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, sun.boot.library.path=C:\Program Files\Java\j2re1.4.2_07\bin, java.vm.version=1.4.2_07-b05, 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:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project, java.runtime.version=1.4.2_07-b05, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\Java\j2re1.4.2_07\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\Owner\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:\Program Files\Java\j2re1.4.2_07\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem, java.specification.name=Java Platform API Specification, java.class.version=48.0, hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, connection.password=4978, user.home=C:\Documents and Settings\Owner, user.timezone=, 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, show_sql=true, java.class.path=C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\bin;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ant-1.5.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ant-optional-1.5.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\c3p0-0.8.4.5.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\cglib-full-2.0.2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-collections-2.1.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-dbcp-1.2.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-lang-1.0.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-logging-1.0.4.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\commons-pool-1.2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\concurrent-1.3.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\connector.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\dom4j-1.4.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\ehcache-0.9.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\hibernate2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jaas.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-cache.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-common.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-jmx.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jboss-system.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jcs-1.0-dev.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jdbc2_0-stdext.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jgroups-2.2.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\jta.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\junit-3.8.1.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\log4j-1.2.8.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\mysql-connector-java-3.1.7-bin.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\odmg-3.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\oscache-2.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\proxool-0.8.3.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\swarmcache-1.0rc2.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xalan-2.4.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xerces-2.4.0.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib\xml-apis.jar;C:\Documents and Settings\Owner\My Documents\Classes\ITEC-485-001-2005S (Senior Workshop)\SECTS API Eclipse Project\lib, user.name=Owner, hibernate.show_sql=true, java.vm.specification.version=1.0, java.home=C:\Program Files\Java\j2re1.4.2_07, sun.arch.data.model=32, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://127.0.0.1/sects, user.language=en, java.specification.vendor=Sun Microsystems Inc., awt.toolkit=sun.awt.windows.WToolkit, hibernate.cglib.use_reflection_optimizer=true, java.vm.info=mixed mode, java.version=1.4.2_07, java.ext.dirs=C:\Program Files\Java\j2re1.4.2_07\lib\ext, sun.boot.class.path=C:\Program Files\Java\j2re1.4.2_07\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_07\lib\i18n.jar;C:\Program Files\Java\j2re1.4.2_07\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_07\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_07\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2_07\classes, java.vendor=Sun Microsystems Inc., connection.driver_class=com.mysql.jdbc.Driver, file.separator=\, hibernate.hbm2ddl.auto=create, 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://127.0.0.1/sects, dialect=net.sf.hibernate.dialect.MySQLDialect, sun.cpu.isalist=pentium i486 i386}
net.sf.hibernate.MappingException: could not instantiate id generator
at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:82)
at net.sf.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:82)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:644)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:690)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
at org.sects.SECTSSchemaGenerator.main(SECTSSchemaGenerator.java:32)
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.sf.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:102)
at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:76)
... 7 more
Exception in thread "main"[/b]