This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
In the first place, why do you have to go for a composite-key, if you have an auto_increment column in your table, which can very well serve the purpose.
You don't have to specify as auto_increment. What you can do do is remove the not-null attribute from the property tag inside comsposite-key and run it as is. Your config file is fine and it would work. You would not get any error while inserting a row. [ June 04, 2006: Message edited by: Arun Kumarr ]
If you are not laughing at yourself, then you just didn't get the joke.
Joined: Jun 02, 2006
My business functionality changed. So i no longer need to put a composite FK. Sorry for the delayed response. I will try out ur solution and reply back to you incase i run into some issues.