Hi, I have completed my CMP-EJB application using 2.0 Spec. It is running fine on my application server JBOSS4.0.3. NOw as 2.0 Specification of EJB, EJB QL does not support some aggregate functions in Querirs like "GROUP BY", nut these are supported in EJB2.1 Specifications. So how should I convert my current 2.0 bean version to EJB2.1 Spec??? I tried it with following by changing DTD of ejb-jar.xml as follows:- -------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1"> ------------------------------------------------------------------------------- Now my application deploys successfully into container. But still I am not able to use aggregate functions like Group by in my EJB QL. Where is the problem?? Please help me. Thank you in advance. Pras
********Deserve Before You Desire********
Jeroen T Wenting
Ranch Hand
Joined: Apr 21, 2006
Posts: 1847
posted
0
you'll almost certainly need to change more config settings. Check for any place where you see "2.0" in one of the config files for the application, any of those may need changing to "2.1".