Link Details

Link 933595 thumbnail
User 865377 avatar

By koenserneels
via koenserneels.blogspot.be
Published: Mar 05 2013 / 23:48

If you need to process large database result sets from Java you can opt for JDBC to give you the low level control required. On the other hand if you are already using an ORM in your application falling back to JDBC might imply some extra pain. You would be losing features such as optimistic locking, caching, automatic fetching when navigating the domain model and so forth. Fortunately most ORMs, like Hibernate, have some options to help you with that. While these techniques are not new, there are a couple of possibilities to choose from.
  • 12
  • 0
  • 1297
  • 922

Comments

Add your comment
User 845183 avatar

Lukas Eder replied ago:

0 votes Vote down Vote up Reply

This just shows that fetching 50k records is something extraordinary for a standard ("naive") Hibernate configuration...

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java