Re: Information: WO 5.2 migration
Re: Information: WO 5.2 migration
- Subject: Re: Information: WO 5.2 migration
- From: steve stout <email@hidden>
- Date: Tue, 11 Feb 2003 17:38:01 -0700
1. All direct SQL fetches, that is fetches based on raw SQL instead
of a model, whether through the EOUtilities.rawRowsForSQL convenience
method or lower-level EOF API, now use the Java Long object for
numeric data in the result set that used to be returned as Integer.
I suppose this is a feature not a bug, but it was somewhat
inconvenient to find and fix for the migration.
Actually, I've run into this, but it's not converting it to a Long,
it's converting it to a BigDecimal for me. So I don't know what the
difference is.
The other thing that I've noticed with 5.2 is that the column names get
converted to uppercase when using rawRowsForSQL. This is quite
annoying when you're trying to later convert them into actual EO's
because the primary key isn't recognized.
//steve
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.