Good day,
I'm developing a web service application using java and sun appserver that connects to oracle database. I have 2 tables in my db, member_info and member_fingerprint table.
I'm experiencing some problems using the association of hibernate w/ my setup tables. When i try to save a member_info, the execution goes perfectly but when i try to save a member_fingerprint using the association, my program throws an exception:
java.lang.ClassCastException: entity.Member_Fingerprint
after scanning the logs in the appserver, i found some warnings
[#|2007-08-26T16:06:03.000+0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=29;|16:06:03,000 WARN RootClass:210 - composite-id class does not override equals(): entity.Member_Fingerprint
|#]
[#|2007-08-26T16:06:03.000+0800|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=29;|16:06:03,000 WARN RootClass:215 - composite-id class does not override hashCode(): entity.Member_Fingerprint
what could possibly the error causing not to override my composite-id class.
Any help is highly appreciated.
|