lundi 22 février 2016

SqlLite Java insert Getters

is there any solution for inserting into SQLite Database in Java with getters, which are in others class???

For example.

INSERT OR REPLACE INTO Employee (id, name, role) 
VALUES (1, new Employee().getName() , 'CEO'); 

Thanks for help.

Aucun commentaire:

Enregistrer un commentaire