-->
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: Reverse Eng.WITH Annot.but WITHOUT javax.ejb.* (@Stateless)?
PostPosted: Wed Feb 16, 2011 10:52 am 
Beginner
Beginner

Joined: Wed Oct 08, 2008 10:59 am
Posts: 37
Ok, I can generate annotated java source code for the domain objects from existing e.g. MySQL DBs with Reverse Engineering.

When I tick on tab "Exporters" the two checkboxes
- Use Java 5 syntax
adn
- Generate EJB3 annotations

this works fine except one thing.
Unfortunately there are not only Hibernate/JPA annotations (= import javax.persistence.*)
but also occasionally EJB3 annotations (=import javax.ejb.*) for example for

@Stateless

annotations.

How can I avoid completely all

import javax.ejb.*

and let HT generate only pure Hibernate/JPA annotations?

Peter


Top
 Profile  
 
 Post subject: Re: Reverse Eng.WITH Annot.but WITHOUT javax.ejb.* (@Stateless)?
PostPosted: Mon Feb 21, 2011 6:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Dont run DAO generation with EJB3 annotations enabled.

_________________
Max
Don't forget to rate


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.