views:

24

answers:

0

I know that hbm2hbmxml generates the necessary mapping files (*.hbm.xml) from a given datasource. You can then use hbm2java which will use those hbm.xml files as an input and will output Java classes. Is there a way of generating Java Annotated classes from the datasource without having to rely on the hbm.xml files?

Thanks.