forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nhibernateGH-3530: Force all columns to be strings to highlight conve…
…rsion errors.
- Loading branch information
David Ellingsworth
authored and
David Ellingsworth
committed
May 15, 2024
1 parent
8b59014
commit 9d56112
Showing
2 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +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"> | ||
<!-- The schema exporter should ignore this version but we should be able to map it to the version created below. --> | ||
<class name="LocaleEntity" schema-action="none" table="LocaleEntity"> | ||
<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"/> | ||
</class> | ||
<!-- The schema exporter should export this version of the entity and generate text columns for all types. --> | ||
<class name="SchemaLocaleEntity" table="LocaleEntity"> | ||
<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"/> | ||
</class> | ||
</hibernate-mapping> |