What object type does Spring Hibernate Template execute method return for a counting query on Oracle?

后端 未结 4 872
不知归路
不知归路 2020-12-31 10:19

When run against and Oracle database, what is the runtime type of the object that the following Spring Hibernate Template (Spring 2.5 and Hibernate 3.3.2GA) code returns whe

4条回答
  •  醉话见心
    2020-12-31 11:13

    I think it returns type Long. I have used Long in my code. But if your BigDecimal works then even I want to know what is the return type :)

提交回复
热议问题