Hey guys i habe these 2 Tables saved on my Database.when i run the hibernate reverse engineering hibernate create these Classes:
Class User{
int Id;
string Name;
int Age;
private Set<Car> Cars = new HashSet<Car>(0);
}
and
Class Car{
int Id;
string Color;
private User myUser; //i don´t want this property to be generated
}
i don´t want the property (private User myUser in the class Car to be generated.How can i do that? It that possible to do that in the file hibernate.reveng.xml
|