JDBC Best Practices

Keep this in mind and follow when write JDBC code in your project. 1. Choose the Best Driver 2. Use Connection Pools 3. Always Use Prepared Statements 4. JDBC Batch update will improve the performance 5. Close the connections properly 6. Disable the autocommit option 7. Use the correct Get method (getData())

» Read more