Good JDBC pattern

Posted by Java Developer on Stack Overflow See other posts from Stack Overflow or by Java Developer
Published on 2012-06-16T15:03:11Z Indexed on 2012/06/16 15:16 UTC
Read the original article Hit count: 111

Filed under:
|
|
|

What is the good practice for database operation in Java application? Do you construct the DML syntax in the Java code and send the statements to DB engine for execution, or you just collect the parameters and then make a call to stored procedure with the parameters via java code? or neither because that's just not how to do it? can anyone give an example of a full database utility classes to do database operations in Java app? also what about the transaction manager? My assignment is to make database operation that is modular in Java. Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about homework