About store

41-50 of 200Refresh
Manual
14

Online Backup

), since an ObjectDB database is stored as an ordinary file in the file system.  ObjectDB supports ... and will be stored on the client machine. Alternatively, the backup target could be specified as a String value
Manual
14

Shared (L2) Entity Cache

with new data. CacheStoreMode.USE - new data in stored in the cache - but only for entity objects that are not in the cache already. CacheStoreMode.REFRESH - new data is stored in the cache - refreshing
Tutorial
14

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New > Class. Enter tutorial as the package ... that stores and retrieves instances of the Point entity class.
Tutorial
14

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window ... class that stores and retrieves instances of the Point entity class.
Tutorial
14

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... instance and stores it as an application scope attribute in the servlet context - when the web application
Tutorial
14

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... the entity class and creates an EntityManagerFactory instance and stores it as an application scope
Tutorial
14

Step 3: Define a Spring DAO Component

connection: @PersistenceContext private EntityManager em; // Stores a new guest ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing
Tutorial
14

Step 3: Define a Spring DAO Component

: @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional ... .getResultList(); } } The GuestDao Spring component class defines two methods: persist - for storing a new
Tutorial
14

Step 3: Define an EJB Session Bean

em; // Stores a new guest: public void persist(Guest guest) { em.persist(guest ... two methods: persist - for storing a new Guest entity object in the database. getAllGuests
Tutorial
14

Step 3: Define an EJB Session Bean

: @PersistenceContext private EntityManager em; // Stores a new guest: public void persist(Guest guest ... bean (EJB) class defines two methods: persist - for storing a new Guest entity object in