-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental attempt to migrate away from hbm.xml files via transitio…
…n property provided since Hibernate 6.x
- Loading branch information
Showing
8 changed files
with
242 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<entity-mappings xmlns="https://jakarta.ee/xml/ns/persistence/orm" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence/orm | ||
https://jakarta.ee/xml/ns/persistence/orm/orm_3_0.xsd" | ||
version="3.0"> | ||
<entity class="org.dkpro.jwpl.api.hibernate.Category" metadata-complete="true"> | ||
<attributes> | ||
<id name="id"> | ||
<generated-value strategy="AUTO"/> | ||
</id> | ||
<basic name="pageId"> | ||
<column unique="true"/> | ||
</basic> | ||
<basic name="name"> | ||
TODO index... | ||
</basic> | ||
<one-to-many name="inLinks"> | ||
</one-to-many> | ||
</attributes> | ||
</entity> | ||
</entity-mappings> |
Oops, something went wrong.