eye,
I am trying to use dependency injection from my Seam (web) application. Class:
CustomerAccount bean is created as separate project in Netbeans but deployed to the same
JBoss instance. When I try to invoke function getLastNameDI() I get:
Named query not known: CustomerAccount.findByCustomerId
And my CustomerAccount bean is:
So there is a named query like this! Both persistence units (from web application and CustomerAccount) use the same datasource, just persistence units name vary.
What could be the problem?