Database Connection problem
Database Connection problem
- Subject: Database Connection problem
- From: k barnd <email@hidden>
- Date: Fri, 9 Nov 2001 07:51:14 -0800 (PST)
i have a simple question (i think). i am trying to
lookup an item in my database. i keep getting an
"incompatible type" error on my EOUtilities line. if
some knows why i am getting this error, i would
greatly appreciate the help.
NSArray array;
EOEditingContext ec = new EOEditingContext();
array = EOUtilities.objectsMatchingKeyAndValue(ec,
"User", "firstName", "John");
String name =
((User)array.objectAtIndex(0)).firstName();
message.setStringValue(name);
Find a job, post your resume.
http://careers.yahoo.com