Closed GoogleCodeExporter closed 8 years ago
I've written a reply in thread linked in this ticket.
Original comment by kimp...@gmail.com
on 9 May 2010 at 7:03
thanks kim.
after posting the details of the error i noticed that i was missing the listner
entry
in web.xml.
Im now getting another error when mysql is doing a select on my table:
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Unknown column 'ID' in 'field list'
Error Code: 1054
Do i have to set the primary key to a column named ID?
Original comment by albasoft...@gmail.com
on 10 May 2010 at 10:20
ok, ive renamed my primary key to ID, however i was getting an error about the
CONSISTENCYVERSION. Once i added a CONSISTENCYVERSION column to my table it
worked
successfully.
Does this mean that for every table i have which i want to read, update and
delete
from i need to have the primary key column names ID and a CONSISTENCYVERSION
column?
Original comment by albasoft...@gmail.com
on 10 May 2010 at 11:42
Unfortunately, yes it does. The facade needs the id field for fetching data and
the
consistency version field is used for optimistic locking.
Original comment by kimp...@gmail.com
on 10 May 2010 at 5:21
I should probably mention this in the documentation, as some people (like you)
might
not use auto-generated database structures. Thanks!
Original comment by kimp...@gmail.com
on 10 May 2010 at 5:25
ok, that makes sense. I do have it working now and I must say that im really
liking
this add-on.
Thanks!
Original comment by albasoft...@gmail.com
on 11 May 2010 at 9:07
Fixed in the documentation of 1.3.2
Original comment by kimp...@gmail.com
on 16 Jun 2010 at 5:57
Original issue reported on code.google.com by
albasoft...@gmail.com
on 8 May 2010 at 9:55