About match
Strings in JPQL and Criteria Queries
Explains string expressions in JPQL queries, including LIKE, LOCATE, LOWER, UPPER, TRIM, CONCAT and SUBSTRING.... The left operand is always the string to check for a match (usually a path expression) and the right operand is always the pattern ... (for any c.name value). To match an actual underscore or percent character it has to be preceded by an ...
NoResultException: No matching results for a unique query
I am very often getting a "com.objectdb.o._NoResultException: No matching results for a unique query" when modifying my already persisted entities within a transaction. I cannot replicate it however because it happens infrequently. The weird thing is that the entity nevertheless gets comitted perfectly right and all data is correctly written so I have no clue what's going on!?? Here's the stacktrace (copy+paste from debug output): Bug Version: Priority: Normal Status: Closed Replies: 6 Type: Bug ...
Database Schema Evolution
Explains how ObjectDB handles automatically schema changes. Modifications to entity classes that do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and modifying constructors, methods and non persistent fields. However, additions, deleti ...
setResultClass(cls)
Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)
javax.jdo.PersistenceManagerFactory
The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)
JPA 2.0 Criteria API: (When) Fully supported ?
An excerpt from the website of a 3rd party vendor which tries to support JPA 2.0: "The primary difference between JPA 1.0 and JPA 2.0 implementations is how data is fetched: the JPA 1.0 implementation creates a JPQL query string for fetching while the JPA 2.0 implementation uses Criteria API. Tested JPA 2.0 providers #1 2012-02-23 13:27 An excerpt from the website of a 3rd party vendor which tries to support JPA 2.0: "The prim ...
javax.jdo.Query
The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)
Tomcat + JPA Problem
Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package ... "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package [ObjectDB ... "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package 07.03.2011 ...
Searching lists within objects
Hi everyone, I've a problem with searching on lists. I'm uncertain as to what the best form is, so I've created a maven project with all the classes and a unit test showing my issue. Pretty much I want to search using cb.isMember passing an object. This however does NOT work. I'm uncertain how the database is doing its matching, but it looks to me like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm never going to have the real object at search time. ... like it matches using objectids, which means you can only match isMember if you have a database object. This does not help as I'm ...
removeFetchGroups(groups)
Remove the FetchGroups from the set of active FetchGroups.(Method of javax.jdo.PersistenceManagerFactory)