|
[cvs] openejb/src/doc faq_cmp.xml: msg#00027java.openejb.devel
Modified: src/doc faq_cmp.xml Log: Added Gopal's doc change to the main branch By David Blevins, on 0103/02/13 18:09:59 Revision Changes Path 1.4 +25 -1 openejb/src/doc/faq_cmp.xml Index: faq_cmp.xml =================================================================== RCS file: /cvsroot/openejb/openejb/src/doc/faq_cmp.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- faq_cmp.xml 8 Nov 2002 04:54:52 -0000 1.3 +++ faq_cmp.xml 14 Feb 2003 02:09:59 -0000 1.4 @@ -58,6 +58,30 @@ all the CMP entities that need them. </p> <p> +After the deployer is run for the first time, using your favourite +editor edit openejb-jar.xml file and add your finder select statement +in openejb-jar.xml file. +</p> + +<p> +Repackage your jar file. +</p> + +<p> +If openejb is already running close currently running openejb instance +by telnet localhost 4200 and issuing the stop command and restart openejb. +</p> + +<p> +Test your program by calling Runit.sh . +</p> + +<p> +Whenever deployer is run again for your current application, it will overwrite +openejb-jar.xml file. +</p> + +<p> Say you had a home interface with the following finder method... </p> <p> @@ -94,7 +118,7 @@ </method-params> </query-method> <object-ql> - SELECT o FROM org.acme.employee.EmployeeBean o WHERE o.lastName = $1 + SELECT o FROM org.acme.employee.EmployeeBean o WHERE o.lastname = $1 </object-ql> </query> </ejb-deployment> ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ http://OpenEJB.sf.net OpenEJB-development mailing list OpenEJB-development@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openejb-development
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [cvs] openejb/src/doc faq_cmp.xml, David Blevins |
|---|---|
| Next by Date: | RE: New OpenEJB Tomcat article at O'Reilly, Cabrera, Alan |
| Previous by Thread: | Re: [cvs] openejb/src/doc faq_cmp.xml, vze49jqg |
| Next by Thread: | The java.sun.com forums, David Blevins |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |