ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh

Externalising persistence.xml properties in Glassfish?

and file copying to get around it but so far it hasn't been a good solution for me as I have many ... multi-environment (dev/test/prod), multi-module deployments with ObjectDB as the datastore either with Glassfish/JBoss and having environment specific datastore properties being build independent? I

Multi-tenant setup

schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query ... ). It is more tricky when using ObjectDB within an application server as automatic injection of entity ... classes for the common data and maps (as persistent fields) to store specific tenant data as key/value pairs. support Support

Embedded Database Replication

As we all know, embedded databases out perform server databases on every occasion. The problem ... is optimal and healthy? Alternatively some kind of jboss style UDP broadcast from each embedded ... the server url for replication as with an ordinary server. support Support

Working with JPA Entity Objects

at it is that the persistence context also functions as a local cache for a given EntityManager. ObjectDB also manages a level 2 shared cache for the EntityManagerFactory as well as other caches as explained in

File lock exception on odb$

. We had a server failure which caused an unexpected reboot. As a result, the application services which use ... below. No other process had a lock on the file, especially as the server had just been rebooted ... affected as the dbs were empty anyway but I'm a bit worried about data loss if & when this is not

Chapter 4 - JPA Queries (JPQL / Criteria)

The JPA Query Language (JPQL) can be considered as an object oriented version of SQL. Users familiar with SQL should find JPQL very easy to learn and use. This chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA

Detached Entity Objects

serialized object) is constructed as a detached entity object since is not associated with any ... Address instance, which is then automatically detached as well. Cascading may continue recursively ... Address instance, which is then automatically merged as well. Cascading may continue recursively

Step 4: Add a Controller Class

) and selecting New > Class. The package name should be guest. Enter GuestController as the class name - use ... is defined as a Spring managed web controller using the @Controller annotation. A GuestDao component ... a target JSP ("guest.jsp") and passes the GuestDao component to the JSP as a request attribute (whose name

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right ... . The package name should be guest. Enter GuestDao as the class name - use exactly that case sensitive class ... component class and injects an instance of the DAO component class into the controller, as shown in

Step 2: Entity Class and Persistence Unit

Next). Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package ... "/> </properties> </persistence-unit> </persistence> Now ObjectDB should be used as a JPA

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support