I'm having some trouble fetching all the fields from an entity object. In this particular case the setup is very similar to the Customer/Order/Product example found in the Hibernate reference guide (page 212).
I have a number of Member (entity) objects stored in the db. I then go and create a new Committee (entity) object that contains a list of CommitteeMember objects (which is just a wrapper around a Member object with some additional information). When I persist the Committee it stores the corresponding Member's primary key and things look okay in the db. However, when I go to retrieve the Committee (along with the corresponding CommitteeMember list), I don't seem to retrieve any of the actual member fields (i.e. first and last name).
In particular, I have the following entity objects:
Member.class
Code:
public class Member
{
/**
* Used for Hibernate persistence.
*/
private Long id = null;
private int version = 0;
/**
* First and last name.
*/
private String firstname;
private String lastname;
/**
*
*/
public Member()
{
super();
}
public Long getId()
{
return id;
}
public int getVersion()
{
return version;
}
/**
* @return the firstName
*/
public final String getFirstname()
{
return firstname;
}
/**
* @param firstName the firstName to set
*/
public final void setFirstname(String firstName)
{
this.firstname = firstName;
}
/**
* @return the lastName
*/
public final String getLastname()
{
return lastname;
}
/**
* @param lastName the lastName to set
*/
public final void setLastname(String lastName)
{
this.lastname = lastName;
}
/**
*
* @return
*/
public final String getFullname()
{
return getLastname() + ", " + getFirstname();
}
/**
* @see java.lang.Object#toString()
*/
@Override
public String toString()
{
return this.getFullname();
}
}
Member.hbm.xml
Code:
<hibernate-mapping package="com.ek.itsmidwest.model" default-access="field">
<class name="Member" table="MEMBERS" batch-size="10">
<!-- Common id property -->
<id name="id" type="long" column="MEMBER_ID">
<generator class="&idgenerator;"/>
<!-- <generator class="increment" /> -->
</id>
<!-- A versioned entity -->
<version name="version" column="OBJ_VERSION"/>
<property name="firstname"
type="string"
column="FIRSTNAME"
length="64"
not-null="true"/>
<property name="lastname"
type="string"
column="LASTNAME"
length="64"
not-null="true"/>
</class>
</hibernate-mapping>
Committee
Code:
public class Committee
{
public static enum Committees
{
BoardOfDirectors("Board of Directors"),
Technical("Technical committee"),
Outreach("Outreach committee"),
Meetings("Meetings committee"),
MemberServices("Member services committee"),
Recognition("Recognition committee"),
Finance("Finance committee");
private String name;
private Committees(String name)
{
this.name = name;
}
/**
*
* @return
*/
public String getName()
{
return this.name;
}
/**
* @see java.lang.Enum#toString()
*/
@Override
public String toString()
{
return getName();
}
}
/**
* Used for Hibernate persistence.
*/
private Long id = null;
private int version = 0;
/**
* The committee type
*/
private Committees committeeType;
/**
* The list of committee members.
*/
private Set<CommitteeMember> committeeMembers = new HashSet<CommitteeMember>();
/**
* Constructor.
*
* @param committeeType
*/
public Committee(Committees committeeType)
{
super();
this.committeeType = committeeType;
}
private Committee()
{
super();
}
public Long getId()
{
return id;
}
public int getVersion()
{
return version;
}
/**
* @return the committee
*/
final Committees getCommitteeType()
{
return committeeType;
}
/**
* @param committee the committee to set
*/
final void setCommitteeType(Committees committee)
{
this.committeeType = committee;
}
/**
* @return the members
*/
public final Set<CommitteeMember> getCommitteeMembers()
{
return committeeMembers;
}
/**
*
* @param committeeMembers
*/
public final void setCommitteeMembers(Set<CommitteeMember> committeeMembers)
{
this.committeeMembers = committeeMembers;
}
/**
*
* @param member
* @param committeeType
* @param position
*/
public void addOrUpdateCommitteeMember(Member member, String position)
{
addOrUpdateCommitteeMember(new CommitteeMember(member, position));
}
/**
*
* @param committeeMember
*/
public void addOrUpdateCommitteeMember(CommitteeMember committeeMember)
{
if (committeeMembers.contains(committeeMember))
{
// it contains it...lets update by removing
committeeMembers.remove(committeeMember);
}
committeeMembers.add(committeeMember);
}
/**
* @see java.lang.Object#toString()
*/
@Override
public String toString()
{
return this.getCommitteeType().toString();
}
}
Committee.hbm.xml
Code:
<hibernate-mapping package="com.ek.itsmidwest.model" default-access="field">
<class name="Committee" table="COMMITTEES">
<id name="id" type="long" column="COMMITTEE_ID">
<generator class="increment"/>
</id>
<!-- A versioned entity -->
<version name="version" column="OBJ_VERSION"/>
<!-- Committee type -->
<property name="committeeType"
type="com.ek.itsmidwest.persistence.CommitteeUserType"
column="COMMITTEE_TYPE"
not-null="true"/>
<!-- Member list -->
<set name="committeeMembers" table="COMMITTEE_MEMBERS" lazy="false">
<key column="COMMITTEE_ID"/>
<composite-element class="CommitteeMember">
<property name="position" type="string" column="POSITION" />
<many-to-one name="member" class="Member" column="MEMBER_ID" not-null="true" />
</composite-element>
</set>
</class>
</hibernate-mapping>
And lastly, here's the CommitteeMember which isn't an entity object but rather a wrapper around a Member object that provides additional Committee member related information:
Code:
public class CommitteeMember
{
private String position;
private Member member;
public CommitteeMember(Member member, String position)
{
super();
this.member = member;
this.position = position;
}
private CommitteeMember()
{
}
/**
* @return the member
*/
public final Member getMember()
{
return member;
}
/**
* @param member the member to set
*/
private final void setMember(Member member)
{
this.member = member;
}
/**
* @return the desc
*/
public final String getPosition()
{
return position;
}
/**
* @param position the position to set
*/
private final void setPosition(String position)
{
this.position = position;
}
/**
* @see java.lang.Object#toString()
*/
@Override
public String toString()
{
return this.member.getFullname() + " (" + this.position + ")";
}
}
When I retrieve a Committee and corresponding CommitteeMember list, the CommitteeMember object contains the appropriate position information, but any of the member fields are null. Although looking through the debug messages (below), I see that Hibernate is indeed at some point fetching all of the Member data, it's just not available when I access the CommitteeMember object.
I'm open to any suggestions.
Thanks,
Dave
Hibernate version: 3.2
Mapping documents: (see above)
Code between sessionFactory.openSession() and session.close():Code:
HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
List<Committee> committeeList = this.daoFactory.getCommitteeDao().findAll();
HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
Name and version of the database you are using: MySQL 5.0.32
The generated debug messages including show_sql=true:
[code]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.impl.SessionImpl] -- opened session at timestamp: 11769049362
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper] -- allowing method [beginTransaction] in non-transacted context
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper] -- allowing proxied method [beginTransaction] to proceed to real session
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.transaction.JDBCTransaction] -- begin
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.ConnectionManager] -- opening JDBC connection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.connection.DriverManagerConnectionProvider] -- total checked-out connections: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.connection.DriverManagerConnectionProvider] -- using pooled JDBC connection, pool size: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.transaction.JDBCTransaction] -- current autocommit status: true
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.transaction.JDBCTransaction] -- disabling autocommit
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.JDBCContext] -- after transaction begin
DEBUG [09:02:16] [pool-1-thread-1] [com.ek.itsmidwest.dao.hibernate.HibernateDAOFactory] -- Instantiating DAO: class com.ek.itsmidwest.dao.hibernate.HibernateDAOFactory$CommitteeDaoHibernate
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper] -- allowing proxied method [createCriteria] to proceed to real session
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* criteria query */ select
this_.COMMITTEE_ID as COMMITTEE1_4_0_,
this_.OBJ_VERSION as OBJ2_4_0_,
this_.COMMITTEE_TYPE as COMMITTEE3_4_0_
from
COMMITTEES this_
Hibernate:
/* criteria query */ select
this_.COMMITTEE_ID as COMMITTEE1_4_0_,
this_.OBJ_VERSION as OBJ2_4_0_,
this_.COMMITTEE_TYPE as COMMITTEE3_4_0_
from
COMMITTEES this_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '2' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 2
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '3' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 3
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '4' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 4
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '5' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 5
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '6' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 6
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '7' as column: COMMITTEE1_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Committee#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Committee#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Committee#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_4_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (7 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- total objects hydrated: 7
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Committee#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- creating collection wrapper:[com.ek.itsmidwest.model.Committee.committeeMembers#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- done materializing entity [com.ek.itsmidwest.model.Committee#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.StatefulPersistenceContext] -- initializing non-lazy collections
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '7' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (0 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- collection fully initialized: [com.ek.itsmidwest.model.Committee.committeeMembers#7]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections initialized for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done loading collection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection initialized
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '6' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (0 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- collection fully initialized: [com.ek.itsmidwest.model.Committee.committeeMembers#6]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections initialized for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done loading collection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection initialized
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '5' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (0 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- collection fully initialized: [com.ek.itsmidwest.model.Committee.committeeMembers#5]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections initialized for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done loading collection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection initialized
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '4' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (0 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- collection fully initialized: [com.ek.itsmidwest.model.Committee.committeeMembers#4]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections initialized for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done loading collection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection initialized
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '3' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (0 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- collection fully initialized: [com.ek.itsmidwest.model.Committee.committeeMembers#3]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections initialized for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done loading collection
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection initialized
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- initializing collection [com.ek.itsmidwest.model.Committee.committeeMembers#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- checking second-level cache
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultInitializeCollectionEventListener] -- collection not cached
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading collection: [com.ek.itsmidwest.model.Committee.committeeMembers#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
Hibernate:
/* load collection com.ek.itsmidwest.model.Committee.committeeMembers */ select
committeem0_.COMMITTEE_ID as COMMITTEE1_0_,
committeem0_.POSITION as POSITION0_,
committeem0_.MEMBER_ID as MEMBER3_0_
from
COMMITTEE_MEMBERS committeem0_
where
committeem0_.COMMITTEE_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '2' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set contains (possibly empty) collection: [com.ek.itsmidwest.model.Committee.committeeMembers#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- uninitialized collection: initializing
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row:
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '2' as column: COMMITTEE1_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- found row of collection: [com.ek.itsmidwest.model.Committee.committeeMembers#2]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- reading row
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'President' as column: POSITION0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1' as column: MEMBER3_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- loading entity: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- creating new proxy for entity
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (1 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.CollectionLoadContext] -- 1 collections were found in result set for role: com.ek.itsmidwest.model.Committee.committeeMembers
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.impl.SessionImpl] -- initializing proxy: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- attempting to resolve: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- object not resolved in any cache: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Fetching entity: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading entity: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load com.ek.itsmidwest.model.Member */ select
member0_.MEMBER_ID as MEMBER1_0_0_,
member0_.OBJ_VERSION as OBJ2_0_0_,
member0_.FIRSTNAME as FIRSTNAME0_0_,
member0_.LASTNAME as LASTNAME0_0_,
member0_.CREATED as CREATED0_0_,
member0_.HOME_STREET as HOME6_0_0_,
member0_.HOME_CITY as HOME7_0_0_,
member0_.HOME_STATE as HOME8_0_0_,
member0_.HOME_ZIPCODE as HOME9_0_0_,
member0_.HOME_COUNTRY as HOME10_0_0_,
member0_.PERSONAL_PHONE as PERSONAL11_0_0_,
member0_.PERSONAL_CELL as PERSONAL12_0_0_,
member0_.PERSONAL_EMAIL as PERSONAL13_0_0_,
member0_.WORK_STREET as WORK14_0_0_,
member0_.WORK_CITY as WORK15_0_0_,
member0_.WORK_STATE as WORK16_0_0_,
member0_.WORK_ZIPCODE as WORK17_0_0_,
member0_.WORK_COUNTRY as WORK18_0_0_,
member0_.WORK_PHONE as WORK19_0_0_,
member0_.WORK_CELL as WORK20_0_0_,
member0_.WORK_EMAIL as WORK21_0_0_,
member0_.ORG_ID as ORG22_0_0_,
member0_.TITLE as TITLE0_0_,
member0_.MEMBERSHIP_TYPE as MEMBERSHIP24_0_0_
from
MEMBERS member0_
where
member0_.MEMBER_ID=?
Hibernate:
/* load com.ek.itsmidwest.model.Member */ select
member0_.MEMBER_ID as MEMBER1_0_0_,
member0_.OBJ_VERSION as OBJ2_0_0_,
member0_.FIRSTNAME as FIRSTNAME0_0_,
member0_.LASTNAME as LASTNAME0_0_,
member0_.CREATED as CREATED0_0_,
member0_.HOME_STREET as HOME6_0_0_,
member0_.HOME_CITY as HOME7_0_0_,
member0_.HOME_STATE as HOME8_0_0_,
member0_.HOME_ZIPCODE as HOME9_0_0_,
member0_.HOME_COUNTRY as HOME10_0_0_,
member0_.PERSONAL_PHONE as PERSONAL11_0_0_,
member0_.PERSONAL_CELL as PERSONAL12_0_0_,
member0_.PERSONAL_EMAIL as PERSONAL13_0_0_,
member0_.WORK_STREET as WORK14_0_0_,
member0_.WORK_CITY as WORK15_0_0_,
member0_.WORK_STATE as WORK16_0_0_,
member0_.WORK_ZIPCODE as WORK17_0_0_,
member0_.WORK_COUNTRY as WORK18_0_0_,
member0_.WORK_PHONE as WORK19_0_0_,
member0_.WORK_CELL as WORK20_0_0_,
member0_.WORK_EMAIL as WORK21_0_0_,
member0_.ORG_ID as ORG22_0_0_,
member0_.TITLE as TITLE0_0_,
member0_.MEMBERSHIP_TYPE as MEMBERSHIP24_0_0_
from
MEMBERS member0_
where
member0_.MEMBER_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '1' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'Joe' as column: FIRSTNAME0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'Smith' as column: LASTNAME0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '2007-04-18 09:00:20' as column: CREATED0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '999 Main Street' as column: HOME6_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'Some City' as column: HOME7_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'AL' as column: HOME8_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '11111' as column: HOME9_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'USA' as column: HOME10_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '' as column: PERSONAL11_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '' as column: PERSONAL12_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning
'some@cool.com' as column: PERSONAL13_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1111 Main Street' as column: WORK14_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'Some city' as column: WORK15_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'AL' as column: WORK16_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1111' as column: WORK17_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'USA' as column: WORK18_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '' as column: WORK19_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '' as column: WORK20_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning
'someaddress@cool.com' as column: WORK21_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '1' as column: ORG22_0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning 'Manager' as column: TITLE0_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- Version: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- done processing result set (1 rows)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- closing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- total objects hydrated: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.engine.TwoPhaseLoad] -- resolving associations for [com.ek.itsmidwest.model.Member#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- loading entity: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- attempting to resolve: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.event.def.DefaultLoadEventListener] -- object not resolved in any cache: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Fetching entity: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- loading entity: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] --
/* load com.ek.itsmidwest.model.OrganizationEntity */ select
organizati0_.ORG_ID as ORG1_2_0_,
organizati0_.OBJ_VERSION as OBJ2_2_0_,
organizati0_.NAME as NAME2_0_,
organizati0_.CORP_STREET as CORP4_2_0_,
organizati0_.CORP_CITY as CORP5_2_0_,
organizati0_.CORP_STATE as CORP6_2_0_,
organizati0_.CORP_ZIPCODE as CORP7_2_0_,
organizati0_.CORP_COUNTRY as CORP8_2_0_
from
ORGANIZATION organizati0_
where
organizati0_.ORG_ID=?
Hibernate:
/* load com.ek.itsmidwest.model.OrganizationEntity */ select
organizati0_.ORG_ID as ORG1_2_0_,
organizati0_.OBJ_VERSION as OBJ2_2_0_,
organizati0_.NAME as NAME2_0_,
organizati0_.CORP_STREET as CORP4_2_0_,
organizati0_.CORP_CITY as CORP5_2_0_,
organizati0_.CORP_STATE as CORP6_2_0_,
organizati0_.CORP_ZIPCODE as CORP7_2_0_,
organizati0_.CORP_COUNTRY as CORP8_2_0_
from
ORGANIZATION organizati0_
where
organizati0_.ORG_ID=?
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- preparing statement
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- binding '1' to parameter: 1
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.jdbc.AbstractBatcher] -- about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- processing result set
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result set row: 0
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- result row: EntityKey[com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.loader.Loader] -- Initializing object from ResultSet: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.persister.entity.AbstractEntityPersister] -- Hydrating entity: [com.ek.itsmidwest.model.OrganizationEntity#1]
DEBUG [09:02:16] [pool-1-thread-1] [org.hibernate.type.NullableType] -- returning '0' as column: OBJ2_2_0_
DEBUG [09:02:16] [pool-1-thread-1] [org.h