mercredi 19 août 2015

How to enable the foreign key in sqlite through java code

How to enable the foreign key in sqlite through java code. My code to dbconnection is as follows:

ctx = new InitialContext(); ds = (DataSource) ctx.lookup("java:comp/env/jdbc/sqlite"); connection = ds.getConnection();

Aucun commentaire:

Enregistrer un commentaire