An entity database based on Java DB