Arnee wrote:
Hi,
1. If I use "reverse engineer from JDBC", it overwrites all of my code? Does that mean I can do it only once and after that I will have to add any DB Schema changes by hand?
For entities you can use the <meta attribute="generated-class"> to tell the tooling to generate a base class for those classes you want to add custom code to.
In the current version we are looking at using jmerge to make this easier.
Quote:
2. How can I define that I want to have different packages for each exporter? I want all the DAO go into mypackage.data and the domain code into mypackage.data.whatever. I tried to define different output directories, but then the "import" statements are missing and I have to correct every file by hand.
The DAO templates doesnt support this very well :(