• Kristin Muterspaw's avatar
    'Sampling' -> 'Database Actions' has two buttons, one for uploading and one... · ad0166a4
    Kristin Muterspaw authored
    'Sampling' -> 'Database Actions' has two buttons, one for uploading and one for setting up local database. Upon clicking 'Upload' Field Day goes out inserts the spots, making sure that the (trip, site, sector, spot) primary key isn't broken on the remote database. After uploading spots, readings are uploaded and then streaming. Field Day uses a transaction by setting 'autoCommit' to false. If any SQLException is caught during this process then the transaction is rolled back. Tested with sampling 'Built In' sensor data, all rows appear in the database on hopper.
    ad0166a4