-->
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.  [ 3 posts ] 
Author Message
 Post subject: Inheritance problem, jboss-4.0.3SP1, try more than 2 levels
PostPosted: Wed Nov 16, 2005 4:03 am 
Newbie

Joined: Wed Nov 16, 2005 3:48 am
Posts: 2
Location: Sam Mateo, CA
I am having problem getting EJB 3.0 entity beans work with inheritance more than 2 levels deep after upgrading to jboss-4.0.3SP1 from jboss-EJB-3.0_Preview_5.

3 levels doesn't work using any inheritance strategy.

entity A <- entity B <- entity C

Does anybody have working sample?

Preview_5 used to work at least using
@Inheritance(strategy = InheritanceType.JOINED)

Now none of configuration work. Help!

P.S. I commented out hibernate id @Column annotation
//@Column(name = "CONT_ID",columnDefinition...
@Id(generate = GeneratorType.AUTO)
public int getId() {
return id;
}


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 16, 2005 7:06 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Check the unit test suite, it's working

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 12:48 am 
Newbie

Joined: Wed Nov 16, 2005 3:48 am
Posts: 2
Location: Sam Mateo, CA
emmanuel wrote:
Check the unit test suite, it's working

yes, your are right, it is working. look like this was the first time i run unit test with @Remote inteface... i fixed test case.


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