Alex Rivera | Logout

Java - JDBC alternatives

Asked 2010-03-07T16:47:46.393
67

this is just theoretical question.

I use JDBC with my Java applications for using database (select, insert, update, delete or whatever). I make "manually" Java classes which will contain data from DB tables (attribute = db column). Then I make queries (ResultSet) and fill those classes with data. I am not sure, if this is the right way.

But I've read lot of about JDO and another persistence solutions.

Can someone please recommend the best used JDBC alternatives, based on their experience?

I would also like to know the advantages of JDO over JDBC (in simple words).

I've been able to google lot of this stuff, but opinions from the "first hand" are always best.

Thanks

Edit
Report

1 Answer

1

A new and exciting alternative is GORM, which is the ORM implementation from Grails. Can now be used stand alone. Under the hood it uses Hibernate, but gives you a nice layer on top with cool dynamic finders etc.

answered 2010-03-07T17:18:49.877

Your Answer