-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove deprecated hibernate structures/functions
identifiers.hbm.xml -> identifiers.orm.xml Refs: XRDDEV-2713
- Loading branch information
1 parent
dbe5429
commit ff09e08
Showing
6 changed files
with
70 additions
and
56 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 was deleted.
Oops, something went wrong.
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,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<entity-mappings xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm | ||
http://java.sun.com/xml/ns/persistence/orm_2_2.xsd" | ||
version="2.2"> | ||
<package>ee.ria.xroad.common.identifier</package> | ||
<mapped-superclass class="AbstractGroupId$Conf" access="FIELD"> | ||
<attributes> | ||
<basic name="groupCode" access="FIELD"/> | ||
</attributes> | ||
</mapped-superclass> | ||
<entity class="XRoadId$Conf" access="FIELD"> | ||
|
||
<table name="IDENTIFIER"/> | ||
<inheritance strategy="SINGLE_TABLE"/> | ||
<discriminator-column name="DISCRIMINATOR" discriminator-type="STRING"/> | ||
<attributes> | ||
<id name="id" access="FIELD"> | ||
<column name="id"/> | ||
<generated-value strategy="AUTO"/> | ||
</id> | ||
<basic name="type" access="FIELD"> | ||
<enumerated>STRING</enumerated> | ||
</basic> | ||
<basic name="xRoadInstance" access="FIELD" /> | ||
</attributes> | ||
</entity> | ||
<entity class="ClientId$Conf" name="ClientConf"> | ||
<discriminator-value>C</discriminator-value> | ||
|
||
<attributes> | ||
<basic name="memberClass" access="FIELD"/> | ||
<basic name="memberCode" access="FIELD"/> | ||
<basic name="subsystemCode" access="FIELD"/> | ||
</attributes> | ||
</entity> | ||
<entity class="ServiceId$Conf" name="ServiceIdConf"> | ||
<discriminator-value>S</discriminator-value> | ||
<attributes> | ||
<basic name="memberClass" access="FIELD"/> | ||
<basic name="memberCode" access="FIELD"/> | ||
<basic name="serviceVersion" access="FIELD"/> | ||
<basic name="subsystemCode" access="FIELD"/> | ||
<basic name="serviceCode" access="FIELD"/> | ||
</attributes> | ||
</entity> | ||
<entity class="GlobalGroupId$Conf" name="GlobalGroupConf"> | ||
<discriminator-value>GG</discriminator-value> | ||
</entity> | ||
<entity class="LocalGroupId$Conf" name="LocalGroupConf"> | ||
<discriminator-value>LG</discriminator-value> | ||
</entity> | ||
<entity class="SecurityServerId$Conf" name="SecurityServerIdConf"> | ||
<discriminator-value>SS</discriminator-value> | ||
<attributes> | ||
<basic name="memberClass" access="FIELD"/> | ||
<basic name="memberCode" access="FIELD"/> | ||
<basic name="serverCode" access="FIELD"/> | ||
</attributes> | ||
</entity> | ||
|
||
</entity-mappings> |
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