From: aprasad@flexerasoftware.com
To: pgsql-bugs@postgresql.org
Subject: BUG #14712: postgres how to handle boolean datatype to use 0 and 1 using hibernate
Date: Mon, 19 Jun 2017 07:09:20 +0000
Message-ID: <20170619070920.1551.7081@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14712
Logged by: Akanksha Prasad
Email address: aprasad@flexerasoftware.com
PostgreSQL version: 9.6.2
Operating system: windows 7
Description:
I wanted to use boolean withd efault value as 1 in hbm file , the hibernate
generates the ddl for sql server and oracle and they both works fine but
postgres fails with error as cannot have int default 1 as value for boolean
field.
Please help with this. How can i do this with changes only at the dialect
level beacuse changing the application me too many changes and that too sql
server and oracle databases with fail.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: aprasad@flexerasoftware.com
Subject: Re: BUG #14712: postgres how to handle boolean datatype to use 0 and 1 using hibernate
In-Reply-To: <20170619070920.1551.7081@wrigleys.postgresql.org>
References: <20170619070920.1551.7081@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox