When generating a .NET “TestNetAssembly” assembly with MySQL as the db backend (see attch.)
the following declaration is added to ./src/ormmaping/SpecialCustomer.hbm.xml
...
<id column="id" type="Int32, TestNetAssembly">
<generator class="foreign">
<param name="property">C</param>
</generator>
</id>
...
Such a declaration results in a runtime error whenever
the assembly is used, e.g., whenever any sample code from ./src/ormsamples/
is executed.
Debugging with VS shows that the problem is caused by the following type declaration:
type = "Int32, TestNetAssembly"
Replacing it with
type = "Int32"
solves the problem.
Any suggestions?
Thanx.
Entities.jpg
Classes.jpg