«« Next » « Previous
«« Next » « Previous

Link Details

Link 87164 thumbnail
User 185351 avatar

By jsugrue
via java.dzone.com
Published: Jun 14 2008 / 00:24

I previously blogged about the shortcomings of JDBC and its way of passing SQL statements as strings without any compile-time checking or type safety. The same also applies to other SQL-based database access libraries such as Microsoft’s ODBC, OLE DB and ADO.NET. None of these APIs provide proper integration of SQL with the host language. Of course you could argue that object-relational mapping (ORM) tools like Hibernate have eliminated the need to work directly with SQL, but I found that there are still situations where you want to control database operations more explicitly.
  • 14
  • 1
  • 1298
  • 335

Comments

Add your comment
User 191349 avatar

raveman replied ago:

0 votes Vote down Vote up Reply

re-re-re-re-re-reinventing the wheel. use spring or maybe go crazy and try hibernate?i think its not overkill even for standalone apps.

User 285418 avatar

Motion Control replied ago:

0 votes Vote down Vote up Reply

Spring Jdbc is less than you need (no mapping), Hibernate is more (complexity) than you need.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.