alex-t0

Results 6 comments of alex-t0

But there is another problem: I don't write sources of my classes by hands, I generate it from another database by t4 model generation. I'm trying something like this in...

Of course I can replace in generated file `Column(DataType=LinqToDB.DataType.Guid)` to `Column(DataType=LinqToDB.DataType.Guid, DbType="uuid")`, but I guess more exquisite solution exists.

Now it generate types from MS SQL Server (my source database), like `Column(DbType="uniqueidentifier", DataType=LinqToDB.DataType.Guid)` or `Column(DbType="nvarchar(max)", DataType=LinqToDB.DataType.NVarChar, Length=int.MaxValue)`. Seems replacing is more simple for now.

Or, I think may be more appropriated approach, wrap object Id into type information. For me all approaches are fine, if only deserialization works fine :)

Hi @cowtowncoder! I just created no-hibernate branch, and enable DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES option. And I got same exception. Please see https://github.com/alex-t0/deserialization-fail-example/commit/5c38fd45b4588ad345528f90947620a16be859f8

@cowtowncoder, may be you remove hibernate label from this issue? And thank you for help!