Re: connection variables problem - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: connection variables problem
Date
Msg-id Pine.BSO.4.64.0705041214320.20762@leary.csoft.net
Whole thread Raw
In response to connection variables problem  ("Badawy, Mohamed" <Mohamed.Badawy@ams-europe.com>)
Responses Re: connection variables problem
List pgsql-jdbc

On Wed, 2 May 2007, Badawy, Mohamed wrote:

> Am working using maven framework I want to connect to the DB with no
> foreign key checking in mysql I use to write (Connection jdbcConnection
> = DriverManager.getConnection(
>
> "jdbc:postgresql://localhost:5432/post?sessionVariables=FOREIGN_KEY_CHEC
> KS=0", "aaa", "aaa");)
>
> I want the corresponding to in postgresql

Postgresql does not offer a similar feature and I see no reason that it
should.  Why would you possibly want to disable your foreign keys?
Perhaps you should be using deferred foreign keys instead?

Kris Jurka


pgsql-jdbc by date:

Previous
From: "B. Jordan"
Date:
Subject: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
Next
From: Kris Jurka
Date:
Subject: Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?