Joined: Tue Apr 05, 2005 9:48 am Posts: 1 Location: argentina
|
Hibernate version: 2.1.7C
Mapping documents:
<class name="ReclamoModel"
table="RECLAMOS">
<!-- Common id property. -->
<id name="id"
type="long"
column="ID"
unsaved-value="null">
<generator class="sequence">
<param name="sequence">reclamos_seq</param>
</generator>
</id>
</class>
The error: Relation reclamos_seq does not exist.
Name and version of the database you are using: Postgresql 8.0
The generated SQL (show_sql=true): select nextval('reclamos_seq')
When I save the Entity Bean I get this error, but if I execute the same sql directly into the database, I receive the correct value.
|
|