@weblogic.automatic-key-generation -Version2-Help

"zousey seyzou" <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hello forum what i am trying to do is, for example  I have public abstract 
class DeclarationBodyBean implements javax.ejb.EntityBean  generated by 
middlegen,now i wnated if middlegen can generate
@weblogic.automatic-key-generation  tag for me like bellow, I have written 
this manually,  only this one, but I want middlegen to generates it for me .
**********************************************************************************
@weblogic.automatic-key-generation
*    generator-type="ORACLE"
*    generator-name="DECLARATION_BODY_SEQ"
*    key-cache-size="1"
*
* @weblogic.clustering
* 	  home-is-clusterable="False"
* 	  home-load-algorithm="RoundRobin"
*
* @weblogic.data-source-name ${datasource.name}



**********************************************************************************
This part is automatically generated by middlegen.

public abstract class DeclarationBodyBean implements javax.ejb.EntityBean {

/**
* This class is part of the Export System, and it is
* a CMP EJB accessing the DECLARATION_BODY table.
*
* @author $Author: Klp $
* @version $Revision: 8 $ $Date: 30-10-03 10:58 $
*
* @ejb.bean
*    type="CMP"
*    cmp-version="2.x"
*    name="DeclarationBody"
*    local-jndi-name="export.declaration.DeclarationBodyLocalHome"
*    view-type="local"
*    primkey-field="declarationId"
*
* @ejb.finder
*    signature="java.util.Collection findByReferenceNumber(java.lang.String 
referenceNumber)"
*    result-type-mapping="Local"
*    method-intf="LocalHome"
*    query="SELECT DISTINCT OBJECT(o) FROM DeclarationBody o WHERE 
o.referenceNumber = ?1"
*    description="REFERENCE_NUMBER is not indexed."
*
* @ejb.persistence table-name="DECLARATION_BODY"
*
* @ejb.ejb-ref
* 	  ejb-name="DeclarationStatus"
* 	  view-type="local"
* 	  ref-name="ejb/DeclarationStatus"
*
* @ejb.transaction type="Required"
*
*
*/

}

Thanks for your help

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.