[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eclipselink-users] Workbench to use annotations
- From: James Sutherland <jamesssss@xxxxxxxxx>
- Date: Tue, 2 Sep 2008 07:40:26 -0700 (PDT)
- Delivered-to: email@example.com
The EclipseLink Workbench is the UI for the native (old) EclipseLink ORM XML
file, OXM and EIS, is it not meant for JPA development. Eclipse Dali,
Oracle JDeveloper or other such JPA tools should be used for this.
> I'm importing some tables from a DB and building the classes using the
> workbench. What I'm trying to do is to make the same as done by hand in
> long time, with the tool in little time, but I have two problems: I can't
> make named queries like
> @NamedQuery(name = "Account.findByOwner", query = "SELECT a FROM ACCOUNT a
> WHERE a.customer.id = :customerId")
> and I get the classes mapped with descriptors, but can't get them using
> annotations. Any tips?
> Thanks in advance,
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland
EclipseLink , http://www.oracle.com/technology/products/ias/toplink/
Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink ,
Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink ,
Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence
View this message in context: http://www.nabble.com/Workbench-to-use-annotations-tp19227025p19271504.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.