ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
11

Memory leak

when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit ... overtime until OutOfMemoryException is thrown on JBoss server. We use JBoss 7.1.1. and latest
11

Null enums and IS (NOT) NULL: NullPointerException

:606) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.invokeMethods(DefaultLifecycleCallbackInvoker.java:89) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:73) at org.jboss.weld.injection.producer
11

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

+ "]";         }     } } --- 19:05:31.423 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging ... = CascadeType.PERSIST)     public B b; Apparently the @Embedded annotation works as CascadeType.PERSIST
2

Updating JPA Entity Objects

yet are also persisted. Automatic Change Tracking As shown above, an update is achieved by modifying a managed ... automatically JDOHelper.makeDirty(employee, "projects"); // reported as dirty em.getTransaction().commit(); As demonstrated above, array changes are not detected automatically (by default
2

General Settings and Logging

data, such as query results that contain millions of objects. The <temp> element specifies temporary ... . The $temp prefix can be used to represent the system default temporary path, as demonstrated ... sockets become obsolete as a result of inactivity. The value is the timeout in seconds, where 0
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
2

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
2

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
0

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