I'm trying to frame a select query using JPA repository.
select *
from Foo
where name = 'testapp'.
The "NAME" column is defined as varchar(4). My program throws SQLCODE=-302, SQLSTATE=22001 for the select operation whereas I get the same query working in the SQL developer IDE.