This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark ""select new" in jpa query: does this feature support setters ?" Watch ""select new" in jpa query: does this feature support setters ?" New topic
Author

"select new" in jpa query: does this feature support setters ?

Boris Romashov
Ranch Hand

Joined: Feb 23, 2009
Posts: 38
I use JPA queries and a want to use this syntax:

But I'd like to use setters instead of constructor here.
Is it possible ?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: "select new" in jpa query: does this feature support setters ?
 
Similar Threads
Convert this 3 table join into JPA?
Dynamic Entities
Difference between Hibernate and JPA
Using bean after resultset
A sense of style: @OneToMany or @ElementCollection?