Skip to content

Commit fafa3ce

Browse files
David EllingsworthDavid Ellingsworth
authored andcommitted
GH-3530: Change id type in preparation for manually creating the schema.
1 parent b9e8e74 commit fafa3ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/NHibernate.Test/NHSpecificTest/GH3530/Entities.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace NHibernate.Test.NHSpecificTest.GH3530
88
{
99
public class LocaleEntity
1010
{
11-
public virtual Guid Id { get; set; }
11+
public virtual int Id { get; set; }
1212
public virtual int IntegerValue { get; set; }
1313
public virtual DateTime DateTimeValue { get; set; }
1414
public virtual double DoubleValue { get; set; }

src/NHibernate.Test/NHSpecificTest/GH3530/Mappings.hbm.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHibernate.Test"
33
namespace="NHibernate.Test.NHSpecificTest.GH3530">
44
<class name="LocaleEntity">
5-
<id name="Id" generator="guid.comb" />
5+
<id name="Id" generator="identity" />
66
<property name="IntegerValue" column="IntegerValue"/>
77
<property name="DateTimeValue" column="DateTimeValue"/>
88
<property name="DoubleValue" column="DoubleValue"/>
9+
<property name="DecimalValue" column="DecimalValue"/>
910
</class>
1011
</hibernate-mapping>

0 commit comments

Comments
 (0)