Re: JDBC vs Hibernate



Sandy wrote:
"Luke Webber" <luke@xxxxxxxxxxxxx> wrote in message
news:4320df5f$1_3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

It really depends on a number of factors. Do you really want database
indepence, or are you happy to stick with one DBMS? How complex is the
SQL going to get? Do you need automatic dirty checking and optimistic
locking?

My application is fairly simple, its using one database only that will never change. I just need to put the data in tables, thats all, no further SQL queries. and there are no objects which are mapping to two different tables (so i don't need complex SQL logics)

I feel JDBC is better (performance and development time wise) than hibernate
in my case.

Is there any other thing that i should consider before making the
decision.......

I think you've answered your own question. JDBC is fine for your needs. No point in adding extra layers and increasing complexity.


Luke
.



Relevant Pages

  • Re: MV and SQL
    ... >> perform enquiries on it using the query language then, again, how the ... > Are you sure that a column in Pick is equivalent to a column in an SQL table ... If you had some bizarre need to do this in a Pick DBMS though, ... > Besides the query language of Pick what other ways do ...
    (comp.databases.theory)
  • Re: MV and SQL
    ... >> perform enquiries on it using the query language then, again, how the ... > Are you sure that a column in Pick is equivalent to a column in an SQL table ... If you had some bizarre need to do this in a Pick DBMS though, ... > Besides the query language of Pick what other ways do ...
    (comp.databases.theory)
  • Re: MV and SQL
    ... >> perform enquiries on it using the query language then, again, how the ... > Are you sure that a column in Pick is equivalent to a column in an SQL table ... If you had some bizarre need to do this in a Pick DBMS though, ... > Besides the query language of Pick what other ways do ...
    (comp.databases.theory)
  • Re: MV and SQL
    ... >>> Are you sure that a column in Pick is equivalent to a column in an SQL ... > You can also change the type from varchar to array if your SQL DBMS support ... > for variables that store the data retrieved from the database. ... >>> SQL is not the only language. ...
    (comp.databases.theory)
  • Re: choices regarding where to place code - in the database or middle tier
    ... Sure, the DBMS is a good place for simple referential integrity constraints, ... to 4 separately-running-but-pipelined stored procedures, ... A typical user would enact a 100 or so business functions per day. ... own stored procedures' by storing the SQL for every business query in the DBMS ...
    (comp.lang.java.databases)