Quote Originally Posted by Peter_APIIT View Post
Code:
soci::backend_factory const& backEnd = sqlite3;
This statement was working

but when i pass in the soci::sqlite3 statement into the trait class, compiler complaints that soci::sqlite3 is not a type.
soci::sqlite3 is an object, not a statement.
Pass into which traits class? How do you pass an object into a class? You can pass a type to a template class or you can pass an object to a function (possibly a constructor).
Quote Originally Posted by Peter_APIIT View Post
Please help.

Thanks.
I think you'll get a lot more help if you post a minimal but complete example that replicates your problem.