Re: Executing a raw SELECT and ignoring result

2014-04-07 Thread Paul Hoadley
Hi Hugi, On 07/04/2014, at 6:21 PM, Hugi Thordarson wrote: > EOUtilities.rawRowsForSQL( EOEditingContext, String, String, NSArray ) ? Yep, that works. Thanks. -- Paul Hoadley http://logicsquad.net/ ___ Do not post admin requests to the list. T

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
Hi Paul, I think you guessed it. When I tried to start my app. on my new Mac, I got the "Select Java Application" dialog, and there I picked the wrong one: I chose "WOApplication - com..." instead of "Application - (default package)". Now it seems to work. Thanks, all of you. /Jon On 7. Apr,

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
Hi Paul, It's such a long time since I did that so I don't remember. Is there some way to find out now? /Jon On 7. Apr, 2014, at 13:03, Paul Yu wrote: > Jon > > When you created the run configuration for your old project in eclipse, which > Application did you choose? > > Paul > > Sent fro

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Paul Yu
Jon When you created the run configuration for your old project in eclipse, which Application did you choose? Paul Sent from my iPad > On Apr 7, 2014, at 6:23 AM, Pascal Robert wrote: > > >> Le 2014-04-07 à 05:25, Jon Kleiser a écrit : >> >> Hi Hugi, >> >> I cannot see how imports can be

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Pascal Robert
Le 2014-04-07 à 05:25, Jon Kleiser a écrit : > Hi Hugi, > > I cannot see how imports can be the problem here. The reasons are It can be a problem if it can’t find the WO classes in the project’s class path... > - All my java files are in the same 'default package' You really should avoid us

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
Hi Hugi, I cannot see how imports can be the problem here. The reasons are - All my java files are in the same 'default package' - In my DirectAction.java there are no imports that mention "Application", and those that end with ".*;" should not cause confusion (com.webobjects..., java.io). - Thi

Re: Executing a raw SELECT and ignoring result

2014-04-07 Thread Hugi Thordarson
Hi Paul. EOUtilities.rawRowsForSQL( EOEditingContext, String, String, NSArray ) ? Cheers, - hugi On 7.4.2014, at 04:23, Paul Hoadley wrote: > Hello, > > I'm using PostgreSQL. As part of a migration, I want to add a column to an > existing table, create a sequence, populate the column from

Re: WOApplication cannot be cast to Application

2014-04-07 Thread Hugi Thordarson
Hi Jon. Check your imports, you're probably importing the wrong Application class(com.apple.eawt.Application or some such). Cheers, - hugi On 7.4.2014, at 08:40, Jon Kleiser wrote: > Hi, > > I just try to run an old WO project on a "new" Mac with OSX 10.8.5. I > installed Eclipse/WOLips usi

WOApplication cannot be cast to Application

2014-04-07 Thread Jon Kleiser
Hi, I just try to run an old WO project on a "new" Mac with OSX 10.8.5. I installed Eclipse/WOLips using Golipse as described on this page . However, I had to install WOLips separately, as it didn't seem to be installed by Go