Hi,
I am trying to call a stored procedure written in Oracle whose IN and OUT parameter is Oracle custom objects. I am trying this using named query.
I have created my custom OUT param by extending from
CustomType and IN param by extending from
UserTypeI am setting the IN param as follows :
Code:
query.setParameter("param", value,Hibernate.custom(CustomType.class));
Now how do I tell hibernate that the out param is also a custom User Type for OUT param. I have defined it using
@TypeDef but how to attached it with named query ?
Thanks for your help