Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 95424
BY: Praveen Devarao (praveend)
DATE: 2010-12-03 08:06
SUBJECT: RE: Blobs not being saved

 

Hi Simon,

The results are making stuffs "interesting". The integer value passed is 0 (What I was expecting is the primary key value). I cant take this as the problem because if 0 was is then no column would have been update which means we had to atleast see the marker BLOB('?') inserted, but in your case it is an empty string.


Can you provide more details as below, might be these will help

With the patch applied and the puts statement (@ line 80 suggested earlier) in adapter can you let me know what is the output and also provide me the corresponding CLI trace?

Also can you run a irb session and issue a select statement on the table and check what is the value present in the row.

--------------------------------------------------
$irb
>>require 'ibm_db'
>>conn = IBM_DB.connect 'railsdb','user','password'
>>stmt = IBM_DB.exec conn, "select * from testtable where id = 10" #Give the id value that you see when reload issued
>> IBM_DB.fetch_assoc stmt
>> IBM_DB.close conn
>> quit
$
--------------------------------------------------

Thanks

Praveen


Thread View

Thread Author Date
Blobs not being savedSimon Macneall2010-12-01 02:27
      RE: Blobs not being savedPraveen Devarao2010-12-01 03:58
            RE: Blobs not being savedMario Briggs2010-12-01 05:16
                  RE: Blobs not being savedSimon Macneall2010-12-01 05:23
                        RE: Blobs not being savedMario Briggs2010-12-01 06:02
            RE: Blobs not being savedSimon Macneall2010-12-01 08:04
                  RE: Blobs not being savedSimon Macneall2010-12-01 08:34
                        RE: Blobs not being savedPraveen Devarao2010-12-02 06:17
                              RE: Blobs not being savedSimon Macneall2010-12-02 08:42
                                    RE: Blobs not being savedPraveen Devarao2010-12-03 05:09
                                          RE: Blobs not being savedSimon Macneall2010-12-03 06:07
                                                RE: Blobs not being savedPraveen Devarao2010-12-03 06:26
                                          RE: Blobs not being savedSimon Macneall2010-12-03 06:41
                                                RE: Blobs not being savedPraveen Devarao2010-12-03 08:06
                                                      RE: Blobs not being savedSimon Macneall2010-12-10 04:37

Post a followup to this message