数据库中对应的extentValue的是Float型,用下面的Hql语句查询,返回的list中extentValue也是Float型,有没有什么办法让返回的list中的extentValue是Double型Hql = "select checkTime,extentValue from HisSenData hs where hs.checkTime>=:bdate and hs.checkTime<=:edate and hs.site.siteId=:sid order by checkTime asc";}
解决方案 »
- Error while registering Oracle JDBC Diagnosability MBean.
- 关于oracle administration assistant添加操作系统数据库管理员用户?
- 求相邻的相同的数据的个数(在线等)
- 打印九九乘法表来说明循环
- oracle已经删除怎么windows 服务中还有oracle的服务
- 求一条分组函数SQL?
- 初学ORCAL 谁告诉我个ORCAL的作业怎么写啊 最好有例子 谢谢
- 新手上路,问第一个问题.(在线等)
- 如何alter 列长度?急在线。。。。
- 求救!!!sos!!
- VC怎么调用ORACLE的存储过程?
- 怎么调用oracle创建存储过程导入txt文件
Hql = "select checkTime,extentValue(cast(12.1 AS double))from RealSenData hs where hs.checkTime>=:bdate and hs.checkTime<=:edate and hs.site.siteId=:sid order by checkTime asc";}