Re: JOINs across different DBs

2014-01-17 Thread Jad El Omeiri
alright now I get what you mean! Christian Carlow-OFBizzer wrote Sorry, it's *NOT a viable migration method in my case On 01/16/2014 11:42 AM, Christian Carlow wrote: Hey Jad, Concerning view-entities, I mean that in my case I would need the ability to join the Product.internalName

delegator.findAll() missing?

2014-01-17 Thread Jad El Omeiri
Hi, I'm trying to use delegator.findAll(entityName) in beanshell. Was the method moved, removed, changed, or replaced? Because for example I can use delegator.getNextSeqId(entityName) successfully. I actually couldn't find any method called findAll() in the Ofbiz packages! Cheers, - Jad

Re: delegator.findAll() missing?

2014-01-17 Thread rongnguyen
You can use custom SQL: String helperName = delegator.getGroupHelperName(org.ofbiz); SQLProcessor sqlProc = new SQLProcessor(helperName); sqlProc.prepareStatement(SELECT * FROM TABLE); ResultSet resultSet = sqlproc.executeQuery(); -- View this message in context:

Re: delegator.findAll() missing?

2014-01-17 Thread Deepak Dixit
Hi Jad, Which release are you using? findAll exists in trunk (refer GenericDelegtor.java) Thanks Regards -- Deepak Dixit On Jan 17, 2014, at 2:35 PM, Jad El Omeiri wrote: Hi, I'm trying to use delegator.findAll(entityName) in beanshell. Was the method moved, removed, changed, or

Re: delegator.findAll() missing?

2014-01-17 Thread Jad El Omeiri
Thanks rongnguyen! rongnguyen wrote You can use custom SQL: String helperName = delegator.getGroupHelperName(org.ofbiz); SQLProcessor sqlProc = new SQLProcessor(helperName); sqlProc.prepareStatement(SELECT * FROM TABLE); ResultSet resultSet = sqlproc.executeQuery(); And Deepak, I'm using

Re: delegator.findAll() missing?

2014-01-17 Thread Jacques Le Roux
Yes, I re-added it http://markmail.org/message/ksjyrv5mfp3l2ehk Jacques On Friday, January 17, 2014 10:28 AM, deepak.di...@hotwaxmedia.com wrote Hi Jad, Which release are you using? findAll exists in trunk (refer GenericDelegtor.java) Thanks Regards Hi, I'm trying to use

Re: delegator.findAll() missing?

2014-01-17 Thread Nicolas Malin
Hi, You can try delegator.findList(entityName, null, null, null, null, false); Nicolas Le 17/01/2014 10:05, Jad El Omeiri a écrit : Hi, I'm trying to use delegator.findAll(entityName) in beanshell. Was the method moved, removed, changed, or replaced? Because for example I can use

Re: delegator.findAll() missing?

2014-01-17 Thread Jad El Omeiri
Ok, great! Thank you Jacques! Jacques Le Roux wrote Yes, I re-added it http://markmail.org/message/ksjyrv5mfp3l2ehk Jacques On Friday, January 17, 2014 10:28 AM, deepak.dixit@ wrote Hi Jad, Which release are you using? findAll exists in trunk (refer GenericDelegtor.java)

Re: delegator.findAll() missing?

2014-01-17 Thread Jacques Le Roux
BTW I completed at http://svn.apache.org/viewvc?view=revisionrevision=r1523507 http://svn.apache.org/viewvc?view=revisionrevision=r1523645 (I had a doubt, so I checked, APIs maintenance is a sensitive matter) Jacques On Friday, January 17, 2014 10:47 AM, jacques.le.r...@les7arts.com wrote Yes,

Re: delegator.findAll() missing?

2014-01-17 Thread Adrian Crum
I would recommend that no one do this. It breaks the encapsulation of the entity engine. The entity engine has been around for 12 years. Anything you need to do with a data source has been accommodated, you just need to spend some time looking for it. Adrian Crum Sandglass Software

Re: delegator.findAll() missing?

2014-01-17 Thread Jacques Le Roux
+1, Think twice about it !!! Jacques On Friday, January 17, 2014 12:17 PM, adrian.c...@sandglass-software.com wrote I would recommend that no one do this. It breaks the encapsulation of the entity engine. The entity engine has been around for 12 years. Anything you need to do with a data