added jpa entity generator

master
Niclas Thobaben 2021-09-18 19:01:23 +02:00
parent 618ef4b9a9
commit cc2934b0d5
1 changed files with 1 additions and 1 deletions

View File

@ -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