{code:java} @Entity class Configure { ... @Version private Timestamp version; ... } {code}
with this orm.xml {code:xml} <version name="version"> <column column-definition="datetime2(7) NOT NULL"/> </version> {code}
generate this scheme: {code:sql} create table [Configure] ( ... [version] [datatime2(7) NOT NULL] ... ) {code}
this is wrong. it should not be warped with '[]'.
If I remove orm.xml, and add {code:java} @Column(columnDefinition="datetime2(7) NOT NULL") {code} to the field version.
it generate the same wrong scheme.
|
|