添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi expert,

I am getting below Exception

org.springframework.dao.DataIntegrityViolationException: query; SQL []; data exception: invalid datetime format; nested exception is java.sql.SQLDataException: data exception: invalid datetime format.

Due to below lines:

final Calendar rightNow = Calendar.getInstance(); final int currentTime = rightNow.get(Calendar.MINUTE);

             otpTypeModel2.setGerneratedTime(Integer.toString(currentTime));
             modelService.save(otpTypeModel2);

setGerneratedTime-- String Filed

Thanks Issues after DB migration From Oracle to MSSQL server in Hybris2105 in CRM and CX Questions GIGYA CCV1 exception while logging in in CRM and CX Questions org.springframework.dao.DataIntegrityViolationException: query; SQL []; ORA-01722: invalid number in CRM and CX Questions How can I configure Datahub to work with my Hybris b2c accelerator with HSQL? in CRM and CX Questions String or binary data would be truncated.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: in CRM and CX Questions