resthub/todo-backbone-example

Problem order field

Opened this issue · 1 comments

Hi,

I was trying the example but on a jpa/mysql basis. And there is a small problem with the field order because it is a keyword in Hibernate ... hence no table creation due to an error. Maybe rename the "order" field to "position" could be a good idea

I would propose to use @column(name="position") to do the trick.
Is it an acceptable solution ?

If you have a JPA version of this example, it may be interesting to publish it, and rename this one todo-backbone-mongodb-example ...