Re: [hibernate-dev] Stored procedure support

2012-11-17 Thread Gunnar Morling
Hi, I see two advantages of the approach using strongly typed parameter objects: * I as a user don't need to do a cast when retrieving the value from an output parameter. This avoids having to specify the type twice (once when registering the parameter, once when retrieving the value) and it avoi

[hibernate-dev] Regressions after upgrading from ORM 4.1.6 to 4.1.8

2012-11-17 Thread Guillaume Smet
Hi, After upgrading from 4.1.6 to 4.1.8, we have a couple of regressions in one of our applications. We tried to obtain self contained test cases and understand what the problem is but it's quite hard to reproduce and we haven't found a way to isolate the problem yet. Anyway, I was wondering if

Re: [hibernate-dev] Stored procedure support

2012-11-17 Thread Hardy Ferentschik
On 16 Jan 2012, at 4:34 PM, Steve Ebersole wrote: > The alternative would be something like defining a typed > RegisteredParameter contract: > > interface RegisteredParameter { > public Class getParameterType(); > public ParameterMode getMode(); > } > > and then: > > StoredProcedureCa