Internal Website Search

121-130 of 200 resultsRefresh

Memory leak

on aplication initialization and closed when the user logs out, as well as EntityManagerFactory. We use em ... on JBoss server. We use JBoss 7.1.1. and latest ObjectDB version. We took Heap

Null enums and IS (NOT) NULL: NullPointerException

(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.weld ... :89) at org.jboss.weld.injection.producer.DefaultLifecycleCallbackInvoker.postConstruct(DefaultLifecycleCallbackInvoker.java:73) at org.jboss.weld.injection.producer.BasicInjectionTarget

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

">--- 19:05:31.423 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4j2LoggerProvider 19:05:31.463 [main] INFO org.hibernate.jpa.boot ... ;  public B b; Apparently the @Embedded annotation works as 

Updating JPA Entity Objects

Change Tracking As shown above, an update is achieved by modifying a managed entity object ... _String">makeDirty(employee, "projects"); // reported as dirty em.commit(); As demonstrated above, array changes are not detected automatically (by

General Settings and Logging

when processing large data, such as query results that contain millions of objects. The prefix can be used to represent the system default temporary path, as demonstrated above.inactivity-timeout, which specifies when network sockets become obsolete as a result

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

.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.reflection.SecureReflectionAccess.runAsInvocation

Is ObjectDB better than competing object databases?

> By using a standard API such as JPA you can keep your application portable. If necessary,  ... such as Hibernate, EclipseLink or Open JPA. Another advantage of using a popular API such as ... , as part of its support of JPQL (JPA Query Language) and JDOQL (JDO Query Language).

JPA Queries

introduced the JPA Criteria Query API, as a cleaner alternative ... > As noted above, eventually every criteria query is managed by an ordinary as well as of criteria query elements. It can be obtained either by the

Step 4: Add a Controller Class

>GuestController as the class name - use exactly that case sensitive ... ); } } The GuestController class is defined as a Spring managed ... a target JSP ("guest.jsp") and passes the GuestDao component to the JSP as

Step 3: Define a Spring DAO Component

Access Object (DAO) that we will define in this step as a Spring MVC component: Enter GuestDao as the class name - use exactlyas shown in the next step.