Bugs item #1715278, was opened at 2007-05-08 14:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1715278&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxARG
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Matías Szeftel (mszeftel)
Summary: wxARG 1.2.0-rc3 Error when loading BLOB fields

Initial Comment:
I create a table:

id - integer
sometext - varchar,
binarydata - blob

and wxARG generates the source code which calls 
DatabaseResultSet::GetResultBlob and passes a single parameter to it (field 
name), however DatabaseResultSet::GetResultBlob should have 2 parameters and 
that's why I get an error during compilation of my project.

Also one more thing. As far as I can understand from documentation, tehere is 
some difference between data types TEXT and BLOB in SQLite (I'm not sure about 
other servers.. I'll try to find more info regarding this point), and BLOB 
fields can contain binary data, but wxARG generates a member of 
wxActiveRecordRow-derived class (in my case it is TestRow class) whose type is 
wxString. Is it possible to change the data type of class members for BLOB 
fields to wxMemoryBuffer or maybe add some option to wxARG which should allow 
to change the data type for BLOB and/or TEXT fields? This would be helpful when 
storing/loading binary files to/from database.

I also attached the source code of my test project.

Regards,
T-Rex

PS: Many thanks for solving the previous bug of 1.2.0-rc2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=1715278&group_id=51305

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to