hello all,
   i am writing junit tests using Maven following examples listed at t his

http://www.theserverside.com/articles/article.tss?l=ContainerDrivenTestingSeriesP2

i defined a finder method on my EJB, but when i run tests i have
following exception

java.util.Collection findEntryByDateTypeUserDate(
        int type, java.util.Date start, java.util.Date end, String user)

but when i run tests i have followign exception..

 CMP 1.1 Beans with finder methods cannot be autodeployed; finder
methods require OQL Select statements which cannot be generated
accurately.

is there a way to overcome the problem, since i am not actually
deploying but just running tests?

thanx and regards

 marco

Reply via email to