• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB-QL + wsad

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
When I create a EJB QL query on a CMP field that has a user defined
data type (mypackage.Mod11Number), I get the following error (after
the validation of the project):
unknown EJB or ASN name: mypackage.Mod11Number in ejb-jar.xml
In the mapping editor there is a transformation to convert the Decimal
in the DB2 database into the mypackage.Mod11Number type, somehow the
ejb-jar.xml validation cannot find the mypackage,Mod11Number type.
Any suggestions ?
regards,
Tania Ramos
<query>
<description></description>
<query-method>
<method-name>findContractByContractnummerUI</method-name>
<method-params>
<method-param>mypackage.Mod11Number</method-param>
</method-params>
</query-method>
<ejb-ql>select object(o) from Contract o where o.contractnummerUI =
?1</ejb-ql>
</query>
 
Forget Steve. Look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic