-->
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.  [ 1 post ] 
Author Message
 Post subject: ClassCastException when calling saveOrUpdate()
PostPosted: Thu Mar 08, 2007 3:46 am 
Newbie

Joined: Sun Nov 26, 2006 10:38 pm
Posts: 1
Hi all, I'm stuck and I can not figure out what is going on. I have a mapping that includes a many-to-one relationship and a one-to-many relationship. When I go to save the object, I get the error: java.lang.ClassCastException: java.lang.Boolean

This was working at one point, and I can't figure out what is going on. But what is interesting is that when this code is run in tomcat I don't see the problem, only when I run it stand-alone using eclipse. Any help would be most appreciated.

Hibernate version:
3.2.2

Mapping documents:
<hibernate-mapping default-lazy="false">

<class name="com.agilewaves.ADAS.Event.Event" table="ADASEvent" lazy="false">
<id type="int" name="ID" column="ID">
<generator class="sequence">
<param name="sequence">ADASEvent_seq</param>
</generator>
</id>
<property name="Name" column="Name" not-null="true" type="string"/>
<property name="Description" column="Description" not-null="false" type="string"/>
<property name="Type" column="Type" not-null="true" type="int"/>
<property name="State" column="State" not-null="true" type="int"/>
<property name="Created" column="Created" not-null="true" type="timestamp"/>
<property name="Occurrences" column="Occurrences" not-null="true" type="int"/>
<many-to-one name="CI" column="CIID" class="com.agilewaves.ADAS.CMDB.CI"
not-null="false" foreign-key="ADASEVENT_FK"/>
<set name="Data" table="ADASLinkEventData" cascade="all-delete-orphan" lazy="false">
<key column="EventID" foreign-key="ADASLINKEVENTDATA_FK"/>
<many-to-many class="com.agilewaves.ADAS.Event.Data" column="DataID"
foreign-key="ADASLINKEVENTDATA_FK2"/>
</set>
</class>

<hibernate-mapping default-lazy="false">

<class name="com.agilewaves.ADAS.Event.Data" table="ADASData">
<id type="int" name="ID" column="ID">
<generator class="sequence">
<param name="sequence">ADASData_seq</param>
</generator>
</id>
<property name="Name" column="Name" not-null="true" type="string"/>
<property name="Value" column="Value" not-null="true" type="string"/>
<property name="Units" column="Units" not-null="false" type="string"/>
<property name="Datatype" column="Datatype" not-null="true" type="int"/>
</class>

</hibernate-mapping>

<hibernate-mapping default-lazy="false">

<class name="com.agilewaves.ADAS.CMDB.CI" table="ADASCI">
<id type="int" name="ID" column="ID">
<generator class="sequence">
<param name="sequence">ADASCI_seq</param>
</generator>
</id>
<property name="Name" column="Name" not-null="true" type="string"/>
<property name="DisplayName" column="DisplayName" not-null="true" type="string"/>
<property name="Description" column="Description" not-null="false" type="string"/>
<property name="Type" column="Type" not-null="true" type="string"/>
<property name="ExternalID" column="ExternalID" not-null="false" type="string"/>
<property name="Version" column="Version" not-null="true" type="string"/>
<property name="Aggregator" column="Aggregator" not-null="false" type="string"/>
<property name="Aggregate" column="Aggregate" not-null="true" type="int"/>
<property name="Calibrator" column="Calibrator" not-null="false" type="string"/>
<property name="DateCreated" column="CREATEDTIMESTAMP" not-null="true" type="timestamp"/>
<many-to-one name="Location" column="LocationID" class="com.agilewaves.ADAS.Access.Location"
not-null="false" foreign-key="ADASCI_FK"/>
<many-to-one name="Owner" column="OwnerID" class="com.agilewaves.ADAS.Access.User"
not-null="false" foreign-key="ADASCI_FK2"/>
</class>

</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():
public static Session getSession()
{
Session session = (Session) DAO._session.get();
if (session == null)
{
session = _sessionFactory.openSession();
DAO._session.set(session);
}
return session;
}
protected void begin()
{
getSession().beginTransaction();
}
protected void commit() throws Exception
{
try {
getSession().getTransaction().commit();
}
catch (Exception ex)
{
rollback();
throw ex;
}
}
public submitEvent(Event ev)
{
.
.
.
begin();
getSession().saveOrUpdate(ev);
commit();
}

Full stack trace of any exception that occurs:
java.lang.ClassCastException: java.lang.Boolean
at org.hibernate.type.SetType.wrap(SetType.java:39)
at org.hibernate.event.def.WrapVisitor.processArrayOrNewCollection(WrapVisitor.java:84)
at org.hibernate.event.def.WrapVisitor.processCollection(WrapVisitor.java:51)
at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101)
at org.hibernate.event.def.WrapVisitor.processValue(WrapVisitor.java:98)
at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55)
at org.hibernate.event.def.AbstractSaveEventListener.visitCollectionsBeforeSave(AbstractSaveEventListener.java:371)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:273)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at com.agilewaves.ADAS.Event.EventManager.submitEvent(EventManager.java:126)
at com.agilewaves.ADAS.Event.EventManager.main(EventManager.java:608)

Name and version of the database you are using:
Oracle Express
The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:
23:43:20,703 DEBUG JDBCContext:210 - after transaction begin
23:43:20,703 DEBUG QueryPlanCache:70 - unable to locate HQL query plan in cache; generating (from Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description)
23:43:20,703 DEBUG QueryTranslatorImpl:246 - parse() - HQL: from com.agilewaves.ADAS.Event.Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description
23:43:20,718 DEBUG AST:266 - --- HQL AST ---
\-[QUERY] 'query'
+-[SELECT_FROM] 'SELECT_FROM'
| \-[FROM] 'from'
| \-[RANGE] 'RANGE'
| +-[DOT] '.'
| | +-[DOT] '.'
| | | +-[DOT] '.'
| | | | +-[DOT] '.'
| | | | | +-[IDENT] 'com'
| | | | | \-[IDENT] 'agilewaves'
| | | | \-[IDENT] 'ADAS'
| | | \-[IDENT] 'Event'
| | \-[IDENT] 'Event'
| \-[ALIAS] 'event'
\-[WHERE] 'where'
\-[AND] 'AND'
+-[AND] 'AND'
| +-[AND] 'AND'
| | +-[EQ] '='
| | | +-[IDENT] 'Occurrences'
| | | \-[COLON] ':'
| | | \-[IDENT] 'Occurrences'
| | \-[EQ] '='
| | +-[IDENT] 'Name'
| | \-[COLON] ':'
| | \-[IDENT] 'Name'
| \-[EQ] '='
| +-[IDENT] 'Type'
| \-[COLON] ':'
| \-[IDENT] 'Type'
\-[EQ] '='
+-[IDENT] 'Description'
\-[COLON] ':'
\-[IDENT] 'Description'

23:43:20,718 DEBUG ErrorCounter:68 - throwQueryException() : no errors
23:43:20,718 DEBUG HqlSqlBaseWalker:111 - select << begin [level=1, statement=select]
23:43:20,718 DEBUG FromElement:108 - FromClause{level=1} : com.agilewaves.ADAS.Event.Event (event) -> event0_
23:43:20,718 DEBUG HqlSqlWalker:475 - attempting to resolve property [Occurrences] as a non-qualified ref
23:43:20,718 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias} -> {synthetic-alias}
23:43:20,718 DEBUG FromElement:525 - handling property dereference [com.agilewaves.ADAS.Event.Event (event) -> Occurrences (class)]
23:43:20,718 DEBUG DotNode:555 - getDataType() : Occurrences -> org.hibernate.type.IntegerType@1e2befa
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias}.Occurrences -> event0_.Occurrences
23:43:20,734 DEBUG HqlSqlWalker:475 - attempting to resolve property [Name] as a non-qualified ref
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias} -> {synthetic-alias}
23:43:20,734 DEBUG FromElement:525 - handling property dereference [com.agilewaves.ADAS.Event.Event (event) -> Name (class)]
23:43:20,734 DEBUG DotNode:555 - getDataType() : Name -> org.hibernate.type.StringType@13e0aba
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias}.Name -> event0_.Name
23:43:20,734 DEBUG HqlSqlWalker:475 - attempting to resolve property [Type] as a non-qualified ref
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias} -> {synthetic-alias}
23:43:20,734 DEBUG FromElement:525 - handling property dereference [com.agilewaves.ADAS.Event.Event (event) -> Type (class)]
23:43:20,734 DEBUG DotNode:555 - getDataType() : Type -> org.hibernate.type.IntegerType@1e2befa
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias}.Type -> event0_.Type
23:43:20,734 DEBUG HqlSqlWalker:475 - attempting to resolve property [Description] as a non-qualified ref
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias} -> {synthetic-alias}
23:43:20,734 DEBUG FromElement:525 - handling property dereference [com.agilewaves.ADAS.Event.Event (event) -> Description (class)]
23:43:20,734 DEBUG DotNode:555 - getDataType() : Description -> org.hibernate.type.StringType@13e0aba
23:43:20,734 DEBUG FromReferenceNode:51 - Resolved : {synthetic-alias}.Description -> event0_.Description
23:43:20,734 DEBUG HqlSqlBaseWalker:117 - select : finishing up [level=1, statement=select]
23:43:20,734 DEBUG HqlSqlWalker:509 - processQuery() : ( SELECT ( FromClause{level=1} ADASEvent event0_ ) ( where ( AND ( AND ( AND ( = ( event0_.Occurrences {synthetic-alias} Occurrences ) ? ) ( = ( event0_.Name {synthetic-alias} Name ) ? ) ) ( = ( event0_.Type {synthetic-alias} Type ) ? ) ) ( = ( event0_.Description {synthetic-alias} Description ) ? ) ) ) )
23:43:20,734 DEBUG HqlSqlWalker:716 - Derived SELECT clause created.
23:43:20,734 DEBUG JoinProcessor:148 - Using FROM fragment [ADASEvent event0_]
23:43:20,750 DEBUG HqlSqlBaseWalker:123 - select >> end [level=1, statement=select]
23:43:20,750 DEBUG AST:232 - --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT' querySpaces (ADASEvent)
+-[SELECT_CLAUSE] SelectClause: '{derived select clause}'
| +-[SELECT_EXPR] SelectExpressionImpl: 'event0_.ID as ID6_' {FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=event,role=null,tableName=ADASEvent,tableAlias=event0_,origin=null,colums={,className=com.agilewaves.ADAS.Event.Event}}}
| \-[SQL_TOKEN] SqlFragment: 'event0_.Name as Name6_, event0_.Description as Descript3_6_, event0_.Type as Type6_, event0_.State as State6_, event0_.Created as Created6_, event0_.Occurrences as Occurren7_6_, event0_.CIID as CIID6_'
+-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[event], fromElementByTableAlias=[event0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
| \-[FROM_FRAGMENT] FromElement: 'ADASEvent event0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=event,role=null,tableName=ADASEvent,tableAlias=event0_,origin=null,colums={,className=com.agilewaves.ADAS.Event.Event}}
\-[WHERE] SqlNode: 'where'
\-[AND] SqlNode: 'AND'
+-[AND] SqlNode: 'AND'
| +-[AND] SqlNode: 'AND'
| | +-[EQ] BinaryLogicOperatorNode: '='
| | | +-[DOT] DotNode: 'event0_.Occurrences' {propertyName=Occurrences,dereferenceType=4,propertyPath=Occurrences,path={synthetic-alias}.Occurrences,tableAlias=event0_,className=com.agilewaves.ADAS.Event.Event,classAlias=event}
| | | | +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| | | | \-[IDENT] IdentNode: 'Occurrences' {originalText=Occurrences}
| | | \-[NAMED_PARAM] ParameterNode: '?' {name=Occurrences, expectedType=org.hibernate.type.IntegerType@1e2befa}
| | \-[EQ] BinaryLogicOperatorNode: '='
| | +-[DOT] DotNode: 'event0_.Name' {propertyName=Name,dereferenceType=4,propertyPath=Name,path={synthetic-alias}.Name,tableAlias=event0_,className=com.agilewaves.ADAS.Event.Event,classAlias=event}
| | | +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| | | \-[IDENT] IdentNode: 'Name' {originalText=Name}
| | \-[NAMED_PARAM] ParameterNode: '?' {name=Name, expectedType=org.hibernate.type.StringType@13e0aba}
| \-[EQ] BinaryLogicOperatorNode: '='
| +-[DOT] DotNode: 'event0_.Type' {propertyName=Type,dereferenceType=4,propertyPath=Type,path={synthetic-alias}.Type,tableAlias=event0_,className=com.agilewaves.ADAS.Event.Event,classAlias=event}
| | +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| | \-[IDENT] IdentNode: 'Type' {originalText=Type}
| \-[NAMED_PARAM] ParameterNode: '?' {name=Type, expectedType=org.hibernate.type.IntegerType@1e2befa}
\-[EQ] BinaryLogicOperatorNode: '='
+-[DOT] DotNode: 'event0_.Description' {propertyName=Description,dereferenceType=4,propertyPath=Description,path={synthetic-alias}.Description,tableAlias=event0_,className=com.agilewaves.ADAS.Event.Event,classAlias=event}
| +-[IDENT] IdentNode: '{synthetic-alias}' {originalText={synthetic-alias}}
| \-[IDENT] IdentNode: 'Description' {originalText=Description}
\-[NAMED_PARAM] ParameterNode: '?' {name=Description, expectedType=org.hibernate.type.StringType@13e0aba}

23:43:20,750 DEBUG ErrorCounter:68 - throwQueryException() : no errors
23:43:20,750 DEBUG QueryTranslatorImpl:216 - HQL: from com.agilewaves.ADAS.Event.Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description
23:43:20,750 DEBUG QueryTranslatorImpl:217 - SQL: select event0_.ID as ID6_, event0_.Name as Name6_, event0_.Description as Descript3_6_, event0_.Type as Type6_, event0_.State as State6_, event0_.Created as Created6_, event0_.Occurrences as Occurren7_6_, event0_.CIID as CIID6_ from ADASEvent event0_ where event0_.Occurrences=? and event0_.Name=? and event0_.Type=? and event0_.Description=?
23:43:20,750 DEBUG ErrorCounter:68 - throwQueryException() : no errors
23:43:20,750 DEBUG HQLQueryPlan:269 - HQL param location recognition took 0 mills (from Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description)
23:43:20,765 DEBUG QueryPlanCache:76 - located HQL query plan in cache (from Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description)
23:43:20,765 DEBUG HQLQueryPlan:150 - find: from Event event where Occurrences = :Occurrences AND Name = :Name AND Type = :Type AND Description = :Description
23:43:20,765 DEBUG QueryParameters:277 - named parameters: {Type=0, Description=Water data, Name=WaterData, Occurrences=1}
23:43:20,765 DEBUG AbstractBatcher:358 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
23:43:20,765 DEBUG SQL:393 - select event0_.ID as ID6_, event0_.Name as Name6_, event0_.Description as Descript3_6_, event0_.Type as Type6_, event0_.State as State6_, event0_.Created as Created6_, event0_.Occurrences as Occurren7_6_, event0_.CIID as CIID6_ from ADASEvent event0_ where event0_.Occurrences=? and event0_.Name=? and event0_.Type=? and event0_.Description=?
Hibernate: select event0_.ID as ID6_, event0_.Name as Name6_, event0_.Description as Descript3_6_, event0_.Type as Type6_, event0_.State as State6_, event0_.Created as Created6_, event0_.Occurrences as Occurren7_6_, event0_.CIID as CIID6_ from ADASEvent event0_ where event0_.Occurrences=? and event0_.Name=? and event0_.Type=? and event0_.Description=?
23:43:20,765 DEBUG AbstractBatcher:476 - preparing statement
23:43:20,765 DEBUG AbstractBatcher:374 - about to open ResultSet (open ResultSets: 0, globally: 0)
23:43:20,765 DEBUG Loader:682 - processing result set
23:43:20,765 DEBUG Loader:709 - done processing result set (0 rows)
23:43:20,765 DEBUG AbstractBatcher:381 - about to close ResultSet (open ResultSets: 1, globally: 1)
23:43:20,765 DEBUG AbstractBatcher:366 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
23:43:20,765 DEBUG AbstractBatcher:525 - closing statement
23:43:20,765 DEBUG Loader:839 - total objects hydrated: 0
23:43:20,781 DEBUG StatefulPersistenceContext:777 - initializing non-lazy collections
23:43:20,781 DEBUG JDBCTransaction:103 - commit
23:43:20,781 DEBUG SessionImpl:337 - automatically flushing session
23:43:20,781 DEBUG JDBCContext:201 - before transaction completion
23:43:20,781 DEBUG SessionImpl:393 - before transaction completion
23:43:20,781 DEBUG JDBCTransaction:116 - committed JDBC Connection
23:43:20,781 DEBUG JDBCContext:215 - after transaction completion
23:43:20,781 DEBUG ConnectionManager:402 - aggressively releasing JDBC connection
23:43:20,781 DEBUG ConnectionManager:439 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
23:43:20,781 DEBUG DriverManagerConnectionProvider:129 - returning connection to pool, pool size: 1
23:43:20,781 DEBUG SessionImpl:422 - after transaction completion
23:43:20,781 DEBUG JDBCTransaction:54 - begin
23:43:20,781 DEBUG ConnectionManager:419 - opening JDBC connection
23:43:20,781 DEBUG DriverManagerConnectionProvider:93 - total checked-out connections: 0
23:43:20,781 DEBUG DriverManagerConnectionProvider:99 - using pooled JDBC connection, pool size: 0
23:43:20,781 DEBUG JDBCTransaction:59 - current autocommit status: false
23:43:20,781 DEBUG JDBCContext:210 - after transaction begin
23:43:20,781 DEBUG IdentifierValue:104 - id unsaved-value: -1
23:43:20,781 DEBUG AbstractSaveEventListener:514 - transient instance of: com.agilewaves.ADAS.Event.Event
23:43:20,781 DEBUG DefaultSaveOrUpdateEventListener:158 - saving transient instance
23:43:20,781 DEBUG AbstractBatcher:358 - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
23:43:20,781 DEBUG SQL:393 - select ADASEvent_seq.nextval from dual
Hibernate: select ADASEvent_seq.nextval from dual
23:43:20,781 DEBUG AbstractBatcher:476 - preparing statement
23:43:20,796 DEBUG SequenceGenerator:82 - Sequence identifier generated: 4
23:43:20,796 DEBUG AbstractBatcher:366 - about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
23:43:20,796 DEBUG AbstractBatcher:525 - closing statement
23:43:20,796 DEBUG AbstractSaveEventListener:112 - generated identifier: 4, using strategy: org.hibernate.id.SequenceGenerator
23:43:20,796 DEBUG AbstractSaveEventListener:153 - saving [com.agilewaves.ADAS.Event.Event#4]
23:43:20,796 DEBUG Cascade:115 - processing cascade ACTION_SAVE_UPDATE for: com.agilewaves.ADAS.Event.Event
23:43:20,796 DEBUG Cascade:150 - done processing cascade ACTION_SAVE_UPDATE for: com.agilewaves.ADAS.Event.Event
23:43:20,812 ERROR EventSubmission:138 - Look up failed: java.lang.Boolean Event: WaterData
java.lang.ClassCastException: java.lang.Boolean
at org.hibernate.type.SetType.wrap(SetType.java:39)
at org.hibernate.event.def.WrapVisitor.processArrayOrNewCollection(WrapVisitor.java:84)
at org.hibernate.event.def.WrapVisitor.processCollection(WrapVisitor.java:51)
at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101)
at org.hibernate.event.def.WrapVisitor.processValue(WrapVisitor.java:98)
at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55)
at org.hibernate.event.def.AbstractSaveEventListener.visitCollectionsBeforeSave(AbstractSaveEventListener.java:371)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:273)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
at com.agilewaves.ADAS.Event.EventManager.submitEvent(EventManager.java:127)
at com.agilewaves.ADAS.Event.EventManager.main(EventManager.java:609)
23:43:20,812 DEBUG SessionImpl:273 - closing session
23:43:20,812 DEBUG ConnectionManager:378 - performing cleanup
23:43:20,812 DEBUG ConnectionManager:439 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
23:43:20,812 DEBUG DriverManagerConnectionProvider:129 - returning connection to pool, pool size: 1


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

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.