Hi,
I think the problems I've been having with Hibernate comes down to the fact that it cannot seem to read char data types greater than 1 char in length.
We use user defined data types for some of the fields in our tables that are under 20 characters and set them up as:
UDDT_Code CHAR (20)
When Hibernate looks at these fields, it only picks up the first character, even though there could be 20. Varchar fields run fine but I think the fact that there is more than one character in the char field that Hibernate sh*ts itself and generates IllegalArgumentException errors.
Is there a way around this? Might take a look at the usertypes thingy.
|