Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / September 2005

Tip: Looking for answers? Try searching our database.

JDBC vs Hibernate

Thread view: 
Sandy - 08 Sep 2005 16:26 GMT
Hi,
I am developing an application where i need to write XML data in database
tables.
Is there any way in Hibernate so that i don't need to create DAO objects in
by code, i.e. it automatically create DAO's from XML and update in database.

Also, Which approach is faster, using hibernate or using plane JDBC update
queries.
i feel hibernate is an overhead as internally it will also generate JDBC
queries.
Roedy Green - 09 Sep 2005 01:16 GMT
>Is there any way in Hibernate so that i don't need to create DAO objects in
>by code, i.e. it automatically create DAO's from XML and update in database.

if it turns out it is not, consider the possibility of writing your
specs is some simple format, (e.g. CSV, XML, properties, java source)

And then write  a stomp program to read that spec and stomp out
everything else you need.

Your specs stay compact, and every time you learn something you teach
it to your stomp program, and bang, everything is regenerated
perfectly incorporating your new knowledge/preference.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.