Hibernate: want to genernate .hbm from .java (Idea9)
Hello,
I'm learning sprint/hibernate and I'm hoping IDEA 9 can do everything I want.
I've successfully generated .hbm files from an existing database (configure the datasource... select "Generate Persistence Mapping" -> "By Database Schema").
i.e. database -> .hbm
If I wanted to do this in reverse, is there a way to start with my POJO and generate the hbm and the database from the java source ?
i.e. .java -> .hbm -> database
Appreciate any tips!
Cheers
vikingsteve
请先登录再写评论。
I dont think I am incorrect in saying this but that feature does not seem to be something that is possibly doable in Intellij. I have done the same in JDeveloper however that is a different IDE and thus not pertinent to your question I reckon.
Ok thanks. I'm disappointed that there isn't a plugin for this.
I'll have a look at XDoclet instead.