• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Java 1.5 & WO?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Java 1.5 & WO?


  • Subject: RE: Java 1.5 & WO?
  • From: "Randy Wigginton" <email@hidden>
  • Date: Wed, 19 Apr 2006 15:48:36 -0400

Java 1.5 and EOModeler have incompatibilities as well.  Thus, I had to
change the symbolic link.  It was the easiest "down-grade" I've ever done.

-----Original Message-----
From: webobjects-dev-bounces+cawineguy=email@hidden
[mailto:webobjects-dev-bounces+cawineguy=email@hidden] On
Behalf Of John Andersson
Sent: Wednesday, April 19, 2006 1:37 PM
To: WebObjects-List Apple
Subject: Re: Java 1.5 & WO?

Thanks! Good to know.

/John

19 apr 2006 kl. 18.19 skrev Robert Walker:

> If you are using Xcode you could tell it to use Java 1.4.2:
>
> In your aggregate target set the following build setting in Expert
> View (Add if necessary):
>
> JAVA_COMPILER = /System/Library/Frameworks/JavaVM.framework/
> Versions/1.4.2/Commands/javac
> JAVA_DEBUGGER = /System/Library/Frameworks/JavaVM.framework/
> Versions/1.4.2/Commands/jdb
> JAVA_VM = /System/Library/Frameworks/JavaVM.framework/Versions/
> 1.4.2/Commands/java
>
> If your using Eclipse.  Well, you're on your own, but I'd bet there
> is a way to do something similar.
>
> This is from memory, so I hope it's correct.
>
> Good luck.
>
> On Apr 19, 2006, at 10:40 AM, John Andersson wrote:
>
>>> I'm using it with WO 5.3 and it works great!
>>
>> Not for me. But this is maybe something else. This worked nice
>> yesterday though:
>>
>> NSMutableArray args = new NSMutableArray();
>> args.addObject (startdate);
>> args.addObject (enddate);
>> EOQualifier qual = EOQualifier.qualifierWithQualifierFormat
>> ("enddate > %@ and startdate < %@", args);
>> EOSortOrdering byStartDate = EOSortOrdering.sortOrderingWithKey
>> ("startdate", EOSortOrdering.CompareAscending);
>> NSMutableArray sortOrder = new NSMutableArray ();
>> sortOrder.addObject (byStartDate);
>> EOFetchSpecification fetchSpec = new EOFetchSpecification
>> ("Reservation", qual, sortOrder);
>> NSMutableArray reservationList = new NSMutableArray
>> (ec.objectsWithFetchSpecification (fetchSpec));
>>
>>
>> The dates are NSTimestamp's.
>> Now I get a SQL error:
>>
>> SQL ERROR - [position 483, near 'E' in ' > 1.71324E+8 AND
>> t0.star'] (0) and expected but not found at position 114.
>>
>> The SQL at that position looks like this:
>>
>> WHERE (t0.enddate > 1.71324E+8 AND t0.startdate < 1.741752E+8)
>>
>>
>> Why are the dates being inserted as "1.71324E+8" ? Is it normal?
>>
>> It didn't help to set Java 1.4.2 as the preferred Java with the
>> "Java Preferences" application.
>>
>> Does anyone know how to fix this?
>>
>> /John
>
> --
> Robert Walker
> email@hidden
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40peekaboo.se
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Java 1.5 & WO? (From: John Andersson <email@hidden>)

  • Prev by Date: Transferring data
  • Next by Date: Re: Transferring data
  • Previous by thread: Re: Java 1.5 & WO?
  • Next by thread: Transferring data
  • Index(es):
    • Date
    • Thread