When the entity tries to load data, I get: Caused by: org.postgresql.util.PSQLException: ERROR: relation "biographicassertion" does not exist
The actual table name is "biographic_assertion". I can successfully use this name in the Postgres query editor, and also in the HQL query editor. I can also paste the HQL to SQL translation from Eclipse into the Postgres query editor, and it works.
The entity begins like this: @Entity @Table(name="biographic_assertion") @NamedQuery(name="BiographicAssertion.findAll", query="SELECT b FROM BiographicAssertion b") public class BiographicAssertion implements Serializable { private static final long serialVersionUID = 1L;
@Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name="biographic_assertion_id")
Perhaps this is related: When I try to create a Hibernate console that's JPA, it doesn't recognize the project as such, although the JPA facet is installed and JPA options are available on the menus. Anyone run into this before?
|