Im trying to understand/use xdoclet and ant to build my ejb interfaces and jboss.xml, ejb-jar etc, using the ejbdoclet tags.
In all of my xxxxEJB.java I seem to need to specify the following tag (for primary key access) depending on my target database. : @jboss.entity-command name = " mssql-fetch-key" or @jboss.entity-command name = " mysql-get-generated-keys" or @jboss.entity-command name = "sybase-fetch-key" or @jboss.entity-command name = "oracle-sequence" or... These seem to map over to the generated jbosscmp-jdbc.xml file tags <entity-command >mssql-fetch-key</entity-command > <entity-command >mysql-get-generated-keys</entity-command > etc The 'goal' seems to be to move these configuration dependent choices out of the src code and into the build/deploy process but I cant see a way to move them out. Ive already figured out how to move the datasource and datasource-mapping ejbdoclet tags out to the xdoclet generation portion of the ant build file but cant find the equivalent mechanism for this tags.. Does anyone know the solution? Thanks - Rich View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829863#3829863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829863 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
