[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this?
"urswagner" wrote : | This code should work after specification I think. | Wrong "urswagner" wrote : | The side effect is I can compile an jar file with java which is not deployable in JBoss. | This is one reason why I am not a fan of XDoclet, the problem you are experiencing is not about a compilation problem it is about a problem in the deployment descriptor being generated by XDoclet. The method parameters in the deployment need to be fully qualified classes which is why java.lang.Integer works and Integer doesnt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902949#3902949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902949 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this?
Complain to xdoclet as this is not a jboss issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902785#3902785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902785 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this?
Thanks, Your advice helped me. This code should work after specification I think. The side effect is I can compile an jar file with java which is not deployable in JBoss. | public interface AddressLocalHome |extends javax.ejb.EJBLocalHome | { |public static final String COMP_NAME="java:comp/env/ejb/AddressLocal"; |public static final String JNDI_NAME="AddressLocal"; | |public org.partneragency.interfaces.AddressLocal findByPrimaryKey(Integer addressId) | throws javax.ejb.FinderException; | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902772#3902772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902772 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this?
java.lang.Integer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902713#3902713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902713 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How shall I interpret this? This xdoclet generate this.
The exception | org.jboss.deployment.DeploymentException: Parameter class not found: Integer | is throwed when I add this finder method. What I am doing wrong? | * @ejb.finder | * signature="Address findByPrimaryKey(Integer addressId)" | * query="SELECT OBJECT(a) FROM Address AS a WHERE a.addressId = ?1" | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902708#3902708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902708 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user