Skip site navigation (1) Skip section navigation (2)

sessionVariables=FOREIGN_KEY_CHECKS=0

From: "Badawy, Mohamed" <Mohamed(dot)Badawy(at)ams-europe(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: sessionVariables=FOREIGN_KEY_CHECKS=0
Date: 2007-07-19 09:46:00
Message-ID: 8EF82CD876C6F2439EBF55C5A1D9061A52B5BB@amsmamx01.mannheim-germany.europe.ams.local (view raw or flat)
Thread:
Lists: 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

 

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2007-07-19 10:01:23
Subject: Re: sessionVariables=FOREIGN_KEY_CHECKS=0
Previous:From: romanDate: 2007-07-19 04:20:18
Subject: Using bytea with ResultSet.getBytes("..."). Problem. Help!!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group