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 2023 Jan 24 GIGYA CCV1 exception while logging in in CRM and CX Questions 2020 Nov 24 org.springframework.dao.DataIntegrityViolationException: query; SQL []; ORA-01722: invalid number in CRM and CX Questions 2020 Feb 19 How can I configure Datahub to work with my Hybris b2c accelerator with HSQL? in CRM and CX Questions 2018 Aug 30 String or binary data would be truncated.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: in CRM and CX Questions 2018 Jul 09
setGerneratedTime-- String Filed
Thanks Issues after DB migration From Oracle to MSSQL server in Hybris2105 in CRM and CX Questions 2023 Jan 24 GIGYA CCV1 exception while logging in in CRM and CX Questions 2020 Nov 24 org.springframework.dao.DataIntegrityViolationException: query; SQL []; ORA-01722: invalid number in CRM and CX Questions 2020 Feb 19 How can I configure Datahub to work with my Hybris b2c accelerator with HSQL? in CRM and CX Questions 2018 Aug 30 String or binary data would be truncated.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: in CRM and CX Questions 2018 Jul 09