Hi,
I am currently using a top down approach for development with the following steps.
1. Design the model using UML diagrams
2. a. Manually create the POJOs.
b. Insert the hibernate annotations
c. Generate the schemal using the schema generation tool.
Step 1 and 2 are disconnected and I need to manually ensure that they are in sync. I would like to maintain a single artifact (as compared to UML + pojo with annotations) and I would like to automate the process of POJO generation with annotations, followed by schema generation.
I guess I need a tool which creates UML diagrams in which I can incorporate the annotations so that each time the POJOs are generated they are annotated.
q1>Is there any way I could achieve this? I did have a look at androMDA, but at this point I do not know how I could use it to achieve my goal.
q2>I believe this feature would be useful in development. Are they any plans to introduce such a feature as part of Hibernate Tools?
Thank you,
Rishi
|