From: Michał B. <mic...@pe...> - 2008-10-13 10:31:21
|
> -----Original Message----- > From: Leo Soto M. [mailto:leo...@gm...] > Sent: Thursday, October 09, 2008 5:29 PM > To: Michał Bednarczyk > Cc: jyt...@li... > Subject: Re: [Jython-users] Greeting and question Hello Leo, > As the example shows, you first call cursor.execute(), and then > cursor.fetchall() will give you the results. I'll gently > insist that you read the relevant documentation. Ok., I understood and it works now. It was: result = cursor.execute("xxx") for row in result: Now is: Cursor.execute("xxx") For row in cursor: The problem with MS SQL Server connestion is also resolved. I've got the driver version 2.0 and it didn't work in my environment. I tried to use 1.2 version and it works :-) Best regards, Michal Bednarczyk |