I am using Hibernate 4.3 final as JPA vendor, When I call store procedure using StoredProcedureQuery in named parameter way, sequence of result is wrong. Then I check source and found that hibernate call procedure in position parameter way even I want named parameter way. Another problem is also cause by same reason, if I register OUT parameter first, there is no result return. Why call procedure using named parameter is I want it not so tight between program and procedure, but hibernate seems can not achieve this aim now.
|