This content has been marked as final.
Show 2 replies
-
1. Re: SEAM 2.2 Hibernate and PostgreSQL 8.4
robshep May 12, 2010 5:59 PM (in response to arturfriesen)Artur,
Specifically, the word user is a PostgreSQL keyword, and wrapping it in
double quotes
removes any ambiguity and postgres will then treat it as you intend: as a table name.Try adding the following to User.java
@Entity +@Table(name="Person") public class User {
- OR -
@Entity +@Table(name="Users") public class User
comment is another such keyword. There's probably more.
Hope this helps
Rob
-
2. Re: SEAM 2.2 Hibernate and PostgreSQL 8.4
arturfriesen May 14, 2010 8:56 AM (in response to arturfriesen)Thank you vey much Rob!!