I have noticed something weird with the sql being generated by
nhibernate.

For each Id (primary and foreign) it is selecting duplicate values.

SQL:

SELECT eletronicc0_.patient_id as patient4_1_,
eletronicc0_.patient_electronic_contact_id as patient1_1_,
eletronicc0_.patient_electronic_contact_id as patient1_11_0_,
eletronicc0_.url as url11_0_,
eletronicc0_.type as type11_0_,
eletronicc0_.patient_id as patient4_11_0_
FROM tbl_patient_eletronic_contacts eletronicc0_
WHERE eletronicc0_.patient_id = 'bb92c011-
e25a-4c6d-9993-9d6c00f02bb1' /* @p0 */

I think that is what is causing the type mismatch.

Does anyone have any ideas why this is happening?

I am really pushed for time now and would really appreciate any help.

Thanks in advance.

please view this thread for config files
https://forum.hibernate.org/viewtopic.php?f=25&t=1004455

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to