Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » JPA NamedQuery Result
JPA NamedQuery Result [message #617689] Thu, 10 December 2009 00:04 Go to next message
Larry  is currently offline Larry Friend
Messages: 30
Registered: December 2009
I would like to create a named query that returns only a few fields of an Entity.

Something like this "select, from Employee emp".

I would like to get back an instance on Employee with just those fields filled in. Is this possible?? It seems pretty cumbersome to have to use "List<Object[String,int]>" .

Thanks for the help.
Re: JPA NamedQuery Result [message #617692 is a reply to message #617689] Thu, 10 December 2009 16:12 Go to previous message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Hi Larry,

This question is probably better suited for the EclipseLink forum - 111

Previous Topic:resync Tables to Entities?
Next Topic:Run JPA Project without Server
Goto Forum:

Current Time: Mon Jun 21 06:22:47 GMT 2021

Powered by FUDForum. Page generated in 0.02231 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top