Hibernate Query problem with Informix

后端 未结 2 1346
无人及你
无人及你 2021-01-22 12:52

I have written an application using Seam 2.2.1 & MySQL which is working. I am now trying to connect the application to Informix and when I execute a query f

相关标签:
2条回答
  • 2021-01-22 13:13

    You meant this query:

    FROM User
    

    Because the select tag in HQL doesn't have to be specified when you want to retrieve all the properties of the object.

    0 讨论(0)
  • 2021-01-22 13:15

    Googling for "No such column name" informix hibernate has led me to the following Hibernate bug report, which describes exactly the same problem: https://hibernate.onjira.com/browse/HBX-1126

    The solution seems to remove the parameter DELIMIDENT=y from the datasource URL.

    0 讨论(0)
提交回复
热议问题