sebersole / hibernate-models2

Apache License 2.0
0 stars 2 forks source link

#26 Create AnnotationUsage for tenant-id in XML #62

Closed dreab8 closed 1 year ago

dreab8 commented 1 year ago

https://github.com/sebersole/hibernate-models2/issues/26

@sebersole I changed mapping-3.1.0.xsd and moved <xsd:element name="tenant-id" type="orm:tenant-id" minOccurs="0" /> inside <xsd:complexType name="attributes">, not sure if this is correct

sebersole commented 1 year ago

I was consciously keeping it outside of <attributes/>. My thought process was that it is a special attribute.

But then again, it's on par (I'd say) with <version/> which JPA defined inside <attributes/>, so I guess I'm fine with changing it.

sebersole commented 1 year ago

I moved the xsd and jaxb changes back to hibernate-orm (my jpa32 branch). We'll need to apply those related changes there if they still need to be. They are unfortunately the files in conflict