Android Question Adding records to sqlite from sqlite via jRDC

kgf

Member
Licensed User
I have got Jrdc working and would like to copy records from sqlite tables on the host to matching sqlite tables on the device. I need to do this for a number of tables and looking for the best way to do this. I can log a result using req.PrintTable(res) and was thinking of using DBUtils.InsertMaps(SQL, "table", ListOfMaps) to add the records but unsure of the best way of turning the result into a list of maps.
Is DBUtils a good way of doing this and if so what is the best way to turn the result into a ListOfMaps. Will be copying a number of tables with varying amounts of columns.

Thanks
 
Top