Dear all,
I have tested the feature "Object-relational mapping" of SOCI using the
example "*Person*" on document. Everything goes well until I tried:
* Person p1 ;*
* sql << "select * from person", into(p1);*
I got a runtime error : *Column 'ID' not found*. I tried to comment the
statemet " *p.id = v.get<int>("ID");* " , But I got a similar error "*Column
'FIRST_NAME' not found*" .
I used *SQLite3* as the backend, and my *soci* was compiled as *static
library* under msvc10. Could you help me to deal with the error ? Thanks.
Best regards.
zoulei
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users