ORA-00918
Brought to you by:
ekkelenkamp
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