-
Notifications
You must be signed in to change notification settings - Fork 930
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3530: Separate the types into different tables to avoid failure on…
… default values.
- Loading branch information
David Ellingsworth
authored and
David Ellingsworth
committed
May 15, 2024
1 parent
e66dee7
commit 59b82e0
Showing
3 changed files
with
60 additions
and
89 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
19 changes: 14 additions & 5 deletions
19
src/NHibernate.Test/NHSpecificTest/GH3530/Mappings.hbm.xml
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 |
---|---|---|
@@ -1,11 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHibernate.Test" | ||
namespace="NHibernate.Test.NHSpecificTest.GH3530"> | ||
<class name="LocaleEntity"> | ||
<class name="IntegerEntity"> | ||
<id name="Id" generator="guid.comb" /> | ||
<property name="IntegerValue" column="IntegerValue"/> | ||
<property name="DateTimeValue" column="DateTimeValue"/> | ||
<property name="DoubleValue" column="DoubleValue"/> | ||
<property name="DecimalValue" column="DecimalValue"/> | ||
<property name="Value" column="Value"/> | ||
</class> | ||
<class name="DateTimeEntity"> | ||
<id name="Id" generator="guid.comb" /> | ||
<property name="Value" column="Value"/> | ||
</class> | ||
<class name="DoubleEntity"> | ||
<id name="Id" generator="guid.comb" /> | ||
<property name="Value" column="Value"/> | ||
</class> | ||
<class name="DecimalEntity"> | ||
<id name="Id" generator="guid.comb" /> | ||
<property name="Value" column="Value"/> | ||
</class> | ||
</hibernate-mapping> |