sessionVariables=FOREIGN_KEY_CHECKS=0 - Mailing list pgsql-jdbc

From Badawy, Mohamed
Subject sessionVariables=FOREIGN_KEY_CHECKS=0
Date
Msg-id 8EF82CD876C6F2439EBF55C5A1D9061A52B5BB@amsmamx01.mannheim-germany.europe.ams.local
Whole thread Raw
Responses Re: sessionVariables=FOREIGN_KEY_CHECKS=0  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc

Hi All

 

 

Am working in a project & want to migrate our work from mysql to postgress we used dbunit to test & when we used to get the connection the url was like this

 

jdbc:mysql://localhost:3306/testDB?sessionVariables=FOREIGN_KEY_CHECKS=0

 

but the forigen key checks is not working with postgres. Any idea ???

 

thnx for any reply

 

 

Best Regards,,,

 

Mohamed Badawy

 

pgsql-jdbc by date:

Previous
From: "roman"
Date:
Subject: Using bytea with ResultSet.getBytes("..."). Problem. Help!!
Next
From: Dave Cramer
Date:
Subject: Re: sessionVariables=FOREIGN_KEY_CHECKS=0