• Post Reply Bookmark Topic Watch Topic
  • New Topic

SCEA 5 / 1 - JPA X JDBC

 
Steven Colley
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short and fast...

what are the situations where I would be choosing JDBC over JPA ??

1 - complex queries in a simple app...(JDBC?)
2 - query flexibility ..(JDBC?)

what else??

Tkkks in advance! ;-)
 
Benoît de Chateauvieux
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Steven,

I think you can add that in JPQL
"Support for joins is currently limited to single-valued relationships."
(ejb-3_0-fr-spec-persistence 3.6.6)

Beno�t
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!