I was able to run one to one example.
Also i was able to run many to one mapping without annotation.
This is with many to one mapping with annotation.
I need to study annotation also.
when i am running this example without annotation it works.
can you please tell me where is the error?
there is a address columne in student table.
can you send me the DDL please?
i didn't use DDl .i make tables manually.
how to check auto-increment option?
You talk to your MySQL in a language only you and MySQL understand?!? Quite cool... If you don't know what he means with "DDL", you could ask. He wants you to show us, how your table looks like. That means table name, column names and column types. Maybe you don't a column named ADRESS_ID, because thats what the error is about.