Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> Java persistence solutions

Pages: 1
DavidKarr
stranger


Reged: 12/05/05
Posts: 2
Hibernate allows complete control over mapping SQL
      #173847 - 07/16/08 12:13 PM

You give the impression that Hibernate does not allow mapping directly with SQL, or that you can't use SQL directly. Both of these are untrue. Although implicit generation of SQL is the default, you're perfectly welcome to specify the exact SQL to map to each attribute. In addition, queries using raw SQL are also allowed.

Post Extras: Print Post   Remind Me!   Notify Moderator  

Unregistered




Re: Hibernate allows complete control over mapping SQL [Re: DavidKarr]
      #175654 - 07/23/08 11:59 AM

A couple points about Hibernate:

Hibernate also allows use of procedures, it is a little awkward though.

It is not that easy to port to the other database, especially when you have some specific datatypes like sysadte, systimestamp etc.


Post Extras: Print Post   Remind Me!   Notify Moderator  
dondragon2
Unregistered




Re: Hibernate allows complete control over mapping SQL [Re: Anonymous]
      #177916 - 08/05/08 12:16 PM

JPA also provides the functions to create native queries which are both SQL and platform specific

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3065

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5