[ODBC SQL Server Driver]Invalid character value for cast specification

scott202

New Member
I am working with JdbcTemplate while connecting with Sql db. But I am getting an error while retrieving results. Here is the error:\[quote\] Exception in thread "main" org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM Personal]; [Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification; nested exception is java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification\[/quote\]Does anyone have an idea how to resolve it?
 
Top