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())

Leave a Reply

Your email address will not be published. Required fields are marked *

Play CAPTCHA Audio
Reload Image