[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Workbench to use annotations

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.



ipazmino wrote:
> 
> Hi,
> 
> 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,
> 
> IP
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
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.