Home » Search

About ORDER BY

51-60 of 200Refresh
Tutorial
13

Step 3: Define an EJB Session Bean

ORDER BY g.id", Guest.class); return query.getResultList(); } } The GuestDao session ... Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package
Manual
13

JPA Query Expressions (JPQL / Criteria)

consists of clauses - SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists ... of at least one atomic component. More complex query expressions are built by combining atomic ... the following operators (in order of decreasing precedence): Navigation operator (.) Arithmetic operators
Manual
13

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... string that ends with .odb or .objectdb is considered by ObjectDB to be a database url
JDO Doc
13

javax.jdo.PersistenceManager

the PersistenceManagerFactory (recommended) or by construction. Since: JDO 1.0   void ... JDOUserException if the instance is transient or is managed by another PersistenceManager. Parameters: pc ... the affected instances is as specified by the FetchPlan. Parameters: pc - the instance to detach Returns
Forum
13

Pre-detach loading: retrieval by navigation not working in if statement

/questions/35359676/java-jpa-objectdb-pre-detach-loading-why-retrieval-by-navigation-and-access ... system a BooleanValue wrapper is ultimately an Element that can be referenced by ID, and meets ... boolean value is not the whole story.   By JVM optimizations I meant JIT Compiler optimizations and not
Manual
12

Setting and Tuning of JPA Queries

order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum ... since the setter methods in Query and TypedQuery support method chaining (by returning the query object ... ObjectDB the default is COMMIT (which is more efficient). The default mode can be changed by
Forum
12

Should derived fields of an EmbeddedId be manually maintained by app code?

, of type ECompoundKeyMapItem, identified by their "key" within the EContainer class. The items ... "ECompoundKeyMapSubItem", identified by their keys. The embeddedId for the item class, ECompoundKeyMapItemId ... = parent; } [ObjectDB 2.3.0_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM
Forum
12

Grouping by date()

), count(ov) from ObjectView ov group by hour(ov.created) order by hour(ov.created) ASC where ov ... have to group by date(). For few queries I was concatenating 'date' from year()-month()-day() calls ... implementation. There is only one small problem with new version. When you group by date
Issue
12

Lazy loading of mapped by (inverse) singular references

ObjectDB ignores lazy setting of non collection mapped by (inverse) fields and loads them always eagerly. This is allowed by JPA since lazy is only hint but it is not efficient. The reason ... , at least as hollow objects. In order to instantiate referenced objects their exact type is needed
Manual
12

Database Doctor

of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new ... - if recovery file is disabled. Using the database file simultaneously by two instances of the ObjectDB ... the database file externally not through ObjectDB (e.g. by malicious software such as a computer