"select new" in jpa query: does this feature support setters ?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Boris_Romashovs
Posted On:   Wednesday, March 25, 2009 12:44 PM

I use JPA queries and a want to use this syntax:
view plaincopy to clipboardprint?

			
select new pack.UserDto(u.id, u.name) from User


But I'd like to use setters instead of constructor here.
Is it possible ?
About | Sitemap | Contact