Just in case anyone interested. I found the matter of problem. It is between OJB and JDBC driver (I used jtds driver). The thing is that HiLo seq. manager using the type java. lang.Long as a value for the unique id. And in the table it is INTEGER (and in repository_internal.xml as well). So this stupid jtds driver throws ClassCastException trying to case Long to Integer. I realize - this is mostly the driver's problem. But probably OJB should consider using Integer instead of Long (or at least declaring field as BIGINT in repository_internal.xml)?
Regards, -- Sergey --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
