added jpa entity generator
parent
618ef4b9a9
commit
cc2934b0d5
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
field.id_type = jpa.id_generator && jpa.id_generator.type
|
||||
field.columnType = field_attr.type || ''
|
||||
|
||||
field.oneToMany = field_attr.constraint == 'OneToMany'
|
||||
field.oneToMany = field_attr.constraint == 'oneToMany'
|
||||
|
||||
|
||||
return field
|
||||
|
|
Loading…
Reference in New Issue