A DBA has created a sequence (Long type) and set a cap on its max value so it falls within the range of Integer. The PK column types are int; so, this all works fine for values; however....
EJB3 CMP tries to stuff the Long sequence into the setId(Integer id) and; of course, fails. Is there any way to get EJBs to work with this schema?
Please don't suggest getting the dba's to change things. There is a business need to work with what they have.
Opps.. forgot to check the box for "notify on reply"