SQLQuery sqlQuery = new SQLQuery(new Configuration(H2Templates.builder().build()));
PathBuilder<SessionList> pathBuilder = new PathBuilder(SessionList.class, "session_list");
sqlQuery.where(pathBuilder.get("city", String.class).eq("Madrid"));
Variable sqlQuery.toString generates next string:
from dual where session_list.city = ?
But I want to create next one:
from dual where session_list.city = 'Madrid'
Thank you.