NHibernate 3.3.0.4000 breaks my ICompositeUserType

84 views
Skip to first unread message

Justin Drury

unread,
May 30, 2012, 11:39:05 AM5/30/12
to nhu...@googlegroups.com
Link to the code is at the bottom.

After upgrading to NHibernate 3.3.0.4000 my project breaks when building the session factory with an error about invalid number of columns. This was not an issue with 3.2 and in the mean time I have downgraded my project to 3.2.

https://gist.github.com/2837045

Alexander I. Zaytsev

unread,
May 30, 2012, 11:47:39 AM5/30/12
to nhu...@googlegroups.com
Could you please provide test case? Or at least stack trace.

2012/5/30 Justin Drury <macros...@gmail.com>

Justin Drury

unread,
May 30, 2012, 2:45:04 PM5/30/12
to nhu...@googlegroups.com
As soon as I get my project back to a run-able state I'll recreate the error and post the stack trace.


On Wednesday, May 30, 2012 10:47:39 AM UTC-5, Alexander I. Zaytsev wrote:
Could you please provide test case? Or at least stack trace.

2012/5/30 Justin Drury
Link to the code is at the bottom.

Justin Drury

unread,
May 31, 2012, 10:12:58 AM5/31/12
to nhu...@googlegroups.com
Sorry for the delay. Stack trace has been added to the gist.

Alexander I. Zaytsev

unread,
May 31, 2012, 10:50:39 AM5/31/12
to nhu...@googlegroups.com
Hi,

Also, could you please rise an Jira issue?  https://nhibernate.jira.com/secure/Dashboard.jspa 

2012/5/31 Justin Drury <macros...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/TRHabcKXAEIJ.

To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.

Justin Drury

unread,
May 31, 2012, 11:46:20 AM5/31/12
to nhu...@googlegroups.com
Created,  https://nhibernate.jira.com/browse/NH-3173
2012/5/31 Justin Drury <macros...@gmail.com>
To unsubscribe from this group, send email to nhusers+unsubscribe@googlegroups.com.
2012/5/31 Justin Drury <macros...@gmail.com>
To unsubscribe from this group, send email to nhusers+unsubscribe@googlegroups.com.

Alexander I. Zaytsev

unread,
May 31, 2012, 12:25:45 PM5/31/12
to nhu...@googlegroups.com
Thanks. 

I have checked the issue:

  • xml mapping works in 3.2.0 and 3.3.0 and current trunk
  • mapping by code does not work in 3.2.0 and 3.3.0 and current trunk

Are you using mapping by code or xml mapping?

2012/5/31 Justin Drury <macros...@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/KSO8YBkPWaAJ.

To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.

Justin Drury

unread,
May 31, 2012, 12:31:51 PM5/31/12
to nhu...@googlegroups.com
I'm using XML mapping via FluentNHibernate. I've just created an issue for this over on their github page for it. 

We currently have a good chunk of mappings & configuration via fluent so we will be stuck on 3.2 for now. Going forward, everything will be XML or MbC.

Alexander I. Zaytsev

unread,
May 31, 2012, 12:35:20 PM5/31/12
to nhu...@googlegroups.com
Sorry I have rechecked with mapping-by-code and it works.

2012/5/31 Alexander I. Zaytsev <hazzik...@gmail.com>
Reply all
Reply to author
Forward
0 new messages