Hi together,
probably I'm doing something very wrong, but I have no guess how to do better. I want to have a like Expression on a java Integer. This brings up an hibernate ClassCastException...
While doing an sql query it's perfectly fine to have a like operation on a DB int column.
So my next guess was to do an SQL Expression, but then I need to get the column name for my java property... but I don't see a way to do this in Hibernate 2.1.13....
Any ideas???
Thanks in advance
Mark
PS: Sorry if it's an obvious thing, but I didn't find any information on this
|