What happend to genericAdoException in version 1.2??

2 views
Skip to first unread message

Johan Spännare

unread,
Sep 15, 2011, 6:13:43 AM9/15/11
to fluent-n...@googlegroups.com
After an upgrade to version 1.2, some of the Unit tests is failing.

They failis because NH has stopped raising exception when you insert longer strings then are specified in the mappings class (Length()).

Is this a bug or is this a "feature", and if its a feature how to i configure it?

NOTE!
NH Profiler is showing you that it will try to insert with too long value. But when you profile the database. You will see that NH insert with the length defined in the mappings class. So no SQL exception will be raised!


Reply all
Reply to author
Forward
0 new messages