Re: connection variables problem

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Badawy, Mohamed" <Mohamed(dot)Badawy(at)ams-europe(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: connection variables problem
Date: 2007-05-04 16:16:00
Message-ID: Pine.BSO.4.64.0705041214320.20762@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2007-05-04 16:19:12 Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
Previous Message B. Jordan 2007-05-04 16:07:48 error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?