-->
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: Hibernate Generation Code > DAO exporter > invalid cla
PostPosted: Sun Sep 17, 2006 3:07 pm 
Beginner
Beginner

Joined: Mon Apr 03, 2006 2:41 am
Posts: 25
Location: Mauritius
Hi all,

I'm using Hibernate tool in Eclipse v3.2.0.beta6a

I used the DAO exporter of "Hibernate Generation Code..." in order to generate DAO classes.

It generated something like :

Code:

@Stateless
public class PublicationstatusHome {
...
}


But when I deployed it, I got

Quote:
bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface


In order to fix this issue I created a local interface and implements it in the generated class.

Code:

@Local
public interface PublicationstatusLocal {
...
}

@Stateless
public class PublicationstatusHome implements PublicationstatusLocal {
...
}


So does it mean that the DAO exporter produces invalid classes or that I have missed something ( configuration, understanding, ... ) ?

Thanks in advance for the feedback

Christophe Laumond,
M-ITC Ltd,
Mauritius


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.