oracle 介于日期之间_ORA-01841: (完整) 年份值必须介于 -4713 和 +9999 之间, 且不为 0...

2005042800000018

1020061019000310

2013-01-22

2013-01-22

2013-12-31

102011010700000016

4301-4700?ó?¨/?§??

3

Hibernate: select xsjgmb0_.row_id as row1_48_, xsjgmb0_.created_by as created2_48_, xsjgmb0_.created_date as created3_48_, xsjgmb0_.last_upd_by as last4_48_, xsjgmb0_.last_upd_date as last5_48_, xsjgmb0_.modification_num as modifica6_48_, xsjgmb0_.taxis_no as taxis7_48_, xsjgmb0_.begin_date as begin8_48_, xsjgmb0_.end_date as end9_48_, xsjgmb0_.prod_type_id as prod10_48_, xsjgmb0_.prod_type as prod11_48_, xsjgmb0_.coal_type_id as coal12_48_, xsjgmb0_.coal_type as coal13_48_, xsjgmb0_.coal_level as coal14_48_, xsjgmb0_.province_id as province15_48_, xsjgmb0_.province as province48_, xsjgmb0_.customer_id as customer17_48_, xsjgmb0_.customer as customer48_, xsjgmb0_.madefrom_id as madefrom19_48_, xsjgmb0_.madefrom as madefrom48_, xsjgmb0_.coal_price as coal21_48_, xsjgmb0_.price_unit_id as price22_48_, xsjgmb0_.price_unit as price23_48_, xsjgmb0_.using_flag as using24_48_, xsjgmb0_.remark as remark48_, xsjgmb0_.contract_temp_id as contract26_48_, xsjgmb0_.prod_spec_id as prod27_48_, xsjgmb0_.pricing_type_id as pricing28_48_, xsjgmb0_.pricing_type as pricing29_48_ from SMD_CONTRACT_PRICE_TEMP xsjgmb0_ where 0=0 and xsjgmb0_.using_flag='Y' and (MADEFROM_ID is null) and (xsjgmb0_.province_id is null) and (xsjgmb0_.pricing_type_id like '%2005042800000018%') and (xsjgmb0_.customer_id like '%1020061019000310%') and (to_char(to_date('%2013-01-22%', 'yyyy-mm-dd')) between '%2013-01-22%' and '%2013-12-31%') and (xsjgmb0_.prod_type_id like '%102011010700000016%') and (xsjgmb0_.coal_level like '%4301-4700?ó?¨/?§??%') and (xsjgmb0_.coal_level like '%3%') order by xsjgmb0_.prod_type_id, xsjgmb0_.coal_type_id, xsjgmb0_.coal_level

10:30:19,266 ERROR org.hibernate.util.JDBCExceptionReporter:101 - ORA-01841: (完整) 年份值必须介于 -4713 和 +9999 之间, 且不为 0

org.springframework.dao.DataIntegrityViolationException: could not execute query; nested exception is org.hibernate.exception.DataException: could not execute query

at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:639)

at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:424)

at org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)

at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:921)

at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:913)

at com.highcom.htgl.dao.impl.XsjgMbImpl.getXsjgMbList(XsjgMbImpl.java:38)

at com.highcom.htgl.service.impl.InfoServiceImpl.getMkjjList(InfoServiceImpl.java:542)

at sun.refl

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值