I recive errors yet. Please, can you send-me?
Thank´s. > -----Mensagem original----- > De: David Jencks [mailto:[EMAIL PROTECTED]] > Enviada em: terça-feira, 3 de setembro de 2002 12:18 > Para: [EMAIL PROTECTED] > Assunto: Re: [JBoss-user] XDoclet jbosscmp-jdbc_xml.j > > > I would suggest using xdoclet from xdoclet cvs or the version > included in > jboss cvs HEAD. xdoclet is about to release 1.2 and would appreciate > reports of problems. > > thanks > david jencks > > On 2002.09.03 10:11:06 -0400 Jose Luis Peleteiro - Sistemas e > Processos > wrote: > > > > > > Can any one sendme this file. (jbosscmp-jdbc_xml.j) > > Please! > > > > > > FROM: Stephen Coy > > DATE: 06/28/2002 07:17:41 > > SUBJECT: RE: [JBoss-user] CMP 2.0 / FINDER CREATION PROBLEM > > > > > > > > > > Unfortunately, xdoclet 1.1.2 has only limited support for > custom jboss > > > > queries for CMP 2.0. > > > > > > > > "jboss:finder-query" generates JAWS (CMP 1.1) configuration data. > > > > > > > > I'm including a modified jbosscmp-jdbc_xml.j file that we > are using, > > > > which has almost full support for "jboss:declared-sql" and > "jboss:query" > > > > tags, which generate <declared-sql> and <query> sections in your > > > > jbosscmp-jdbc.xml file. > > > > > > > > You need to replace this file in your xdoclet.jar. > > > > > > > > Here's a sample: > > > > > > > > @jboss:declared-sql > > > > signature="Collection findInSequence()" > > > > order="precedence" > > > > @jboss:query > > > > signature="java.util.Collection > > > > > ejbSelectUserLists(com.whitesmiths.sacha.ejb.auth.interfaces.U > serLocal > > > > user)" > > > > query="SELECT DISTINCT r.worklist FROM User AS u, IN > > (u.userRoles) > > > > AS r WHERE r.worklist IS NOT NULL AND u = ?1 ORDER BY > > > > r.worklist.precedence ASC" > > > > strategy="on-find" > > > > page-size="16" > > > > > > > > @jboss:query > > > > signature="java.util.Set ejbSelectGeneric( java.lang.String > > query, > > > > java.lang.Object[] args)" > > > > dynamic="true" > > > > > > > > For more detailed information on these JBoss constructs, > the USD10 CMP > > > > documentation is well worth it. > > > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; > charset=iso-8859-1"> > > > > > > <META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD> > > <BODY> > > <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> > > <DIV><PRE><PRE><!--StartFragment --><SPAN > > class=870230914-03092002><FONT face=Arial size=2><STRONG>Can any one > > sendme this file. > (jbosscmp-jdbc_xml.j)</STRONG></FONT></SPAN></PRE><PRE><FONT > > face=Arial size=2><SPAN > class=870230914-03092002><STRONG>Please!</STRONG></SPAN></FONT > ></PRE><PRE><FONT > > face=Arial size=2></FONT> </PRE><PRE><FONT face=Arial > > size=2></FONT> </PRE><PRE><FONT face=Arial size=2>FROM: Stephen > > Coy<BR>DATE: 06/28/2002 07:17:41<BR>SUBJECT: RE: > [JBoss-user] CMP > > 2.0 / FINDER CREATION PROBLEM</FONT><P><FONT face=Arial > > size=2> </FONT></P></PRE><PRE><FONT face=Arial > size=2>Unfortunately, > > xdoclet 1.1.2 has only limited support for custom jboss > > queries for CMP 2.0. > > > > "jboss:finder-query" generates JAWS (CMP 1.1) configuration data. > > > > I'm including a modified<STRONG> jbosscmp-jdbc_xml.j > </STRONG>file that > > we are using, > > which has almost full support for "jboss:declared-sql" and > "jboss:query" > > tags, which generate <declared-sql> and <query> > sections in > > your > > jbosscmp-jdbc.xml file. > > > > You need to replace this file in your xdoclet.jar. > > > > Here's a sample: > > > > @jboss:declared-sql > > signature="Collection findInSequence()" > > order="precedence" > > @jboss:query > > signature="java.util.Collection > > > ejbSelectUserLists(com.whitesmiths.sacha.ejb.auth.interfaces.U > serLocal > > user)" > > query="SELECT DISTINCT r.worklist FROM User AS u, IN > > (u.userRoles) > > AS r WHERE r.worklist IS NOT NULL AND u = ?1 ORDER BY > > r.worklist.precedence ASC" > > strategy="on-find" > > page-size="16" > > > > @jboss:query > > signature="java.util.Set ejbSelectGeneric( java.lang.String > > query, > > java.lang.Object[] args)" > > dynamic="true" > > > > For more detailed information on these JBoss constructs, > the USD10 CMP > > documentation is well worth > it.</FONT></PRE></PRE></DIV></BLOCKQUOTE></BODY></HTML> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user