Menu

#16 ORA-00918

open
nobody
None
5
2010-04-22
2010-04-22
Anonymous
No

When importing from a legacy oracle db, we get an error in grails when using the list action in the generated controller.

java.sql.SQLException: ORA-00918: column ambiguously defined

The solution was to add in the mapping block:
name:"personId", generator: "assigned" for the id

We use oracle 10g express

Discussion


Log in to post a comment.