em, sorry out there i found the error.
At the position oi hydrate my data
char str = statement
var = nsstring utf8 str
self.description = (str) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.description);
char *str2 = (char *)sqlite3_column_blob(hydrate_statement, 4);
self.wetter = (str2) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.wetter);
char *str3 = (char *)sqlite3_column_blob(hydrate_statement, 5);
self.wasser = (str3) ? [NSString stringWithUTF8String:str] : @"";
NSLog(@"%@",self.wasser);
ive every three times checked str not str , str2, str3.
like ive said. im blind.
Sorry for that
but there is one thing , what wonders me.
Why i had to set my statement to nil that i can finalize my statement to close the DB ??? i have an another object with the same code in it but no text fileds. and there i dont need to set the statements to nil. ???????
Last edited by lex; 10-19-2009 at 06:57 AM.
|