There are something wrong when using inet type with Hibernate

Поиск
Список
Период
Сортировка
От
Тема There are something wrong when using inet type with Hibernate
Дата
Msg-id 1AAB9C52CC852A44BF1DA9BFA8469193082739@winserver5.sinocodecn.com
обсуждение исходный текст
Список pgsql-jdbc

Hi

     

When I use inet type with hibernate. I mapping as follow:

    <property name="registerIp" type="java.lang.String">

           <column name="`registerIp`" />

       </property>

       <property name="isBlock" type="java.lang.Boolean">

           <column name="`isBlock`" not-null="true" />

    </property>

 

The  registerIp is inet type,when I insert into the progresql database, it show

 

org.springframework.orm.hibernate3.HibernateJdbcException: JDBC exception on Hibernate data access; nested exception is org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update

 

how can I solve it ,thanks

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

Предыдущее
От: Hartmut Benz
Дата:
Сообщение: Small addition to PGInterval
Следующее
От: "ljairath@uoguelph.ca"
Дата:
Сообщение: Sudden JVM crashes - a Postgres driver problem?