-->
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.  [ 6 posts ] 
Author Message
 Post subject: Entity Listener no longer work after updated HEM and HAN 3.3
PostPosted: Wed Mar 21, 2007 4:27 am 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
I have defined a default Entity Listener in orm.xml (this EJB3 deployment descriptor), this worked in HEM and HAN 3.2.1 but not 3.3.0. Any one get the same problem ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 21, 2007 10:44 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I apparently lack a test for it, can you open a JIRA issue and if possible attach a minimal test case, I'll fix it

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 21, 2007 1:27 pm 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
JIRA issue created
http://opensource.atlassian.com/project ... se/EJB-279

I will try my best to create a test case. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 4:50 am 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
I still can't get the orm.xml working after upgraded to HEM 3.3.1.GA. I have tested with PetClinic sample in Spring 2.0.4-snapshot (20070330-33) but still no luck unless specifying
Code:
<mapping-file>META-INF/orm.xml</mapping-file>
in persistence.xml. Moreover, should I specify
Code:
exclude-unlisted-classes
if I am using annotation ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 5:27 am 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
I think I found another problem, the orm.xml just don't work under Windows XP.

I have tried two environment:

Mac OSX
Tomcat 5.5.23
Spring 2.0.4-snapshot-20070330-33
Hibernate Core 3.2.2.GA
Hibernate Annotations 3.3.0.GA
Hibernate EntityManager 3.3.1.GA

WindowsXP
Tomcat 5.5.23
Spring 2.0.4-snapshot-20070330-33
Hibernate Core 3.2.2.GA
Hibernate Annotations 3.3.0.GA
Hibernate EntityManager 3.3.1.GA

both with
<mapping-file>META-INF/orm.xml</mapping-file> removed and <exclude-unlisted-classes>true</exclude-unlisted-classes>

I can send you the war file if you want to test with it. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 01, 2007 11:16 pm 
Newbie

Joined: Sat Aug 26, 2006 4:47 am
Posts: 9
I found the root cause and issued a new bug in JIRA

http://opensource.atlassian.com/projects/hibernate/browse/EJB-284


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