Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Bill Howell   on Jun 06 In Java Category.

  
Question Answered By: Damian Jones   on Jun 06

JPA is for OO programs which need a OO view of persistence storage.
if you want exact resultSet then JPA is not much a good choice for you.
for example if you want feed this result into a report or OLAP software, which user creates a SQL to run you may prefer to bypass JPA
please refer to "Fast Lane Reader" pattern
in such a cases create a "Session Facade" for this set of queries  that runs all "Stored Procedures" and "Native Queries" with special set set of columns in result set.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on JPA problem with Native Query Or get search suggestion and latest updates.


Tagged: