Howdy,

I don't know if I've done something wrong but I can't get my stored
procedures to work.  When I use the code generated by codesmith to
call a stored procedure I get this error: could not instantiate:
className.  With an inner exception of "Parameter count mismatch".
The error occurs in the NHibernate dll in the class
AliasToBeanConstructorResultTransformer in the function
TransformTuple() on the line

return constuctor.Invoke(tuple);

It looks like the constuctors that CodeSmith generates do not match
what NHibernate is expecting but I've tried creating a constuctor that
I think should match and it still doesn't work.  I've also tried
modifying the NHibernate code based on some things I've read but that
hasn't worked either.

I could have sworn that I had stored procedures working at one time in
the past but I may have been working with the older NHibernate
templates not the PLINCO templates.  Does anybody have any thoughts?

This is pointed to a DB2 database and I've tried the most recent
NHibernate code.  I'm using v6 of codesmith and the templates were
updated probably 3 weeks ago.

Thanks

dbl

-- 
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