-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: session.replicate "null key for collection" NPE
PostPosted: Mon May 10, 2004 4:02 pm 
Newbie

Joined: Fri Jan 30, 2004 6:48 pm
Posts: 12
Hibernate experts,

I'm trying to implement a client-side cache of server-side objects. Since these objects already have identifiers, it seems that the Session.replicate functionality is what I need. I'm getting the error specified in the subject when I attempt to replicate() a parent-child relationship that already has identifier values set. I thought I was using the API properly, but apparantly I'm missing something. I couldn't find anything in the online docs, and I have started going through the hibernate SessionImpl code to see what could be wrong with my usage, but haven't found the problem yet.
I'm using hibernate 2.1.3, database hsqldb 1.7.1 (the version from hibernate CVS)

Thanks in advance for any pointers to fix this problem.
Justin


(for sake of simplicity I've hard-coded this on the client right before the call to session.replicate)
Code:
ProjectUser newUser = new ProjectUser();
newUser.setUserId(new Long(123));
ProjectNickName nick = new ProjectNickName();
nick.setNickId(new Long(64));
nick.setNickName("justin");
Set nicks = new HashSet();
nicks.add(nick);
newUser.setNicknames(nicks);

Session session = getSession();
session.replicate(newUser, ReplicationMode.OVERWRITE);
session.flush();
closeSession();


Mapping doc (abbreviated for simplicity)
Quote:
<hibernate-mapping>
<class
name="com.company.project.common.hibernate.ProjectUser"
table="project_user"
dynamic-update="false"
dynamic-insert="false"
>
<cache usage="read-write" />

<id
name="userId"
column="userId"
type="java.lang.Long"
>
<generator class="native">
</generator>
</id>

<set
name="nicknames"
table="project_nicknames"
lazy="true"
inverse="false"
cascade="all"
sort="unsorted"
>
...
</class>
<class
name="com.company.project.common.hibernate.ProjectNickName"
table="project_nicknames"
dynamic-update="false"
dynamic-insert="false"
>
<cache usage="read-write" />

<id
name="nickId"
column="nickId"
type="java.lang.Long"
>
<generator class="native">
</generator>
</id>

<property
name="nickName"
type="java.lang.String"
update="true"
insert="true"
column="nickName"
not-null="true"
unique="true"
/>

<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-ProjectNickName.xml
containing the additional properties and place it in your merge dir.
-->

</class>
</hibernate-mapping>



Stack trace:
Quote:
java.lang.NullPointerException: null key for collection: com.company.project.common.hibernate.ProjectUser.nicknames
at net.sf.hibernate.collection.AbstractCollectionPersister.writeKey(AbstractCollectionPersister.java:409)
at net.sf.hibernate.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:485)
at net.sf.hibernate.impl.ScheduledCollectionRemove.execute(ScheduledCollectionRemove.java:22)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2362)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)
at com.company.project.client.persistence.HibernatePersistenceFacade.storeObject(HibernatePersistenceFacade.java:217)
at com.company.project.client.persistence.HibernatePersistenceFacade.saveProjectUser(HibernatePersistenceFacade.java:46)
at com.company.project.client.SimpleClient.login(SimpleClient.java:187)
at com.company.project.client.SimpleClient.processCommand(SimpleClient.java:123)
at com.company.project.client.SimpleClient.run(SimpleClient.java:102)
at java.lang.Thread.run(Thread.java:534)


Hibernate Debug-level output:
Quote:
13:44:13,637 DEBUG [SessionImpl] opened session
13:44:13,648 DEBUG [Cascades] id unsaved-value strategy NULL
13:44:13,650 DEBUG [AbstractEntityPersister] Getting version: [com.company.project.common.hibernate.ProjectUser#123]
13:44:13,651 DEBUG [BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets
13:44:13,651 DEBUG [DriverManagerConnectionProvider] total checked-out connections: 0
13:44:13,651 DEBUG [DriverManagerConnectionProvider] using pooled JDBC connection, pool size: 0
13:44:13,651 DEBUG [SQL] select userId from project_user where userId =?
13:44:13,652 DEBUG [BatcherImpl] preparing statement
13:44:13,658 DEBUG [LongType] binding '123' to parameter: 1
13:44:13,670 DEBUG [BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets
13:44:13,670 DEBUG [BatcherImpl] closing statement
13:44:13,671 DEBUG [SessionImpl] replicating [com.company.project.common.hibernate.ProjectUser#123]
13:44:13,671 DEBUG [SessionImpl] executing insertions
13:44:13,671 DEBUG [Cascades] processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,672 DEBUG [Cascades] done processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,677 DEBUG [SessionImpl] collection dereferenced while transient [com.company.project.common.hibernate.ProjectUser.nicknames#<null>]
13:44:13,685 DEBUG [WrapVisitor] Wrapped collection in role: com.company.project.common.hibernate.ProjectUser.nicknames
13:44:13,694 DEBUG [EntityPersister] Inserting entity: com.company.project.common.hibernate.ProjectUser (native id)
13:44:13,694 DEBUG [BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets
13:44:13,695 DEBUG [SQL] insert into project_user (userName, gender, password, userId) values (?, ?, ?, null)
13:44:13,695 DEBUG [BatcherImpl] preparing statement
13:44:13,695 DEBUG [EntityPersister] Dehydrating entity: [com.company.project.common.hibernate.ProjectUser#<null>]
13:44:13,695 DEBUG [StringType] binding 'justin' to parameter: 1
13:44:13,696 DEBUG [IntegerType] binding null to parameter: 2
13:44:13,696 DEBUG [StringType] binding null to parameter: 3
13:44:13,701 DEBUG [BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets
13:44:13,702 DEBUG [BatcherImpl] closing statement
13:44:13,702 DEBUG [BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets
13:44:13,702 DEBUG [SQL] CALL IDENTITY()
13:44:13,702 DEBUG [BatcherImpl] preparing statement
13:44:13,706 DEBUG [AbstractEntityPersister] Natively generated identity: 0
13:44:13,707 DEBUG [BatcherImpl] done closing: 0 open PreparedStatements, 0 open ResultSets
13:44:13,707 DEBUG [BatcherImpl] closing statement
13:44:13,711 DEBUG [Cascades] processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,712 DEBUG [Cascades] cascading to collection: com.company.project.common.hibernate.ProjectUser.nicknames
13:44:13,718 DEBUG [Cascades] done processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,718 DEBUG [SessionImpl] flushing session
13:44:13,720 DEBUG [Cascades] processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,721 DEBUG [Cascades] cascading to collection: com.company.project.common.hibernate.ProjectUser.nicknames
13:44:13,722 DEBUG [Cascades] done processing cascades for: com.company.project.common.hibernate.ProjectUser
13:44:13,722 DEBUG [SessionImpl] Flushing entities and processing referenced collections
13:44:13,725 DEBUG [SessionImpl] Collection found: [com.company.project.common.hibernate.ProjectUser.nicknames#0], was: [<unreferenced>]
13:44:13,728 DEBUG [SessionImpl] Processing unreferenced collections
13:44:13,728 DEBUG [SessionImpl] Scheduling collection removes/(re)creates/updates
13:44:13,730 DEBUG [SessionImpl] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects
13:44:13,730 DEBUG [SessionImpl] Flushed: 9 (re)creations, 0 updates, 9 removals to 9 collections
13:44:13,733 DEBUG [Printer] listing entities:
13:44:13,734 DEBUG [Printer] com.company.project.common.hibernate.ProjectUser{gender=null, password=null, userName=justin, userId=0, nicknames=[]}
13:44:13,734 DEBUG [SessionImpl] executing flush
13:44:13,735 DEBUG [BasicCollectionPersister] Deleting collection: [com.company.project.common.hibernate.ProjectUser.nicknames#<null>]
13:44:13,738 DEBUG [BatcherImpl] about to open: 0 open PreparedStatements, 0 open ResultSets
13:44:13,739 DEBUG [SQL] update project_nicknames set userID_fk=null where userID_fk=?
13:44:13,739 DEBUG [BatcherImpl] preparing statement
13:44:13,739 DEBUG [SessionImpl] closing session
13:44:13,739 DEBUG [SessionImpl] disconnecting session
13:44:13,742 DEBUG [DriverManagerConnectionProvider] returning connection to pool, pool size: 1
13:44:13,742 DEBUG [SessionImpl] transaction completion
13:44:13,743 ERROR [SimpleClient] General error processing command: login casp casp, error: java.lang.NullPointerException: null key for collection: com.company.project.common.hibernate.ProjectUser.nicknames
java.lang.NullPointerException: null key for collection: com.company.project.common.hibernate.ProjectUser.nicknames
at net.sf.hibernate.collection.AbstractCollectionPersister.writeKey(AbstractCollectionPersister.java:409)
at net.sf.hibernate.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:485)
at net.sf.hibernate.impl.ScheduledCollectionRemove.execute(ScheduledCollectionRemove.java:22)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2407)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2362)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2229)
at com.company.project.client.persistence.HibernatePersistenceFacade.storeObject(HibernatePersistenceFacade.java:217)
at com.company.project.client.persistence.HibernatePersistenceFacade.saveProjectUser(HibernatePersistenceFacade.java:46)
at com.company.project.client.SimpleClient.login(SimpleClient.java:188)
at com.company.project.client.SimpleClient.processCommand(SimpleClient.java:123)
at com.company.project.client.SimpleClient.run(SimpleClient.java:102)
at java.lang.Thread.run(Thread.java:534)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 13, 2004 9:03 pm 
Newbie

Joined: Fri Jan 30, 2004 6:48 pm
Posts: 12
Hypersonic appears to be at fault here; this code works perfectly with Postgres. I am using the hsqldb.jar from hibernate CVS. Should I submit this as a bug in hibernate or hypersonic?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 13, 2004 9:21 pm 
Newbie

Joined: Fri Jan 30, 2004 6:48 pm
Posts: 12
Found this in the testReplicate() junit test in the hibernate dist:
Code:
public void testReplicate() throws Exception {
   if ( getDialect() instanceof HSQLDialect ) return;
   Session s = openSession();
   ...


I guess I'm out of luck for now. Are there any plans to fix this?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 10:44 am 
Beginner
Beginner

Joined: Tue Oct 28, 2003 12:09 pm
Posts: 46
I'm having the same problem with sqlserver...any info on this?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 11:02 am 
Beginner
Beginner

Joined: Tue Oct 28, 2003 12:09 pm
Posts: 46
ps. I'm using 2.1.8
and the relevant part of my debug log showing that the course has an id but then when it tries to make sure the collections are indeed empty on the replicated database, it can't find the id:
Code:
java.lang.NullPointerException: null key for collection: edu.academyart.model.Course.courseRoles
   at net.sf.hibernate.collection.AbstractCollectionPersister.writeKey(AbstractCollectionPersister.java:411)
   at net.sf.hibernate.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:487)
   at net.sf.hibernate.impl.ScheduledCollectionRemove.execute(ScheduledCollectionRemove.java:22)
   at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
   at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
   at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2394)
   at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
   at net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:61)
   at edu.academyart.model.TestSemester.testArchive(TestSemester.java:94)


Code:
21 Apr 2005 10:59:42 DEBUG SessionImpl:2467 - Flushing entities and processing referenced collections
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Semester.courses#1013], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Semester.gradeDeadlines#1013], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.courseRoles#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.topics#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.grades#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.gradeTypes#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.exams#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.examEnrollments#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2916 - Collection found: [edu.academyart.model.Course.announcements#1010], was: [<unreferenced>]
21 Apr 2005 10:59:42 DEBUG SessionImpl:2808 - Processing unreferenced collections
21 Apr 2005 10:59:42 DEBUG SessionImpl:2822 - Scheduling collection removes/(re)creates/updates
21 Apr 2005 10:59:42 DEBUG SessionImpl:2291 - Flushed: 0 insertions, 0 updates, 0 deletions to 2 objects
21 Apr 2005 10:59:42 DEBUG SessionImpl:2296 - Flushed: 9 (re)creations, 0 updates, 9 removals to 9 collections
21 Apr 2005 10:59:42 DEBUG Printer:75 - listing entities:
21 Apr 2005 10:59:42 DEBUG Printer:82 - edu.academyart.model.Course{active=true, startDate=2005-04-21 10:59:42, ftpActive=false, exams=[], topclassId=null, courseRoles=[], attachmentSizeLimit=null, grades=[], examEnrollments=[], gradeTypes=[], id=1010, assignmentUploadActive=false, description=null, endDate=2005-04-21 10:59:42, name=BLAH, inTopclass=false, announcements=[], topics=[], semester=Semester#1013}
21 Apr 2005 10:59:42 DEBUG Printer:82 - edu.academyart.model.Semester{courses=[Course#1010], startDate=2005-04-21 10:59:41, gradeDeadlines=[], archived=true, attachmentSizeLimit=null, endDate=2005-04-21 10:59:41, name=test semester, id=1013}
21 Apr 2005 10:59:42 DEBUG SessionImpl:2380 - executing flush
21 Apr 2005 10:59:42 DEBUG BasicCollectionPersister:479 - Deleting collection: [edu.academyart.model.Course.courseRoles#<null>]
21 Apr 2005 10:59:42 DEBUG BatcherImpl:204 - about to open: 0 open PreparedStatements, 0 open ResultSets
21 Apr 2005 10:59:42 DEBUG SQL:230 - delete from course_to_userRole where courseId=?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 11:38 am 
Beginner
Beginner

Joined: Tue Oct 28, 2003 12:09 pm
Posts: 46
I broke this down to a smaller case so I could include a reasonably sized log file.

The thing I'm currently looking at is why the line

21 Apr 2005 11:29:04 DEBUG SessionImpl:1297 - collection dereferenced while transient [edu.academyart.model.Course.courseRoles#<null>]

is being printed. Is that normal behaviour? I'm wondering if whatever I'm doing to cause the transient collection to be dereferenced is causing the dereferenced collection to be stored in a cache somewhere and then it's trying to flush that one instead of the newly saved instance.

Thoughts? What should I be looking for that would cause that message? Or is that message even bad?

-mp


[code]21 Apr 2005 11:28:56 DEBUG BaseUnitTest:76 - D:\development\ideaProjects\academyarts\discussion\cached.db.DISCUSSION.properties
21 Apr 2005 11:28:56 INFO Environment:483 - Hibernate 2.1.8
21 Apr 2005 11:28:56 INFO Environment:512 - hibernate.properties not found
21 Apr 2005 11:28:56 INFO Environment:543 - using CGLIB reflection optimizer
21 Apr 2005 11:28:56 INFO Environment:572 - using JDK 1.4 java.sql.Timestamp handling
21 Apr 2005 11:28:56 INFO Configuration:909 - configuring from resource: /discussion-noDB-hibernate.cfg.xml
21 Apr 2005 11:28:56 INFO Configuration:881 - Configuration resource: /discussion-noDB-hibernate.cfg.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd in classpath
21 Apr 2005 11:28:57 DEBUG Configuration:867 - dialect=net.sf.hibernate.dialect.SybaseDialect
21 Apr 2005 11:28:57 DEBUG Configuration:867 - show_sql=false
21 Apr 2005 11:28:57 DEBUG Configuration:867 - use_outer_join=true
21 Apr 2005 11:28:57 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@b23210 [Attribute: name resource value "edu/academyart/model/ActionHit.hbm.xml"]
21 Apr 2005 11:28:57 INFO Configuration:332 - Mapping resource: edu/academyart/model/ActionHit.hbm.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:57 INFO Binder:229 - Mapping class: edu.academyart.model.ActionHit -> hits
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: userId -> userId, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: startTime -> startTime, type: timestamp
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: duration -> duration, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: action -> action, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: context -> context, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: parameters -> parameters, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: ipaddress -> ipaddress, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: referrer -> referrer, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: method -> method, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: headers -> headers, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: result -> result, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: serverName -> serverName, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: exceptionOccurred -> exceptionOccurred, type: boolean
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: exception -> exceptionData, type: string
21 Apr 2005 11:28:57 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@175078b [Attribute: name resource value "edu/academyart/model/AccessPrincipal.hbm.xml"]
21 Apr 2005 11:28:57 INFO Configuration:332 - Mapping resource: edu/academyart/model/AccessPrincipal.hbm.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:57 INFO Binder:229 - Mapping class: edu.academyart.model.AccessPrincipal -> accessPrincipal
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:57 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@f8f7db [Attribute: name resource value "edu/academyart/model/Announcement.hbm.xml"]
21 Apr 2005 11:28:57 INFO Configuration:332 - Mapping resource: edu/academyart/model/Announcement.hbm.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:57 INFO Binder:229 - Mapping class: edu.academyart.model.Announcement -> announcements
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: title -> title, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: body -> body, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: creator -> createdby, type: edu.academyart.model.User
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: date -> entryDate, type: timestamp
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: endDate -> enddate, type: timestamp
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.Announcement.courseRolesWhoHaveViewed -> courseRole_to_announcement_views
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: courseRolesWhoHaveViewed, type: java.util.Set
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.Announcement.courses -> course_to_announcements
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: courses, type: java.util.Set
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.Announcement.attachments -> announcement_to_attachment
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: attachments, type: java.util.Set
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: published -> published, type: boolean
21 Apr 2005 11:28:57 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@589e56 [Attribute: name resource value "edu/academyart/model/Attachment.hbm.xml"]
21 Apr 2005 11:28:57 INFO Configuration:332 - Mapping resource: edu/academyart/model/Attachment.hbm.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:57 INFO Binder:229 - Mapping class: edu.academyart.model.Attachment -> attachment
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: location -> location, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: contentType -> contentType, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: instructorComments -> instructorComments, type: string
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: whiteboardMarkup -> whiteboardMarkupId, type: edu.academyart.model.WhiteboardMarkup
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: audioComments -> audioCommentId, type: edu.academyart.model.Attachment
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.Attachment.posts -> attachment_to_post
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: posts, type: java.util.Set
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: parent -> parentType, parentId, type: object
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: viewable -> viewable, type: boolean
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: size -> contentSize, type: long
21 Apr 2005 11:28:57 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@164dbd5 [Attribute: name resource value "edu/academyart/model/AttachmentGroup.hbm.xml"]
21 Apr 2005 11:28:57 INFO Configuration:332 - Mapping resource: edu/academyart/model/AttachmentGroup.hbm.xml
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:57 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:57 INFO Binder:229 - Mapping class: edu.academyart.model.AttachmentGroup -> attachment_group
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.AttachmentGroup.attachments -> attachmentGroup_to_attachment
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: attachments, type: java.util.Set
21 Apr 2005 11:28:57 INFO Binder:571 - Mapping collection: edu.academyart.model.AttachmentGroup.posts -> attachment_group_to_post
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: posts, type: java.util.Set
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: parentPost -> parentPostId, type: edu.academyart.model.Post
21 Apr 2005 11:28:57 DEBUG Binder:486 - Mapped property: grade -> gradeId, type: edu.academyart.model.Grade
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: container -> containerType, containerId, type: object
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@ff2413 [Attribute: name resource value "edu/academyart/model/Course.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Course.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Course -> course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: semester -> semesterid, type: edu.academyart.model.Semester
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: startDate -> startdate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: endDate -> enddate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: inTopclass -> topclass, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: topclassId -> topclassid, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: assignmentUploadActive -> assignmentUploadActive, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: active -> active, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: ftpActive -> ftpActive, type: boolean
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Course.courseRoles -> course_to_userRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: courseRoles, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: topics, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: grades, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: gradeTypes, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Course.exams -> course_to_exam
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: exams, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Course.examEnrollments -> exam_enrollment
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: examEnrollments, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Course.announcements -> course_to_announcements
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: announcements, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachmentSizeLimit -> attachmentsizelimit, type: long
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@18941f7 [Attribute: name resource value "edu/academyart/model/CoursePermissions.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/CoursePermissions.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.CoursePermissions -> rights
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: user -> userid, type: edu.academyart.model.User
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseId, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: student -> student, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: teacher -> teacher, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: admin -> admin, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: canPost -> can_post, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: canView -> can_view, type: boolean
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@64ab4d [Attribute: name resource value "edu/academyart/model/Department.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Department.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Department -> department
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: value -> value, type: string
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@6c585a [Attribute: name resource value "edu/academyart/model/DBFile.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/DBFile.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.DBFile -> dbFile
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: contentType -> contentType, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: content -> content, type: blob
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@153c375 [Attribute: name resource value "edu/academyart/model/Exam.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Exam.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Exam -> exam
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: openingDate -> opening_date, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: closingDate -> closing_date, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: datesOffered, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: enrollments, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Exam.courses -> course_to_exam
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: courses, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@15ad5c6 [Attribute: name resource value "edu/academyart/model/ExamEnrollment.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/ExamEnrollment.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.ExamEnrollment -> exam_enrollment
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: student -> courseRoleId, type: edu.academyart.model.CourseRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: exam -> exam_id, type: edu.academyart.model.Exam
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: time -> exam_time_id, type: edu.academyart.model.ExamTime
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: proctor -> exam_proctor_id, type: edu.academyart.model.ExamProctor
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: offCampus -> off_campus, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> course_id, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@4fc156 [Attribute: name resource value "edu/academyart/model/ExamTime.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/ExamTime.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.ExamTime -> exam_time
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: location -> location, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: date -> date, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: time -> time, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: exam -> exam_id, type: edu.academyart.model.Exam
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@df1832 [Attribute: name resource value "edu/academyart/model/ExamProctor.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/ExamProctor.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.ExamProctor -> exam_proctor
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: lastName -> last_name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: firstName -> first_name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: employer -> employer, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: address -> address, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: city -> city, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: state -> state, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: country -> country, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: zip -> zip, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: phone -> phone, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: fax -> fax, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: officeHours -> office_hours, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: position -> position, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: email -> email, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: relationship -> relationship, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: AACStudent -> aacstudent, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: AACStudentWhen -> aacstudentwhen, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: randomKey -> random_key, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: accepted -> accepted, type: boolean
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@11381e7 [Attribute: name resource value "edu/academyart/model/GradeDeadline.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/GradeDeadline.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.GradeDeadline -> gradeDeadline
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: startDate -> startdate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: endDate -> enddate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: password -> password, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: instructions -> instructions, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: semester -> semesterId, type: edu.academyart.model.Semester
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: gradeType -> gradeTypeId, type: edu.academyart.model.GradeType
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.GradeDeadline.submittedCourses -> deadline_to_submitted_course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: submittedCourses, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@e3c624 [Attribute: name resource value "edu/academyart/model/GradeType.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/GradeType.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.GradeType -> gradeType
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: immutableName -> immutableName, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: weight -> weight, type: integer
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseId, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@bad8a8 [Attribute: name resource value "edu/academyart/model/Grade.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Grade.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Grade -> grade
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: gradeType -> gradeTypeId, type: edu.academyart.model.GradeType
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: percentage -> percentage, type: integer
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: comments -> comments, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: referral -> referral, type: edu.academyart.model.HelpDeskEmail
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: date -> entryDate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: courseRole -> courseRoleId, type: edu.academyart.model.CourseRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseId, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: parent -> parentType, parentId, type: object
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@32784a [Attribute: name resource value "edu/academyart/model/Enrollment.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Enrollment.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Enrollment -> enrolled
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: user -> userid, type: edu.academyart.model.User
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseid, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: enrolled -> enrolled, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: overriden -> override, type: boolean
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@19bb25a [Attribute: name resource value "edu/academyart/model/HelpDeskEmail.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/HelpDeskEmail.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.HelpDeskEmail -> hd_email_message
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: title -> title, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: recipient -> recipient, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: subject -> subject, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: body -> body, type: string
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.HelpDeskEmail.attachments -> email_to_attachments
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachments, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: template -> template, type: boolean
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@b9e45a [Attribute: name resource value "edu/academyart/model/Major.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Major.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Major -> majors
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: title -> title, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: abbreviation -> abbreviation, type: string
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@14e8cee [Attribute: name resource value "edu/academyart/model/Post.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Post.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Post -> post
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: parentPost -> referenceid, type: edu.academyart.model.Post
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: subject -> subject, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: message -> message, type: string
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Post.messageSections -> post_to_text
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: messageSections, type: java.util.List
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: creator -> userRoleId, type: edu.academyart.model.UserRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: createdDate -> createdon, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: editDate -> changedon, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachmentGroup -> attachmentGroupId, type: edu.academyart.model.AttachmentGroup
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Post.attachments -> post_to_attachment
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachments, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Post.userRolesWhoHaveViewed -> userRole_to_post_views
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: userRolesWhoHaveViewed, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: provider -> providerType, providerId, type: object
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@19a32e0 [Attribute: name resource value "edu/academyart/model/Profanity.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Profanity.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Profanity -> profanity
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: word -> word, type: string
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@297ffb [Attribute: name resource value "edu/academyart/model/Profile.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Profile.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Profile -> profiles
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: title -> title, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: firstName -> firstname, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: middleName -> middlename, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: lastName -> lastname, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: phone -> phone, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: altPhone -> altPhone, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: email -> email, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: address -> address, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: city -> city, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: state -> state, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: zip -> zip, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: website -> website, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: bio -> bio, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: publicMask -> publicMask, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: createdDate -> createdDate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: major -> major, type: edu.academyart.model.Major
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Profile.departments -> profile_to_major
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: departments, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: photo -> photo, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: modified -> modified, type: boolean
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@1326484 [Attribute: name resource value "edu/academyart/model/Semester.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Semester.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Semester -> semester
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: archived -> archived, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: startDate -> startdate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: endDate -> enddate, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: courses, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: gradeDeadlines, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachmentSizeLimit -> attachmentsizelimit, type: long
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@18a49e0 [Attribute: name resource value "edu/academyart/model/StudentEvaluation.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/StudentEvaluation.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.StudentEvaluation -> studentevaluation
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseid, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: courseRole -> courseRoleId, type: edu.academyart.model.CourseRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: complete -> completed, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: completeDate -> completedon, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question1 -> question1, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question2 -> question2, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question3 -> question3, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question4 -> question4, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question5 -> question5, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question6 -> question6, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question7 -> question7, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question8 -> question8, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question9 -> question9, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question10 -> question10, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question11 -> question11, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question12 -> question12, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question13 -> question13, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: question14 -> question14, type: string
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@e70e30 [Attribute: name resource value "edu/academyart/model/Topic.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Topic.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Topic -> topic
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: course -> courseid, type: edu.academyart.model.Course
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: name -> name, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: description -> description, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: creator -> courseRoleId, type: edu.academyart.model.CourseRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: createDate -> createdon, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: endDate -> endson, type: timestamp
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: archived -> archived, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: publicTopic -> publicTopic, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: order -> orderNumber, type: integer
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Topic.posts -> topic_to_post
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: posts, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.Topic.attachments -> topic_to_attachment
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachments, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@14520eb [Attribute: name resource value "edu/academyart/model/Text.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/Text.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.Text -> text
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: text -> text, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: parent -> parentType, parentId, type: object
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@16c79d7 [Attribute: name resource value "edu/academyart/model/User.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/User.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.User -> users
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: studentId -> studentId, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: profile -> profileId, type: edu.academyart.model.Profile
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: username -> username, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: password -> password, type: string
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: inTopclass -> topclass, type: boolean
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: topclassId -> topclassid, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: active -> active, type: boolean
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.User.referrals -> user_to_referral
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: referrals, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.User.accessPrincipals -> user_to_accessPrincipal
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: accessPrincipals, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@16c9867 [Attribute: name resource value "edu/academyart/model/UserRole.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/UserRole.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.UserRole -> userRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: user -> userId, type: edu.academyart.model.User
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: container -> containerType, containerId, type: object
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: fromTopclass -> fromTopclass, type: boolean
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.UserRole.postsViewed -> userRole_to_post_views
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: postsViewed, type: java.util.Collection
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: access -> accessPrincipalId, type: edu.academyart.model.AccessPrincipal
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@1ce784b [Attribute: name resource value "edu/academyart/model/WhiteboardMarkup.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/WhiteboardMarkup.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.WhiteboardMarkup -> whiteboardMarkup
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: markup -> markup, type: string
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@3dc0bb [Attribute: name resource value "edu/academyart/model/graduate/Journal.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/graduate/Journal.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.graduate.Journal -> journal
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: owner -> graduateStudentId, type: edu.academyart.model.graduate.GraduateStudent
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: department -> departmentId, type: edu.academyart.model.Department
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.graduate.Journal.posts -> journal_to_post
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: posts, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: reviews, type: java.util.Set
21 Apr 2005 11:28:58 INFO Binder:571 - Mapping collection: edu.academyart.model.graduate.Journal.journalRoles -> journal_to_userRole
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: journalRoles, type: java.util.Set
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: attachmentSizeLimit -> attachmentSizeLimit, type: long
21 Apr 2005 11:28:58 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@194d372 [Attribute: name resource value "edu/academyart/model/graduate/JournalReview.hbm.xml"]
21 Apr 2005 11:28:58 INFO Configuration:332 - Mapping resource: edu/academyart/model/graduate/JournalReview.hbm.xml
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:58 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:58 INFO Binder:229 - Mapping class: edu.academyart.model.graduate.JournalReview -> journalReview
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: id -> id, type: long
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: reviewer -> graduateAdvisorId, type: edu.academyart.model.graduate.GraduateAdvisor
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: reviewedJournal -> journalId, type: edu.academyart.model.graduate.Journal
21 Apr 2005 11:28:58 DEBUG Binder:486 - Mapped property: masqueradingReviewerName -> masqueradingReviewerName, type: string
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: masqueradingReviewerTitle -> masqueradingReviewerTitle, type: string
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: semester -> semesterId, type: edu.academyart.model.Semester
21 Apr 2005 11:28:59 INFO Binder:571 - Mapping collection: edu.academyart.model.graduate.JournalReview.textSections -> journalReview_to_text
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: textSections, type: java.util.List
21 Apr 2005 11:28:59 INFO Binder:571 - Mapping collection: edu.academyart.model.graduate.JournalReview.optionalEmailAddressNotifications -> journalReviewEmailNotifications
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: optionalEmailAddressNotifications, type: java.util.List
21 Apr 2005 11:28:59 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@12884e0 [Attribute: name resource value "edu/academyart/model/CourseRole.hbm.xml"]
21 Apr 2005 11:28:59 INFO Configuration:332 - Mapping resource: edu/academyart/model/CourseRole.hbm.xml
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:59 INFO Binder:169 - Mapping subclass: edu.academyart.model.CourseRole -> userRole
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: student -> student, type: boolean
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: teacher -> teacher, type: boolean
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: admin -> admin, type: boolean
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: canPost -> canPost, type: boolean
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: canView -> canView, type: boolean
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: enrolled -> enrolled, type: boolean
21 Apr 2005 11:28:59 INFO Binder:571 - Mapping collection: edu.academyart.model.CourseRole.announcementsViewed -> courseRole_to_announcement_views
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: announcementsViewed, type: java.util.Collection
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: examEnrollments, type: java.util.Set
21 Apr 2005 11:28:59 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@137d090 [Attribute: name resource value "edu/academyart/model/graduate/GraduateStudent.hbm.xml"]
21 Apr 2005 11:28:59 INFO Configuration:332 - Mapping resource: edu/academyart/model/graduate/GraduateStudent.hbm.xml
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath
21 Apr 2005 11:28:59 INFO Binder:169 - Mapping subclass: edu.academyart.model.graduate.GraduateStudent -> users
21 Apr 2005 11:28:59 INFO Binder:571 - Mapping collection: edu.academyart.model.graduate.GraduateStudent.advisors -> gradStudent_to_advisor
21 Apr 2005 11:28:59 DEBUG Binder:486 - Mapped property: advisors, type: java.util.Set
21 Apr 2005 11:28:59 DEBUG Configuration:1026 - null<-org.dom4j.tree.DefaultAttribute@97eded [Attribute: name resource value "edu/academyart/model/graduate/GraduateAdvisor.hbm.xml"]
21 Apr 2005 11:28:59 INFO Configuration:332 - Mapping resource: edu/academyart/model/graduate/GraduateAdvisor.hbm.xml
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibernate/
21 Apr 2005 11:28:59 DEBUG DTDEntityResolver:32 - found http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd i


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 12:34 pm 
Beginner
Beginner

Joined: Tue Oct 28, 2003 12:09 pm
Posts: 46
Ok, I dove down into the hibernate source to see what I could find.

Here's what I see happening.

I'm using database-generated ids. In this case, replicate calls doSave which calls OnReplicationVisitor.processValues in the case where the persistor has collections. It does this BEFORE it retrieves the generated id from the database. This causes a call to removeCollection() with a null id which schedules the removal with the null id and causes the eventual NullPointerException when trying to delete the collection.

Thoughts?
-mp


Top
 Profile  
 
 Post subject: Jira issue logged
PostPosted: Fri Apr 22, 2005 12:21 pm 
Beginner
Beginner

Joined: Tue Oct 28, 2003 12:09 pm
Posts: 46
No response so I went ahead and wrote a simple test case and submitted it to Jira.

http://opensource.atlassian.com/project ... se/HB-1483

-mp


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.