Gopal, Could you post your entity source or test case that reproduces the problem ? Also post your existing table's DDL that contains the foreign key definition.
Catalina Wei On Mon, Aug 4, 2008 at 4:17 AM, Gopalakrishnan U <[EMAIL PROTECTED]>wrote: > Gopalakrishnan U wrote: > >> I am not yet sure what exactly is creating this problem so that I can >> write a test case reproducing >> the problem. >> > Looks the @ForeignKey is causing the trouble. When I removed the ForeignKey > annotations the problem goes away. But I would like to keep the @ForeignKey > as I am mapping to an existing table with foreign key definitions. Any > ideas? > > >
