This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3 and DBMS portability

 
Carlos Gavidia
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does EJB3 have mechanism that solve's DMBS portability issues? (so my app's code work with Oracle and SQL Server with no DBMS specific SQL statements, for example). I heard Hibernate does that, and i also heard both technologies(EJB3 and Hibernate) are similar.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carlos,
If you don't use DB specific SQL, it is portable. This is true regardless of technology (pure JDBC, EJB, Hibernate, etc.) It is also possible to write non-portable code using any technology. For example native queries in JPA.

Note that EJB 3 is JPA for the entity beans part. And Hibernate is an implementation of JPA.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic