let's straight to the problem. I've used to sql2java to generate the code for my mysql database (4.x) and i got the method LoadByEmail where Email is a filed defined as unique in my db.
Some days ago i've done some changes to the database and then i've re-generated the java code with sql2java, but this time i've got no method load for the unique fileds.
What are the condition to be satisfied in order to get the load mathods for the unique fileds of the db???
Many thanks
Roberto
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
let's straight to the problem. I've used to sql2java to generate the code for my mysql database (4.x) and i got the method LoadByEmail where Email is a filed defined as unique in my db.
Some days ago i've done some changes to the database and then i've re-generated the java code with sql2java, but this time i've got no method load for the unique fileds.
What are the condition to be satisfied in order to get the load mathods for the unique fileds of the db???
Many thanks
Roberto