ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
2

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) at org.jboss.weld.util
1

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
1

JPA Queries

concatenating JPQL strings into a valid complete JPQL query. JPA 2 introduced the JPA Criteria Query API, as ... : As noted above, eventually every criteria query is managed by an ordinary TypedQuery instance ... queries as well as of criteria query elements. It can be obtained either by the EntityManagerFactory's
1

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
1

UPDATE SET Queries in JPA/JPQL

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
1

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
1

Server User List

addresses. For instance, "127.0.0.1" (which represents the local machine), as shown above, restricts ... to 192.18.194.255, as well as from 127.0.0.1. 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
1

Is ObjectDB better than competing object databases?

Data Objects (JDO) API than competing object databases. By using a standard API such as JPA ... database by using an ORM JPA provider such as Hibernate, EclipseLink or Open JPA. Another advantage of using a popular API such as JPA is the availability of experienced developers, supporting
0

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
0

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 ... > Java Class.... Enter GuestDao as the class name - use exactly that case sensitive class name ... the controller, as shown in the next step. Prepares an EntityManager automatically and injects it into the em

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