ObjectDB Database Search
51-100 of 200 resultsno query result
at all in the query, and according to that plan there is no result : Query plan 1/2 description ... all the Action (a) instances. [Step 2] Retrieve fields in Action (a) instances. [Step 3] Filter the results of step 2 retaining only results that satisfy: (a.transferred=0). [Step 4] Filter the results of step
|
|
Query only works correctly when debug printing results
on pc) the query results are only fully read back when debug printing the result contents before ... part commented out, the result doesnt contain all the data. The field requirementList is read back as null ... RequirementLevelEntity l", RequirementLevelEntity.class); List results = query.getResultList(); //Start of debug
|
|
java.lang.ClassCastException in query results
the "for (Stadium result : results )" line TypedQuery query = em.createQuery( "SELECT Name, Capacity, City FROM Stadium s", Stadium.class); List results = query.getResultList(); for (Stadium result : results ) { System.out.println("Name: " + result .Name + ", Capacity: " + result .Capacity + ", City: " + result
|
|
Query results are not up to date for entities, not primitives
Santos This could be the result of getting query results from the cache. There is no difference between ... that updates by queries bypass the cache and may result in not being seen by queries : "Updating ... results , if: You are using a new EntityManager (i.e. with no old cache), and The 2nd level data
|
|
LEFT JOIN FETCH over empty embedded collection returns no results
of the first collection, the result of the overall query is an empty set. To use the example from ... include the full nested fetch, it fails, returning an empty result list: SELECT c FROM C c LEFT JOIN ... of the query). The following query returned results : SELECT c FROM C c LEFT JOIN FETCH c.bList.aList
|
|
@ElementCollection query returning extra result per element in collection
. The issue is that, I'm getting repeated results of the owning entity of an '@ElementCollection ... ($1.name) LIKE :p1) AND (($1.conditionOne=:p2))) Got: 1 results - correct   ... .branches.branch=:p2) OR ($1.conditionOne=:p3)))) Only expected one result , but got: 2  
|
|
URGENCY, or in query does not report any objects on first operand having no results
and a.transferred = 0 there are all the results for the condition a.state = 3 it seems that the or ... )),(a.type=0)),(a.transferred=0)). [Step 2] Apply selection and prepare final results . 3:notNull ... hgzpincher Hans-Georg Zwicker Checked with 2.8.9 and both queries return 1421 results , so hopefully
|
|
JPA-Query does not lead to any result
Hi, we have a database with a Entitiy inside which we want to fetch with a query. Normally that works without a problem, but in case of this database that query does not have any results . Can anyome ... are two databases, one where the query has a result and one where the query does not has any results
|
|
wrong query result
Hi we have a problem with queries, database is returning wrong results . These are the queries ... correct results We had this problem on records created on 13 and 14 January, problem was detected ... , Attached are a db repair log and a screenshot of queries and results . We will upload the DB through private
|
|
Criteria Query results in a NoResultException instead of returning object
.RuntimeException: com.objectdb.o._NoResultException: No matching results for a unique query at org.jboss.seam ... ._NoResultException: No matching results for a unique query at com.objectdb.o.JPE.g(JPE.java:100
|
|
Indexing a field results in internal Exception
annotation. Is there anything I can look for that might result in this exception? sjzlondon Steve Zara
|
|
Bug with unique constraint exception not resulting in transaction roll back
does result in a transaction rollback as expected. However, this same method
|
|
Cache configuration of database file pages, query programs, query results
Are there some possibilities to configure following caches in order to keep cache data for only some important entity types and for the entire life cycle of the EntityManagerFactory. Cache of database file pages. Cache of query programs. Cache of query execution results . btc_es BTC EmbeddedSystems
|
|
Fields in objects not populated in query result.
the Explorer gives the results as expected. Any ideas what I'm doing wrong? This code had worked
|
|
Wrong select results
Hello, I got a realy strange SELECT problem. In explorer query "select p from Player p where p.confirmed==false", given me some results with p.confirmed==TRUE. And when I try to do (see image) "select p, p.confirmed from Player p where p.confirmed==false", I getting p-confirmed-true
|
|
An InternalException occurs when gets an result list
with query option: query.setHint("objectdb. result -fetch", "LAZY"); btc_es BTC EmbeddedSystems The exception
|
|
CriteriaQuery using isNotNull with other conditions results in InternalException
.toArray(new Predicate[predicates.size()])); List results = em.createQuery(criteria).getResultList
|
|
Unexpected COUNT Results
Unexpected COUNT Results
|
|
Iterating over large result set
Iterating over large result set
|
|
String Contains Query Result - Possible?
String Contains Query Result - Possible?
|
|
Is ObjectDB better than Object Relational Mapping (ORM)?
As noted above, using ObjectDB instead of a relational database and ORM combination is easier and leads to better performance. ORM tools, however, are very useful where the use of a relational database is mandatory (e.g. as a result of a customer request or when a new application
|
|
JPA Criteria Queries
the result type of a selection query. It is extended by CriteriaQuery to support the definition
|
|
Deleting JPA Entities
You can delete existing entities from the database either explicitly by calling the remove method or implicitly as a result of a cascade operation. Explicit remove To delete an entity from the database, you must first retrieve it. Then, within an active transaction, call the remove method
|
|
jakarta.persistence.Tuple
the elements of a query result tuple. See Also: TupleElement Since: Jakarta Persistence (JPA) 2.0 Public ... - if tuple element does not correspond to an element in the query result tuple. Since: Jakarta ... does not correspond to an element in the query result tuple or element cannot be assigned
|
|
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 ... Adam The stack trace indicates a normal situation of executing a query that has no results
|
|
jakarta.persistence.criteria.Fetch
: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute ... Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( PluralAttribute ... . Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting join
|
|
jakarta.persistence.criteria.FetchParent
join. Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta ... attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 ... attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting join
|
|
jakarta.persistence.EntityManagerFactory
. This includes configuration information such as max results , hints, flush mode, lock mode, result set ... without throwing an exception, the result of the function is returned. If the given function throws ... and the result of the function is returned. If the function does throw an exception, the transaction is rolled
|
|
jakarta.persistence.StoredProcedureQuery.getSingleResult()
getSingleResult() Retrieve a single result from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: the result or null if the next item is not a result set. Throws
|
|
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull()
getSingleResultOrNull() Retrieve a single result from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: the result or null if the next item is not a result set or
|
|
jakarta.persistence.NamedNativeQuery.resultClass
The class of each query result . If a result set mapping is specified, the specified result class must agree with the type inferred from the result set mapping. If a resultClass is not explicitly specified, then it is inferred from the result set mapping, if any, or defaults to Object or Object
|
|
jakarta.persistence.ConnectionFunction
connection to compute a result . The connection is usually a JDBC connection. See Also: ConnectionConsumer ... Instance Methods T apply ( C connection ) Compute a result using the given connection. Parameters: connection - the connection to use Returns: the result . Throws: Exception - if a problem occurs calling
|
|
jakarta.persistence.EntityResult
the SELECT clause of a SQL query to an entity result . If this annotation is used, the SQL statement ... columns to related entities. The results obtained when insufficient data is available are undefined ... The class of the result . Since: Jakarta Persistence (JPA) 1.0 LockModeType lockMode The lock mode obtained
|
|
jakarta.persistence.criteria.Path
is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type ... to the specified type, returning a new expression object. Unlike Expression.as , this method does result in ... the string-based API may need to specify the type resulting from the get operation in order to avoid
|
|
jakarta.persistence.criteria.Nulls
Specifies the precedence of null values within query result sets. See Also: CriteriaBuilder.asc ... Constants FIRST Null values occur at the beginning of the result set. Since: Jakarta Persistence (JPA) 1.0 LAST Null values occur at the end of the result set. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.CommonAbstractCriteria
are typed differently. Criteria queries are typed according to the query result type. Update ... type ) Create a subquery of the query. Parameters: type - the subquery result type Returns: subquery ... of the query. Parameters: type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.CriteriaUpdate
. The persistence context is not automatically synchronized with the result of the bulk update ... of the query. Inherited from CommonAbstractCriteria Parameters: type - the subquery result type ... a subquery of the query. Inherited from CommonAbstractCriteria Parameters: type - the subquery result
|
|
jakarta.persistence.criteria.CriteriaDelete
context is not synchronized with the result of the bulk delete. A CriteriaDelete object ... Parameters: type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0 Subquery ... Parameters: type - the subquery result type Returns: subquery. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.AbstractQuery.getResultType()
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Class getResultType() Return the result type of the query or subquery. If a result type was specified as an argument ... the createTupleQuery method, the result type is Tuple . Otherwise, the result type is Object . Returns: result type. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.StoredProcedureQuery.execute()
() Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if first result corresponds to result set. Throws: PersistenceException - if the query execution exceeds
|
|
jakarta.persistence.StoredProcedureQuery.hasMoreResults()
hasMoreResults() Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if next result corresponds to result set. Throws: PersistenceException - if the query execution exceeds
|
|
jakarta.persistence.StoredProcedureQuery.getResultList()
() Retrieve the list of results from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: a list of the results or null is the next item is not a result set
|
|
jakarta.persistence.criteria.AbstractQuery.distinct(boolean)
distinct ( boolean distinct ) Specify whether duplicate query results are eliminated. A true ... . If distinct has not been specified, duplicate results must be retained. Parameters: distinct - boolean value specifying whether duplicate results must be eliminated from the query result or
|
|
jakarta.persistence.criteria.Subquery.distinct(boolean)
( boolean distinct ) Specify whether duplicate query results are eliminated. A true value ... has not been specified, duplicate results must be retained. This method only overrides the return ... whether duplicate results must be eliminated from the subquery result or whether they must be retained
|
|
jakarta.persistence.TypedQuery.getSingleResult()
a SELECT query that returns a single result . Returns: the result , of type X . Throws ... back. NonUniqueResultException - if more than one result . QueryTimeoutException - if the query execution exceeds the query ... fails and the transaction is rolled back. NoResultException - if there is no result
|
|
jakarta.persistence.TypedQuery.getSingleResultOrNull()
() Execute a SELECT query that returns a single untyped result . Returns: the result , of type X , or null if there is no result . Throws: IllegalStateException - if called for a Jakarta Persistence query ... and only the statement is rolled back. NonUniqueResultException - if more than one result . QueryTimeoutException
|
|
jakarta.persistence.StoredProcedureQuery.getUpdateCount()
Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery int getUpdateCount() Return the update count or -1 if there is no pending result or if the next result is not an update count. Returns: update count or -1 if there is no pending result or if the next result is not
|
|
jakarta.persistence.StoredProcedureQuery.executeUpdate()
Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery int executeUpdate() Return the update count of -1 if there is no pending result or if the first result is not an update ... if there is no pending result or if the next result is not an update count.. Throws: PersistenceException
|
|
Getting Started with JPA - Maven Project
The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the result
|
|
[ODB1] Chapter 3 - Persistent Classes
the byte code of these classes, and the result is classes that do implement the PersistenceCapable
|