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
|
|