integrity « mysql « Java Database Q&A





1. Java + MySQL integrity violation handling    stackoverflow.com

I write Java program using JDBC (mysql database). When I violate mysql integrity (f.e. I try to insert same primary key value) I catch SQL exception. Should I write it in way it ...

2. Ensuring data integrity when database is accessed by multiple java clients    stackoverflow.com

I have one MySql database instance with an Account table which maintains a Balance field. I have multiple Java applications each using a Jdbc to connect to the database that can ...