-->
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.  [ 2 posts ] 
Author Message
 Post subject: IllegalArgumentException: Object is not an instance of decla
PostPosted: Wed May 18, 2005 12:30 pm 
Newbie

Joined: Wed May 18, 2005 12:24 pm
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.0

Mapping documents:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>

<class name="com.lehman.live.app.usergroup.audit.AuditEvent"
table="ucf_audit_event">

<id name="auditEventId" column="audit_event_id" length="20">
<generator class="hilo"/>
</id>

<many-to-one name="messageId"
class="com.lehman.live.app.usergroup.audit.UCFAuditMessage"
column="message_id"
/>

<property name="eventTypeString" column="event_type"
type="string" length="1"
/>

<property name="eventClass" column="event_class"
type="string" length="100"
/>

<property name="eventDate" column="event_timestamp"
type="date"
/>

<property name="result" column="event_result"
type="string" length="100"
/>

<property name="who" column="who"
type="string" length="20"
/>

<joined-subclass name="com.lehman.live.app.usergroup.audit.GroupAuditEvent"
table="ucf_group_audit_event">

<key column="audit_event_id" />

<property name="groupId" column="group_id"
type="string" length="100"
/>

</joined-subclass>

</class>

</hibernate-mapping>
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>

<class name="com.lehman.live.app.usergroup.audit.UCFAuditMessage"
table="ucf_audit_message">

<id name="messageId" column="message_id">
<generator class="hilo"/>
</id>

<property name="sliceLocationId" column="slice_location_id"
type="string" length="20"
/>

<property name="sliceType" column="slice_type"
type="string" length="20"
/>

<property name="weblogicHost" column="weblogic_host"
type="string" length="40"
/>

<property name="weblogicPortString" column="weblogic_port"
type="string" length="20"
/>

<property name="runtime" column="runtime"
type="string" not-null="true" length="20"
/>

<property name="messageCreateDate" column="message_create_date"
type="date"
/>

<property name="messageReceiveDate" column="message_receive_date"
type="date"
/>

<bag name="auditItems" cascade="all" inverse="true">
<key column="message_id" />
<one-to-many class="com.lehman.live.app.usergroup.audit.AuditEvent" />
</bag>
</class>

</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():

Session session=sessions.openSession();
Transaction tx=session.beginTransaction();
session.save(auditMessage);
tx.commit();
session.close();


Full stack trace of any exception that occurs:

Exception in thread "main" org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of com.lehman.live.app.usergroup.audit.UCFAuditMessage.messageId
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:119)
at org.hibernate.tuple.AbstractTuplizer.getIdentifier(AbstractTuplizer.java:103)
at org.hibernate.persister.entity.BasicEntityPersister.getIdentifier(BasicEntityPersister.java:2925)
at org.hibernate.persister.entity.BasicEntityPersister.isTransient(BasicEntityPersister.java:2691)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:181)
at org.hibernate.engine.ForeignKeys$Nullifier.isNullifiable(ForeignKeys.java:137)
at org.hibernate.engine.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:69)
at org.hibernate.engine.ForeignKeys$Nullifier.nullifyTransientReferences(ForeignKeys.java:47)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:233)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:159)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:184)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:173)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:96)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:69)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:464)
at org.hibernate.engine.Cascades$5.cascade(Cascades.java:154)
at org.hibernate.engine.Cascades.cascadeAssociation(Cascades.java:771)
at org.hibernate.engine.Cascades.cascade(Cascades.java:720)
at org.hibernate.engine.Cascades.cascadeCollection(Cascades.java:895)
at org.hibernate.engine.Cascades.cascadeAssociation(Cascades.java:792)
at org.hibernate.engine.Cascades.cascade(Cascades.java:720)
at org.hibernate.engine.Cascades.cascade(Cascades.java:847)
at org.hibernate.event.def.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:362)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:264)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:159)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:184)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:173)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:69)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:477)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:472)
at com.lehman.live.app.usergroup.audit.HibernateTest.main(HibernateTest.java:46)
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:105)
... 34 more

Name and version of the database you are using:

IBM DB2

The generated SQL (show_sql=true):

N/A

[DEBUG] SQL - select next_hi from hibernate_unique_key for update with rr
[DEBUG] SQL - update hibernate_unique_key set next_hi = ? where next_hi = ?
[DEBUG] SQL - select next_hi from hibernate_unique_key for update with rr
[DEBUG] SQL - update hibernate_unique_key set next_hi = ? where next_hi = ?


Debug level Hibernate log excerpt:

[DEBUG] CacheManager - Creating new CacheManager with default config
[DEBUG] CacheManager - Configuring ehcache from classpath.
[WARN] Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/view/prowe_ll3.07_dynamic/vob/LehmanLive/config/etg/applications/lehmanlive/WEB-INF/classes/com/lehman/live/app/usergroup/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[DEBUG] Configuration$DiskStore - Disk Store Path: /tmp
################### UCFAuditMessage.getMessageId(): EXIT w/ -1
[DEBUG] BasicEntityPersister - Static SQL for entity: com.lehman.live.app.usergroup.audit.UCFAuditMessage
[DEBUG] BasicEntityPersister - Version select: select message_id from ucf_audit_message where message_id =?
[DEBUG] BasicEntityPersister - Snapshot select: select ucfauditme_.message_id, ucfauditme_.slice_location_id as slice2_0_, ucfauditme_.slice_type as slice3_0_, ucfauditme_.weblogic_host as weblogic4_0_, ucfauditme_.weblogic_port as weblogic5_0_, ucfauditme_.runtime as runtime0_, ucfauditme_.message_create_date as message7_0_, ucfauditme_.message_receive_date as message8_0_ from ucf_audit_message ucfauditme_ where ucfauditme_.message_id=?
[DEBUG] BasicEntityPersister - Insert 0: insert into ucf_audit_message (slice_location_id, slice_type, weblogic_host, weblogic_port, runtime, message_create_date, message_receive_date, message_id) values (?, ?, ?, ?, ?, ?, ?, ?)
[DEBUG] BasicEntityPersister - Update 0: update ucf_audit_message set slice_location_id=?, slice_type=?, weblogic_host=?, weblogic_port=?, runtime=?, message_create_date=?, message_receive_date=? where message_id=?
[DEBUG] BasicEntityPersister - Delete 0: delete from ucf_audit_message where message_id=?
[DEBUG] BasicEntityPersister - Static SQL for entity: com.lehman.live.app.usergroup.audit.GroupAuditEvent
[DEBUG] BasicEntityPersister - Version select: select audit_event_id from ucf_audit_event where audit_event_id =?
[DEBUG] BasicEntityPersister - Snapshot select: select groupaudit_.audit_event_id, groupaudit_1_.message_id as message2_1_, groupaudit_1_.event_type as event3_1_, groupaudit_1_.event_class as event4_1_, groupaudit_1_.event_timestamp as event5_1_, groupaudit_1_.event_result as event6_1_, groupaudit_1_.who as who1_, groupaudit_.group_id as group2_2_ from ucf_group_audit_event groupaudit_ inner join ucf_audit_event groupaudit_1_ on groupaudit_.audit_event_id=groupaudit_1_.audit_event_id where groupaudit_.audit_event_id=?
[DEBUG] BasicEntityPersister - Insert 0: insert into ucf_audit_event (message_id, event_type, event_class, event_timestamp, event_result, who, audit_event_id) values (?, ?, ?, ?, ?, ?, ?)
[DEBUG] BasicEntityPersister - Update 0: update ucf_audit_event set message_id=?, event_type=?, event_class=?, event_timestamp=?, event_result=?, who=? where audit_event_id=?
[DEBUG] BasicEntityPersister - Delete 0: delete from ucf_audit_event where audit_event_id=?
[DEBUG] BasicEntityPersister - Insert 1: insert into ucf_group_audit_event (group_id, audit_event_id) values (?, ?)
[DEBUG] BasicEntityPersister - Update 1: update ucf_group_audit_event set group_id=? where audit_event_id=?
[DEBUG] BasicEntityPersister - Delete 1: delete from ucf_group_audit_event where audit_event_id=?
[DEBUG] BasicEntityPersister - Static SQL for entity: com.lehman.live.app.usergroup.audit.AuditEvent
[DEBUG] BasicEntityPersister - Version select: select audit_event_id from ucf_audit_event where audit_event_id =?
[DEBUG] BasicEntityPersister - Snapshot select: select auditevent_.audit_event_id, auditevent_.message_id as message2_1_, auditevent_.event_type as event3_1_, auditevent_.event_class as event4_1_, auditevent_.event_timestamp as event5_1_, auditevent_.event_result as event6_1_, auditevent_.who as who1_ from ucf_audit_event auditevent_ where auditevent_.audit_event_id=?
[DEBUG] BasicEntityPersister - Insert 0: insert into ucf_audit_event (message_id, event_type, event_class, event_timestamp, event_result, who, audit_event_id) values (?, ?, ?, ?, ?, ?, ?)
[DEBUG] BasicEntityPersister - Update 0: update ucf_audit_event set message_id=?, event_type=?, event_class=?, event_timestamp=?, event_result=?, who=? where audit_event_id=?
[DEBUG] BasicEntityPersister - Delete 0: delete from ucf_audit_event where audit_event_id=?
[DEBUG] AbstractCollectionPersister - Static SQL for collection: com.lehman.live.app.usergroup.audit.UCFAuditMessage.auditItems
[DEBUG] AbstractCollectionPersister - Row insert: update ucf_audit_event set message_id=? where audit_event_id=?
[DEBUG] AbstractCollectionPersister - Row delete: update ucf_audit_event set message_id=null where message_id=? and audit_event_id=?
[DEBUG] AbstractCollectionPersister - One-shot delete: update ucf_audit_event set message_id=null where message_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.UCFAuditMessage: select ucfauditme0_.message_id as message1_0_, ucfauditme0_.slice_location_id as slice2_0_0_, ucfauditme0_.slice_type as slice3_0_0_, ucfauditme0_.weblogic_host as weblogic4_0_0_, ucfauditme0_.weblogic_port as weblogic5_0_0_, ucfauditme0_.runtime as runtime0_0_, ucfauditme0_.message_create_date as message7_0_0_, ucfauditme0_.message_receive_date as message8_0_0_ from ucf_audit_message ucfauditme0_ where ucfauditme0_.message_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.UCFAuditMessage: select ucfauditme0_.message_id as message1_0_, ucfauditme0_.slice_location_id as slice2_0_0_, ucfauditme0_.slice_type as slice3_0_0_, ucfauditme0_.weblogic_host as weblogic4_0_0_, ucfauditme0_.weblogic_port as weblogic5_0_0_, ucfauditme0_.runtime as runtime0_0_, ucfauditme0_.message_create_date as message7_0_0_, ucfauditme0_.message_receive_date as message8_0_0_ from ucf_audit_message ucfauditme0_ where ucfauditme0_.message_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.UCFAuditMessage: select ucfauditme0_.message_id as message1_0_, ucfauditme0_.slice_location_id as slice2_0_0_, ucfauditme0_.slice_type as slice3_0_0_, ucfauditme0_.weblogic_host as weblogic4_0_0_, ucfauditme0_.weblogic_port as weblogic5_0_0_, ucfauditme0_.runtime as runtime0_0_, ucfauditme0_.message_create_date as message7_0_0_, ucfauditme0_.message_receive_date as message8_0_0_ from ucf_audit_message ucfauditme0_ where ucfauditme0_.message_id=? for update with rr
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.UCFAuditMessage: select ucfauditme0_.message_id as message1_0_, ucfauditme0_.slice_location_id as slice2_0_0_, ucfauditme0_.slice_type as slice3_0_0_, ucfauditme0_.weblogic_host as weblogic4_0_0_, ucfauditme0_.weblogic_port as weblogic5_0_0_, ucfauditme0_.runtime as runtime0_0_, ucfauditme0_.message_create_date as message7_0_0_, ucfauditme0_.message_receive_date as message8_0_0_ from ucf_audit_message ucfauditme0_ where ucfauditme0_.message_id=? for update with rr
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.GroupAuditEvent: select groupaudit0_.audit_event_id as audit1_0_, groupaudit0_1_.message_id as message2_1_0_, groupaudit0_1_.event_type as event3_1_0_, groupaudit0_1_.event_class as event4_1_0_, groupaudit0_1_.event_timestamp as event5_1_0_, groupaudit0_1_.event_result as event6_1_0_, groupaudit0_1_.who as who1_0_, groupaudit0_.group_id as group2_2_0_ from ucf_group_audit_event groupaudit0_ inner join ucf_audit_event groupaudit0_1_ on groupaudit0_.audit_event_id=groupaudit0_1_.audit_event_id where groupaudit0_.audit_event_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.GroupAuditEvent: select groupaudit0_.audit_event_id as audit1_0_, groupaudit0_1_.message_id as message2_1_0_, groupaudit0_1_.event_type as event3_1_0_, groupaudit0_1_.event_class as event4_1_0_, groupaudit0_1_.event_timestamp as event5_1_0_, groupaudit0_1_.event_result as event6_1_0_, groupaudit0_1_.who as who1_0_, groupaudit0_.group_id as group2_2_0_ from ucf_group_audit_event groupaudit0_ inner join ucf_audit_event groupaudit0_1_ on groupaudit0_.audit_event_id=groupaudit0_1_.audit_event_id where groupaudit0_.audit_event_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.GroupAuditEvent: select groupaudit0_.audit_event_id as audit1_0_, groupaudit0_1_.message_id as message2_1_0_, groupaudit0_1_.event_type as event3_1_0_, groupaudit0_1_.event_class as event4_1_0_, groupaudit0_1_.event_timestamp as event5_1_0_, groupaudit0_1_.event_result as event6_1_0_, groupaudit0_1_.who as who1_0_, groupaudit0_.group_id as group2_2_0_ from ucf_group_audit_event groupaudit0_ inner join ucf_audit_event groupaudit0_1_ on groupaudit0_.audit_event_id=groupaudit0_1_.audit_event_id where groupaudit0_.audit_event_id=? for update with rr
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.GroupAuditEvent: select groupaudit0_.audit_event_id as audit1_0_, groupaudit0_1_.message_id as message2_1_0_, groupaudit0_1_.event_type as event3_1_0_, groupaudit0_1_.event_class as event4_1_0_, groupaudit0_1_.event_timestamp as event5_1_0_, groupaudit0_1_.event_result as event6_1_0_, groupaudit0_1_.who as who1_0_, groupaudit0_.group_id as group2_2_0_ from ucf_group_audit_event groupaudit0_ inner join ucf_audit_event groupaudit0_1_ on groupaudit0_.audit_event_id=groupaudit0_1_.audit_event_id where groupaudit0_.audit_event_id=? for update with rr
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.AuditEvent: select auditevent0_.audit_event_id as audit1_0_, auditevent0_.message_id as message2_1_0_, auditevent0_.event_type as event3_1_0_, auditevent0_.event_class as event4_1_0_, auditevent0_.event_timestamp as event5_1_0_, auditevent0_.event_result as event6_1_0_, auditevent0_.who as who1_0_, auditevent0_1_.group_id as group2_2_0_, case when auditevent0_1_.audit_event_id is not null then 1 when auditevent0_.audit_event_id is not null then 0 end as clazz_0_ from ucf_audit_event auditevent0_ left outer join ucf_group_audit_event auditevent0_1_ on auditevent0_.audit_event_id=auditevent0_1_.audit_event_id where auditevent0_.audit_event_id=?
[DEBUG] EntityLoader - Static select for entity com.lehman.live.app.usergroup.audit.AuditEvent: select auditevent0_.audit_event_id as audit1_0_, auditevent0_.message_id as message2_1_0_, auditevent0_.event_type as event3_1_0_, auditevent0_.event_class as event4_1_0_, auditevent0_.event_timestamp as event5_1_0_, auditevent0_.event_result as event6_1_0_, auditevent0_.who as who1_0_, auditevent0_1_.group_id as group2_2_0_, case when auditevent0_1_.audit_event_id is not null then 1 when auditevent0_.audit_event_id is not null then 0 end as clazz_0_ from ucf_audit_event auditevent0_ left outer join ucf_group_audit_event auditevent0_1_ on auditevent0_.audit_event_id=auditevent0_1_.audit_event_id where auditevent0_.audit_event_id=?
[DEBUG] OneToManyLoader - Static select for one-to-many com.lehman.live.app.usergroup.audit.UCFAuditMessage.auditItems: select audititems0_.message_id as message2___, audititems0_.audit_event_id as audit1___, audititems0_.audit_event_id as audit1_0_, audititems0_.message_id as message2_1_0_, audititems0_.event_type as event3_1_0_, audititems0_.event_class as event4_1_0_, audititems0_.event_timestamp as event5_1_0_, audititems0_.event_result as event6_1_0_, audititems0_.who as who1_0_, audititems0_1_.group_id as group2_2_0_, case when audititems0_1_.audit_event_id is not null then 1 when audititems0_.audit_event_id is not null then 0 end as clazz_0_ from ucf_audit_event audititems0_ left outer join ucf_group_audit_event audititems0_1_ on audititems0_.audit_event_id=audititems0_1_.audit_event_id where audititems0_.message_id=?
[DEBUG] SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory
[DEBUG] SessionFactoryObjectFactory - registered: 8a8c925d03f083d00103f083d5ba0000 (unnamed)
[INFO] SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
[DEBUG] SessionFactoryImpl - instantiated session factory
[INFO] SessionFactoryImpl - Checking 0 named queries
[DEBUG] SessionImpl - opened session at timestamp: 4572904249118720
[DEBUG] JDBCTransaction - begin
[DEBUG] AbstractBatcher - opening JDBC connection
[TRACE] DriverManagerConnectionProvider - total checked-out connections: 0
[TRACE] DriverManagerConnectionProvider - using pooled JDBC connection, pool size: 0
[DEBUG] JDBCTransaction - current autocommit status: false
[TRACE] DefaultSaveOrUpdateEventListener - saving transient instance
[DEBUG] AbstractBatcher - opening JDBC connection
[TRACE] DriverManagerConnectionProvider - total checked-out connections: 1
[DEBUG] DriverManagerConnectionProvider - opening new JDBC connection
[DEBUG] DriverManagerConnectionProvider - created connection to: jdbc:db2://daulb014:60008/daucf, Isolation Level: 2
[DEBUG] SQL - select next_hi from hibernate_unique_key for update with rr
[DEBUG] SQL - update hibernate_unique_key set next_hi = ? where next_hi = ?
[DEBUG] AbstractBatcher - closing JDBC connection (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)
[TRACE] DriverManagerConnectionProvider - returning connection to pool, pool size: 1
[DEBUG] TableHiLoGenerator - new hi value: 31
[DEBUG] AbstractSaveEventListener - generated identifier: 1015808, using strategy: org.hibernate.id.TableHiLoGenerator
[TRACE] AbstractSaveEventListener - saving [com.lehman.live.app.usergroup.audit.UCFAuditMessage#1015808]
################### UCFAuditMessage.setMessageId(): ENTRY w/ 1015808
[TRACE] Cascades - processing cascade ACTION_SAVE_UPDATE for: com.lehman.live.app.usergroup.audit.UCFAuditMessage
[TRACE] Cascades - done processing cascade ACTION_SAVE_UPDATE for: com.lehman.live.app.usergroup.audit.UCFAuditMessage
[TRACE] WrapVisitor - Wrapped collection in role: com.lehman.live.app.usergroup.audit.UCFAuditMessage.auditItems
[TRACE] Cascades - processing cascade ACTION_SAVE_UPDATE for: com.lehman.live.app.usergroup.audit.UCFAuditMessage
[TRACE] Cascades - cascade ACTION_SAVE_UPDATE for collection: com.lehman.live.app.usergroup.audit.UCFAuditMessage.auditItems
[TRACE] Cascades - cascading to saveOrUpdate: com.lehman.live.app.usergroup.audit.AuditEvent
[TRACE] Cascades - id unsaved-value: -1
[TRACE] AbstractSaveEventListener - transient instance of: com.lehman.live.app.usergroup.audit.AuditEvent
[TRACE] DefaultSaveOrUpdateEventListener - saving transient instance
[DEBUG] AbstractBatcher - opening JDBC connection
[TRACE] DriverManagerConnectionProvider - total checked-out connections: 1
[TRACE] DriverManagerConnectionProvider - using pooled JDBC connection, pool size: 0
[DEBUG] SQL - select next_hi from hibernate_unique_key for update with rr
[DEBUG] SQL - update hibernate_unique_key set next_hi = ? where next_hi = ?
[DEBUG] AbstractBatcher - closing JDBC connection (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)
[TRACE] DriverManagerConnectionProvider - returning connection to pool, pool size: 1
[DEBUG] TableHiLoGenerator - new hi value: 32
[DEBUG] AbstractSaveEventListener - generated identifier: 1048576, using strategy: org.hibernate.id.TableHiLoGenerator
[TRACE] AbstractSaveEventListener - saving [com.lehman.live.app.usergroup.audit.GroupAuditEvent#1048576]
[ERROR] BasicPropertyAccessor - IllegalArgumentException in class: com.lehman.live.app.usergroup.audit.UCFAuditMessage, getter method of property: messageId


Top
 Profile  
 
 Post subject: Re: IllegalArgumentException: Object is not an instance of d
PostPosted: Wed May 18, 2005 4:32 pm 
Expert
Expert

Joined: Mon Feb 14, 2005 12:32 pm
Posts: 609
Location: Atlanta, GA - USA
What do your Java classes look like ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.