turbomanage / storm-gen

Simple ORM for Android SQLite
Apache License 2.0
83 stars 15 forks source link

EntityProcessor should validate Entity fields against reservedWords #5

Closed turbomanage closed 10 years ago

turbomanage commented 10 years ago

From https://code.google.com/p/storm-gen/issues/detail?id=18

EntityProcessor checks the tableName against sql's reserved words.

The same rules should apply with every non transient field of the entity.

turbomanage commented 10 years ago

Yes. I'll do this along with an @Column(name=) annotation.