[BUGS] BUG #14712: postgres how to handle boolean datatype to use 0 and 1using hibernate

Поиск
Список
Период
Сортировка
От aprasad@flexerasoftware.com
Тема [BUGS] BUG #14712: postgres how to handle boolean datatype to use 0 and 1using hibernate
Дата
Msg-id 20170619070920.1551.7081@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14712: postgres how to handle boolean datatype to use0 and 1 using hibernate
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] Too many files in pg_replslot folder
Следующее
От: Rushabh Lathia
Дата:
Сообщение: Re: [BUGS] BUG #14709: inconsistent answers with foreign datawrappers to mysql