ObjectDB ObjectDB

Internal Website Search

131-140 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

What are the main benefits of using ObjectDB?

. Less (and more simple) code to write, debug and test, as well as a much easier learning curve leads ... fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack ... multiple values (even for a simple data structure such as a collection of strings). In addition

Deleting JPA Entity Objects

method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object ... is automatically cascaded to the referenced Address instance, which is then automatically removed as ... , such as when setting the address field to null or to another Address object. If orphanRemoval=true

Criteria Query Selection and Results

and for representing query results as tuples. SELECT Clause Elements The content of the SELECT ... of Expression, any criteria expression can be used as the SELECT clause content. Multiple selection ... . Query Results as Tuples JPA 2 introduces a new way to represent multi selection results (i.e. results


Existing entity objects can be updated, as explained in chapter 2, by: Retrieving the entity ... a separate EntityManager for UPDATE queries. As with any operation that modifies the database, UPDATE ... SET c.population = c.population * 11 / 10 UPDATE Country AS c SET c.population = c.population * 11

Server User List

addresses. For instance, "" (which represents the local machine), as shown above, restricts ... to, as well as from The admin attribute (whose value is "true" or "false ... and if specified for the master ("$default") it is interpreted by every concrete user definition as

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

Step 4: Add a Controller Class

New > Java Class... Enter GuestController as the class name - use exactly that case sensitive class ... ModelAndView("guest.jsp", "guestDao", guestDao); } } The GuestController class is defined as ... ("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

JDO Predefined ID Classes

a unique representation of a persistent object. The following classes serve as predefined ID classes ... but should not be used as the type of a primary key field in a persistence capable class. For example ... instances of MyClass) can be represented uniquely by StringIdentity, as a combination of a class and a string value.

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