-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: simple questions on xdoclet hibernate
PostPosted: Tue Aug 26, 2008 11:25 am 
Beginner
Beginner

Joined: Wed May 14, 2008 2:06 pm
Posts: 21
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 ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.