Hi,
I hv finally been successful in reverse enginnering my oracle Db into POJOs retaining the XDoclet tags.
I would like to know how to customize the generated Java code.
eg. My table is named TB_PRODUCT and middlegen+hbm2java generate a TbProduct.hbm.xml and TbProduct.java
I wud prefer to have it as Product.java.
Secondly the generated Xdoclet tags have 12 spaces from the left.
I wud prefer to have TABs or at least a 3-4 spaces at max.
Quote:
/**
* @hibernate.property
* column="INSTITUTION_ID"
* unique="true"
* length="32"
* not-null="true"
*............. -> Too many spaces! I wish to reduce this but unfortunately it does not show in the post in a browser.
*/
Any clues ?