views:

992

answers:

1

I'm using JPA in netbeans with mysql and I need to define a foreign key. I want to do it graphically because it is very easy to create tables using netbeans 6.7 UI without dealing with SQL commands. Can you tell me how to do it??

+2  A: 

Look at this tutorial................

http://sageniuz.blogspot.com/2007/11/foreign-keys-in-derby-with-netbeans-6.html

T.Thamilvaanan
Thank you, I'll read it as soon as possible.
Raffo