Home » Search

About step by step

191-200 of 200Refresh
Issue
2

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

showing the query result in indexTest.xhtml. The problems is illustrated by running the attached JavaEE ... either empty or populated are served as null (!). The query is performed by an @EJB: @Stateless public class ... working on my problem, as I am greatly encouraged by experiments last night that lead
Forum
2

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

setup: - The diagnostics here have been recorded carefully at every step, including Git tracking ... .java:274) Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException: Failed ... .objectdb.o.JPE.g(JPE.java:145) at com.objectdb.o.JPE.g(JPE.java:78) ... 6 more Caused by: com
Issue
2

Server out of memory exceptions

] Database 'F:\calculationservice\objectdb\db-files\WorkflowHistory.odb' is closed by 14140@SE101924 [2011-07-30 19:54:36 #23 server] [ObjectDB 2.2.8] Unexpected exception (Error 990) Generated by ... exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.5.0_21 (on Windows 2003 5
JPA Doc
2

Criteria Query Selection and Results

The JPA Criteria API interfaces in this group are in use for setting the SELECT and ORDER BY ... clause in a criteria query is represented by Selection: Because Selection is a super interface ... expressions can be represented by CompoundSelection, which is itself a subinterface of Selection
Manual
2

JPA Lifecycle Events

and are invoked automatically by JPA when these events occur. Internal Callback Methods Internal callback ... - when an entity is identified as modified by the EntityManager. @PostUpdate - after updating an entity in ... events by marking it with more than one annotation. By default, a callback method in a super entity
Manual
2

CRUD Database Operations with JPA

a managed entity) by the persist method. The new Point objects are physically stored in the database ... objects in the database by using a simple query: Query q1 = em.createQuery("SELECT COUNT(p) FROM Point ... (using an ORDER BY clause) and even group results (using GROUP BY and HAVING clauses). JPQL
Manual
2

SELECT clause (JPQL / Criteria API)

, the following query returns Country objects that become managed by the EntityManager em: TypedQuery ... can be added to the SELECT clause by using a bound JOIN variable in the FROM clause. Nested path expressions ... with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression
JPA Doc
2

JPA Queries

Queries are represented in JPA by the Query and TypedQuery interfaces: The JPA Query API section ... only at runtime (e.g. depending on which fields are filled by a user in a form) can be done by ... a cleaner alternative that enables building a dynamic query by using instances of special types
Forum
2

evictAll() behavior

(L1) cache. But evictAll does not affect objects that have been changed by the current PersistenceManager - it is useful only to see changes that have been committed by other persistence managers ... does not affect objects that have been changed by the current PersistenceManager" Cool, that is exactly
Forum
2

Open several objectdb databases the same time

' that is currently in use by another process (error 141) at com.objectdb.jpa.EMF ... ) Caused by: com.objectdb.o.UserException: Attempt to open a database file 'D:\tmp\PAT-707\TC_9_2_3_1_8b@2015-09-17_12.08.15\TC_9_2_3_1_8b@2015-09-17_12.08.15.pa3' that is currently in use by