This content has been marked as final.
Show 4 replies
-
1. Re: CMP EJB QL returns no results
dsundstrom Feb 3, 2002 11:08 AM (in response to tabuchan)This type of query works. Check your server.log.
-
2. Re: CMP EJB QL returns no results
tabuchan Feb 4, 2002 12:21 PM (in response to tabuchan)I checked the log and it stated that it could not find a related CMP field for that finder method. It turned out that I had to declare the query in the jaws.xml file in a clause.
For example,
...
findByDepartmentAndTitle
Department LIKE "%"{0}"%" AND Title LIKE "%"{1}"%"
Department
...
TABuchan -
3. Re: CMP EJB QL returns no results
dsundstrom Feb 4, 2002 8:28 PM (in response to tabuchan)You are using the wrong metadata file. JBossCMP is a completely new engine, and uses a file called jbosscmp-jdbc.xml. You can buy the JBossCMP docs or read the dtd to determine how to create the correct xml.
-
4. Re: CMP EJB QL returns no results
nick Feb 4, 2002 8:39 PM (in response to tabuchan)Where can one find the jbosscmp-jdbc dtd ?