Can I and should I use Eclipselink for non OR database interactions?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-05-07T16:57:51Z Indexed on 2010/05/08 19:08 UTC
Read the original article Hit count: 134

Filed under:
|
|

We are using Eclipselink for ORM, but we have a need for some more lightweight database interactions that are more equivalent to JDBC. My question is whether Eclipselink supports such an idiom and whether there are any advantages of it to straight JDBC. I can see one advantage being consistency and being able to use the existing connection handling. Others?

Specifically, what I'm looking for is something equivalent to Hibernate's Native SQL Query.

© Stack Overflow or respective owner

Related posts about eclipselink

Related posts about jdbc