Problem in groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in groovy

Naveen Kumar-3
Hi All,

I was using delegator.find() in my groovy.

My problem:- My application requires 3 where clause that is
EntityCondition.makeCondition in the delegator.find(), but it is taking only
2 condition when third condition is given it is giving error, can any one
suggest me how to do this, and please suggest me some documentation on this
delegator.

Regards,
Naveen.
Reply | Threaded
Open this post in threaded view
|

Re: Problem in groovy

Malin Nicolas
Hi Naveen,

You need prepare a EntityConditionList to embedeed your three
conditions, and pass EntityConditionList to findList function

Nicolas

Le 06/10/2010 08:11, Naveen Kumar a écrit :

> Hi All,
>
> I was using delegator.find() in my groovy.
>
> My problem:- My application requires 3 where clause that is
> EntityCondition.makeCondition in the delegator.find(), but it is taking only
> 2 condition when third condition is given it is giving error, can any one
> suggest me how to do this, and please suggest me some documentation on this
> delegator.
>
> Regards,
> Naveen.
>
>    


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply | Threaded
Open this post in threaded view
|

Re: Problem in groovy

Sumit Pandit
Hi Naveen,

For reference look at InvoiceReport.groovy.

On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
<[hidden email]> wrote:

> Hi Naveen,
>
> You need prepare a EntityConditionList to embedeed your three conditions,
> and pass EntityConditionList to findList function
>
> Nicolas
>
> Le 06/10/2010 08:11, Naveen Kumar a écrit :
>>
>> Hi All,
>>
>> I was using delegator.find() in my groovy.
>>
>> My problem:- My application requires 3 where clause that is
>> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> only
>> 2 condition when third condition is given it is giving error, can any one
>> suggest me how to do this, and please suggest me some documentation on
>> this
>> delegator.
>>
>> Regards,
>> Naveen.
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>



--
Thanks and Regards
Sumit Pandit
Thanks And Regards
Sumit Pandit
Reply | Threaded
Open this post in threaded view
|

Re: Problem in groovy

Naveen Kumar-3
In reply to this post by Malin Nicolas
Hi Nicolas,

Thank for quick reply, it worked.

Regards,
Naveen.

On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin <
[hidden email]> wrote:

> Hi Naveen,
>
> You need prepare a EntityConditionList to embedeed your three conditions,
> and pass EntityConditionList to findList function
>
> Nicolas
>
> Le 06/10/2010 08:11, Naveen Kumar a écrit :
>
>  Hi All,
>>
>> I was using delegator.find() in my groovy.
>>
>> My problem:- My application requires 3 where clause that is
>> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> only
>> 2 condition when third condition is given it is giving error, can any one
>> suggest me how to do this, and please suggest me some documentation on
>> this
>> delegator.
>>
>> Regards,
>> Naveen.
>>
>>
>>
>
>
> --
> Nicolas MALIN
> Consultant
> Tél : 06.17.66.40.06
> Site projet : http://www.neogia.org/
> -------
> Société LibrenBerry
> Tél : 02.48.02.56.12
> Site : http://www.librenberry.net/
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem in groovy

Naveen Kumar-3
In reply to this post by Sumit Pandit
Hi Sumit,

Thanks for the information, But i am looking for a documentation, where i
will get all delegator information like delegator.find(),
delegator.findByAnd(),........, Please provide me links to some online
documentation.

Regards,
Naveen.


On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <[hidden email]>wrote:

> Hi Naveen,
>
> For reference look at InvoiceReport.groovy.
>
> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
> <[hidden email]> wrote:
> > Hi Naveen,
> >
> > You need prepare a EntityConditionList to embedeed your three conditions,
> > and pass EntityConditionList to findList function
> >
> > Nicolas
> >
> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
> >>
> >> Hi All,
> >>
> >> I was using delegator.find() in my groovy.
> >>
> >> My problem:- My application requires 3 where clause that is
> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
> >> only
> >> 2 condition when third condition is given it is giving error, can any
> one
> >> suggest me how to do this, and please suggest me some documentation on
> >> this
> >> delegator.
> >>
> >> Regards,
> >> Naveen.
> >>
> >>
> >
> >
> > --
> > Nicolas MALIN
> > Consultant
> > Tél : 06.17.66.40.06
> > Site projet : http://www.neogia.org/
> > -------
> > Société LibrenBerry
> > Tél : 02.48.02.56.12
> > Site : http://www.librenberry.net/
> >
> >
>
>
>
> --
> Thanks and Regards
> Sumit Pandit
>
Reply | Threaded
Open this post in threaded view
|

RE: Problem in groovy

Santosh Malviya-4
Hi Naveen,

You can see GenericDelegator.java file where all methods are defined.

Thanks and Regards
Santosh Malviya
________________________________________
From: Naveen Kumar [[hidden email]]
Sent: Wednesday, October 06, 2010 12:09 PM
To: [hidden email]
Subject: Re: Problem in groovy

Hi Sumit,

Thanks for the information, But i am looking for a documentation, where i
will get all delegator information like delegator.find(),
delegator.findByAnd(),........, Please provide me links to some online
documentation.

Regards,
Naveen.


On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <[hidden email]>wrote:

> Hi Naveen,
>
> For reference look at InvoiceReport.groovy.
>
> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
> <[hidden email]> wrote:
> > Hi Naveen,
> >
> > You need prepare a EntityConditionList to embedeed your three conditions,
> > and pass EntityConditionList to findList function
> >
> > Nicolas
> >
> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
> >>
> >> Hi All,
> >>
> >> I was using delegator.find() in my groovy.
> >>
> >> My problem:- My application requires 3 where clause that is
> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
> >> only
> >> 2 condition when third condition is given it is giving error, can any
> one
> >> suggest me how to do this, and please suggest me some documentation on
> >> this
> >> delegator.
> >>
> >> Regards,
> >> Naveen.
> >>
> >>
> >
> >
> > --
> > Nicolas MALIN
> > Consultant
> > Tél : 06.17.66.40.06
> > Site projet : http://www.neogia.org/
> > -------
> > Société LibrenBerry
> > Tél : 02.48.02.56.12
> > Site : http://www.librenberry.net/
> >
> >
>
>
>
> --
> Thanks and Regards
> Sumit Pandit
>

________________________________

http://www.mindtree.com/email/disclaimer.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem in groovy

Sumit Pandit
In reply to this post by Naveen Kumar-3
http://ofbiz.apache.org/docs/entity.html

On Wed, Oct 6, 2010 at 12:09 PM, Naveen Kumar <[hidden email]> wrote:

> Hi Sumit,
>
> Thanks for the information, But i am looking for a documentation, where i
> will get all delegator information like delegator.find(),
> delegator.findByAnd(),........, Please provide me links to some online
> documentation.
>
> Regards,
> Naveen.
>
>
> On Wed, Oct 6, 2010 at 12:01 PM, Sumit Pandit <[hidden email]>wrote:
>
>> Hi Naveen,
>>
>> For reference look at InvoiceReport.groovy.
>>
>> On Wed, Oct 6, 2010 at 11:45 AM, Nicolas Malin
>> <[hidden email]> wrote:
>> > Hi Naveen,
>> >
>> > You need prepare a EntityConditionList to embedeed your three conditions,
>> > and pass EntityConditionList to findList function
>> >
>> > Nicolas
>> >
>> > Le 06/10/2010 08:11, Naveen Kumar a écrit :
>> >>
>> >> Hi All,
>> >>
>> >> I was using delegator.find() in my groovy.
>> >>
>> >> My problem:- My application requires 3 where clause that is
>> >> EntityCondition.makeCondition in the delegator.find(), but it is taking
>> >> only
>> >> 2 condition when third condition is given it is giving error, can any
>> one
>> >> suggest me how to do this, and please suggest me some documentation on
>> >> this
>> >> delegator.
>> >>
>> >> Regards,
>> >> Naveen.
>> >>
>> >>
>> >
>> >
>> > --
>> > Nicolas MALIN
>> > Consultant
>> > Tél : 06.17.66.40.06
>> > Site projet : http://www.neogia.org/
>> > -------
>> > Société LibrenBerry
>> > Tél : 02.48.02.56.12
>> > Site : http://www.librenberry.net/
>> >
>> >
>>
>>
>>
>> --
>> Thanks and Regards
>> Sumit Pandit
>>
>



--
Thanks and Regards
Sumit Pandit
Thanks And Regards
Sumit Pandit