Opened 10 years ago

Last modified 10 years ago

#706 closed task

Update LabEnv to use BASE database capabilties instead of SQLite — at Version 2

Reported by: Nicklas Nordborg Owned by: olle
Priority: major Milestone: LabEnv v1.3
Component: net.sf.basedb.labenv Keywords:
Cc:

Description (last modified by Nicklas Nordborg)

The LabEnv extension currently uses an SQLite database for storing measurements.

BASE 3.4 will include a new feature that allows extensions to get access to part of the database for their own storage needs. See http://base.thep.lu.se/ticket/1892

I think we should drop the SQLite implementation and switch to what BASE provides.

Basically this means we use Hibernate and HQL and configure the LabEnvironmentData and an @Entity and then replace SQLite-related functionality in LabEnvironmentStorageUtil class to use Hibernate instead.

It would also be nice if we could automatically import the existing SQLite database to BASE automatically. But this means we will need to keep SQLite around for an extra release.

Change History (2)

comment:1 by Nicklas Nordborg, 10 years ago

Description: modified (diff)

comment:2 by Nicklas Nordborg, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.