NullPointerException in 0.6
Hi!
@javax.persistence.Table is not required for entities (default is class name)
but you assume this in DbMappings.getMappings:
Table t = (Table) cls.getAnnotation(Table.class);
mappings.tableName = t.name();
The same is true for Column:
Column c = (Column) f.getAnnotation(Column.class);
mappings.idField = c.name();
Regards,
Peter.