My project is uisng xdoclet -hibernate1.2.3 , I reffered to xdoclet site for tutorials on using the tags but did not find one, Please help me find the resource which has some brief description =on using xdoclet hibernate tags.
Any how here are my few of many questions
This is the tag I used for Id
/** The getter method for this PseudoDemand identifier.
* return id
* @hibernate.id generator-class="native" column="PSDO_DEMD_ID"
* @hibernate.generator-param name = "sequence" value = "CSR_PSDO_DEMD_Q1"
* @hibernate.generator-param name = "max_lo" value = "5"
* @hibernate.column name="PSDO_DEMD_ID" sql-type="NUMBER(9,0)"
*/
I donot know what native does and max_lo and value , and should we specify sql-type all the time ?
/**
* The associated StorageRequest object.
*
* @return the theStorageRequest
* @hibernate.many-to-one name="storageRequest" column = "CSR_STRG_REQ_ID" outer-join="true"
* class = "com.uprr.app.csr.model.StorageRequest"
*/
how outer-join will help me?
why should I even say relation as may to one ? I want hibernate to return me the storage request with the fk CSR_STRG_REQ_ID , so one -to many how is goin to help ?
|