Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 920693 thumbnail
User 1059807 avatar

By acoin
via sql.dzone.com
Submitted: Feb 08 2013 / 10:06

I used ORM to retrieve a list of all the Products and then called the relationships to find out if they had multiple product options, price variations etc. Whilst this worked nicely, it was far from performant. I ended up replacing the use of ORM for this part and replaced it with a single SQL statement.
  • 1
  • 0
  • 52
  • 114

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.

Voters For This Link (1)



Voters Against This Link (0)