Skip to content

Commit

Permalink
nhibernateGH-3530: Change id type in preparation for manually creatin…
Browse files Browse the repository at this point in the history
…g the schema.
  • Loading branch information
David Ellingsworth authored and David Ellingsworth committed May 15, 2024
1 parent 8b59014 commit 37634c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NHibernate.Test/NHSpecificTest/GH3530/Entities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace NHibernate.Test.NHSpecificTest.GH3530
{
public class LocaleEntity
{
public virtual Guid Id { get; set; }
public virtual int Id { get; set; }
public virtual int IntegerValue { get; set; }
public virtual DateTime DateTimeValue { get; set; }
public virtual double DoubleValue { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion src/NHibernate.Test/NHSpecificTest/GH3530/Mappings.hbm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="NHibernate.Test"
namespace="NHibernate.Test.NHSpecificTest.GH3530">
<class name="LocaleEntity">
<id name="Id" generator="guid.comb" />
<id name="Id" generator="identity" />
<property name="IntegerValue" column="IntegerValue"/>
<property name="DateTimeValue" column="DateTimeValue"/>
<property name="DoubleValue" column="DoubleValue"/>
<property name="DecimalValue" column="DecimalValue"/>
</class>
</hibernate-mapping>

0 comments on commit 37634c6

Please sign in to comment.