阅读背景:

当表具有一对多关系时,使用流畅的nhibernate生成错误的SQL

来源:互联网 

I have two tables, one UserDetails and another UserRoles. I mapped them in the following way. With this insert operation went fine but when i try to get the list of roles from user object, an exception is throwing. What i identified is, the SQL generated by Hibernate has USERCODE column as User_id in whare clause. How to over come this problem. Please help me.I have two tables, one UserDetails and another




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: