Hello.
I'm trying to set up a simple EJB3 example using
JBoss 4.2.1 JPA and a PostgreSQL 8.2 server.
I have a DB named cruise_test and a table CABIN for which i'm trying to create an entity.
I created a session bean which runs a native query to get all cabins.
The error is
org.postgresql.util.PSQLException: ERROR: relation "cabin" does not exist
Consider the following listings:
The Cabin Entity:
The Session Bean:
persistence.xml :
The Datasource
SQL Table creation script
Any help would be great. Thanks