Re: sort of a kind of a JDBC question
Re: sort of a kind of a JDBC question
- Subject: Re: sort of a kind of a JDBC question
- From: Cornelius Jaeger <email@hidden>
- Date: Thu, 15 Jan 2004 18:01:47 +0100
hi nicolas,
i am transferring data from one database to another using two eomodels
and a mapping file.
so i enumerated the eomodels entities and transferred the data using
rawrows. didn't think to use raw row keypaths though.
thanks andrus, that did the trick,
and, i was really silly not to check wonder.
great list
thx very much
cornelius
On Jan 15, 2004, at 5:12 PM, Nicolas Goy wrote:
> Hello,
>
> can you explain a little bit further what you try to do and what is
> your current logic?
>
> Regards
>
> Goyman
> On Jan 15, 2004, at 4:57 PM, Cornelius Jaeger wrote:
>
>> hi list,
>>
>> i need to get a pk without getting the object or a raw row, these are
>> very very large blobs, so i only want to fetch the pk to stream the
>> data later.
>>
>> so how can i get the pk value from an eoattribute?
>>
>> EOAttribute pk =
>> (EOAttribute)entity.primaryKeyAttributes().lastObject();
>>
>> any pointers?
>>
>> thx
>>
>> cornelius
>>
>> ps. is there a nice way, without using
>> JDBC?_______________________________________________
>> WebObjects-dev mailing list
>> email@hidden
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
> _______________________________________________
> WebObjects-dev mailing list
> email@hidden
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
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.