I've created a complex class Model::Patient. I've changed the registration macros based on dll2 sample, the program compiles fine. At execution time, invalid table name are used in SQL commands:
- Code: Select all
INSERT INTO Model.Patient (patient_id, name, birthdate, sex) VALUES (:patient_id, :name, :birthdate, :sex)
Parameter count mismatch
The registration macros used are:
- Code: Select all
QX_REGISTER_COMPLEX_CLASS_NAME_HPP_TEST_EXE(Model::Patient, qx::trait::no_base_class_defined, 0, Model_Patient)
QX_REGISTER_COMPLEX_CLASS_NAME_CPP_TEST_EXE(Model::Patient, Model_Patient)
Joaquim Duran