.NET incorrect Hibernate mapping?

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

Hi Mikhail,

Thanks for your post. I’ve forwarded the issue to our engineers to follow-up, and I’ll let you know once there is any feedback.

Best regards,
Lilian Wong

Hi Mikhail,

I would like to let you know that we fixed he Hibernate mapping problem. Could you please run “VP Suite Update” to update your product to latest patch (20100127e or later) and see if the problem can be solved?
For details about updating to latest patch, please read:

Best regards,
Lilian Wong