Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)

Поиск
Список
Период
Сортировка
От stagirus
Тема Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Дата
Msg-id 1285885133705-3047745.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Yes. we will try the following two options.
1. Operator overloading - add a suitable implicit cast on the backend side
from boolean -> smallint (not sure if this works, haven't looked at the
details)
2. Hibernate query subs: <property name="hibernate.query.substitutions">true
1, false 0</property>

I already indicated earlier these two are viable options for us.  It might
take sometime before I can post the update. Thank you for your help. See
you.

Best wishes.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Re-BUGS-Mapping-Hibernate-boolean-to-smallint-Postgresql-tp2855367p3047745.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

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

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [BUGS] Mapping Hibernate boolean to smallint(Postgresql)