Hi Dipin
but it does not seem working as on building it is throwing this exception
ERROR: Error from ejbc: java.lang.NullPointerException:
at
weblogic.cmp.rdbms.finders.SQLQueryExpander.toSQL(SQLQueryExpander.java:45)
at
weblogic.cmp.rdbms.finders.SQLQueryExpander.toSQL(SQLQueryExpander.java:39)
at
weblogic.cmp.rdbms.finders.Finder.computeSQLQuery(Finder.java:317)
at
weblogic.cmp.rdbms.RDBMSBean.generateFinderSQLStatements(RDBMSBean.java,
Compil
ed Code)
at weblogic.cmp.rdbms.Deployer.preStoreGeneration(Deployer.java:318)
at
weblogic.ejb.ejbc.EJBCompiler.generatePersistenceSources(EJBCompiler.java:37
8)
at weblogic.ejb.ejbc.EJBCompiler.compileEJB(EJBCompiler.java,
Compiled Code)
at weblogic.ejbc.runBody(ejbc.java, Compiled Code)
at weblogic.utils.compiler.Tool.run(Tool.java:80)
at weblogic.ejbc.main(ejbc.java:353)
ERROR: ejbc found errors
can you please justify me the resason for this problem .....
Neelu
-----Original Message-----
From: DIPIN CHELLANI [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 9:38 AM
To: [EMAIL PROTECTED]
Subject: Re: finder query in weblogic 5.1
u'r finder query should have the && sign before the check..as below
<finder-query><![CDATA[(&&(= name $0)(= address
$1))]]></finder-query>
bye
dipin
On Sat, 2 Aug 1997, Neelu Mehta wrote:
> Hi
> can any of you please tell me how to mention the finder function's finder
> query in weblogoc 5.1.As finder query is specified in
> weblogic-cmp-rdbms-jar.xml.My problem is that how I will specified two or
> more Creterias in a single query like
> if I want to search by the name and address together..
> I used like this
> <finder>
> <method-name>findBigAccounts</method-name>
> <method-params>
> <method-param>double</method-param>
> </method-params>
> <finder-query><![CDATA[(= name $0 && = address
> $1)]]></finder-query>
> </finder>
>
> But it didn't work..
>
> thanx in advance .....
> Neelu
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help"..
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help"..
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".