ObjectDB Database Search

1-50 of 165 results

GROUP BY and HAVING clauses

is standard and it is expected to be supported by all JPA implementations. GROUP BY with HAVING Groups in JPQL grouping queries can be filtered using the HAVING clause. The HAVING clause for the GROUP BY clause is like the WHERE clause for the FROM clause. ObjectDB supports the HAVING clause

AbstractQuery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (   List  restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any

Subquery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery Subquery having (   Predicate... restrictions ) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any

Subquery.having(restriction) - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery Subquery having (    Expression  restriction ) Specify a restriction over the groups of the subquery. Replaces the previous having restriction(s), if any. This method only overrides the return type of the corresponding

AbstractQuery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (   Predicate... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added restriction(s

AbstractQuery.having(restriction) - JPA Method

JPA Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (    Expression  restriction ) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. Parameters: restriction - a simple or compound boolean expression Return: the modified query Since: JPA 2.0

CriteriaQuery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery having (   List  restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any

Subquery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.Subquery Subquery having (   List  restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s), if any

CriteriaQuery.having(restrictions) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery having (   Predicate... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s

CriteriaQuery.having(restriction) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery having (    Expression  restriction ) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. This method only overrides the return type of the corresponding

New to Product & Having An Issue

New to Product & Having An Issue

URGENCY, or in query does not report any objects on first operand having no results

URGENCY, or in query does not report any objects on first operand having no results

JPA Query Structure (JPQL / Criteria)

. Having an SQL-like syntax in JPA queries is an important advantage because SQL is a very powerful query ... ;of up to 6 clauses in the following format: SELECT ... FROM ... [WHERE ...] [GROUP BY ... [ HAVING ... , HAVING and ORDER BY are optional. The structure of JPQL DELETE and UPDATE queries is simpler: DELETE

Defining a JPA Entity Class

that is marked (annotated) as having the ability to represent objects in the database. Conceptually this is similar to serializable classes, which are marked as having the ability to be serialized. The Point

JPA Criteria API Queries

( where ). GROUP BY / HAVING clauses ( groupBy , having , count , sum , avg , min , max , ...). ORDER BY

FROM clause (JPQL / Criteria API)

, HAVING , IN, INDEX, INNER, IS, JOIN, KEY, LEADING, LEFT, LENGTH, LIKE,LOCATE, LOWER, MAX, MEMBER, MIN

JPA Query Expressions (JPQL / Criteria)

Query expressions are the foundations on which JPQL and criteria queries are built. Every query consists of clauses - SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists of JPQL / Criteria query expressions. Atomic Expressions The atomic query expressions are: JPQL

DELETE Queries in JPA/JPQL

, and cannot include the GROUP BY, HAVING and ORDER BY clauses. A WHERE clause, which is essential

Privacy Policy

experience and to avoid You having to re-enter your preferences every time You use the Website. Analytics

Query Parameters in JPA

is designated for setting a parameter in a Criteria API query. The reason for having nine set methods

UPDATE SET Queries in JPA/JPQL

UPDATE queries cannot include the GROUP BY, HAVING and ORDER BY clauses, but the WHERE clause

ObjectDB Object Database Features

JOIN and JOIN FETCH ). WHERE (with both JPQL and JDOQL expressions). GROUP BY (including HAVING

ORDER BY clause (JPQL / Criteria API)

.currency HAVING COUNT(c) 1 ORDER BY c.currency The ORDER BY clause in the above query orders the results by

Chapter 4 - JPA Queries (JPQL / Criteria)

BY, HAVING , ORDER BY): Then the expressions that are used for building JPQL and criteria query

InterfaceRef jakarta.persistence.criteria.AbstractQuery

) over the grouping items, or null if no restrictions have been specified. Return: having clause ... AbstractQuery having ( Expression  restriction) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. Parameters: restriction - a simple or compound

InterfaceRef jakarta.persistence.criteria.Subquery

: having clause predicate Inherited from: AbstractQuery Since: JPA 2.0 AbstractQuery getParent () Return ... more grouping expressions Return: the modified subquery Since: JPA 2.0 Subquery having ( Expression  restriction) Specify a restriction over the groups of the subquery. Replaces the previous having

InterfaceRef jakarta.persistence.criteria.CriteriaQuery

items, or null if no restrictions have been specified. Return: having clause predicate Inherited from ... Return: the modified query Since: JPA 2.0 CriteriaQuery having ( Expression  restriction) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any

IDs of Entities suddenly became UUIDs?

Hi, We're having our system with ObjectDB 2.4.5 in production since this year April and it works ... the DB are having the field "myId" as type "String" and with an UUID ... that all Databases we use are affected by this. Many of them having mixed Long and UUID String ids in

JPQL query to get entities that does not have a child entity in their child entities

;   004 From these 2 tables I have to query for Jobs having states FINISHED, CANCELED, FAILED and ACTIVE. FINISHED :   A Job having status 'Finished'. CANCELED : A Job having status '%Canceled' and not ('Finished'). FAILED :      A Job having status '%Failed

Updating Entities

having to cycle through each Employee object to update their references - so I'm going ... is about over. DragonRulerX Jared Hinze OK. Note that having a separate object context for every EntityManager ... the two EMs. The downside to this is having to collect each object that needs to have its reference updated

Index causes increased memory usage

with us with understanding what is going on behind the scenes inside object db.  When you refer to having "30 open databases", are you talking about having 30 PersistanceManagers open?  Or 30 ... to having "30 open databases", are you talking about having 30 PersistanceManagers open?  Or 30

OEM license, enhancer

with the system which was created before having the OEM license and before adding enhancer ... format is the same and it is not affected by having or not having a license. support Support

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

;to forum thread mentioned above) appropriate to achieve this goal?   CBE CBE Having larger ... (because it is stored on an Amazon EBS disk which has max performance at that size and reduces monetary fees by having ... on an Amazon EBS disk which has max performance at that size and reduces monetary fees by having fewer

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

manager or the entity manager factory after having detached the entity, the detached entity finds ... of all theory is to make the irreducible basic elements as simple and as few as possible without having ... simpler.”   webel Dr Darren Kelly Having remarked on the ObjectDB JavaEE tutorials

find repeated records by JPQL

(select id from TTT s group id having count(id)1) I dont know how to do this using JPQL, but I use ... in #1 contains GROUP BY / HAVING . The outer query in #1 contains the IN operator. The query in #3 ... get the point since in #3 there is no GROUP BY / HAVING . support Support

Java 9 support

are allowed without me having to know what is really required by what. You can see that my tool and approach is designed for "just me" to get true Java 9 without having to wait on third parties but at the sacrifice of having everything exposed (which is fine because I am the only one using

Is there a way to set EAGER fetch on all "ToMany" collection relationships

Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. webel Dr Darren Kelly No. There is no such configuration option, since having EAGER

Dirty checking

: @Embeddable @EntityListeners (Listener.class) So, having to go and make all @Embeddables into @Entities. and, having to manually save each one. Question: What's the best way to cascade persistence of Entities

ObjectDB Parsing taking huge processing time

factors may make  getPersistenceManagerFactory  particularly slower, such as having a configuration file with many unused activation keys or having schema with hundreds of complex types

On ensuring ID available after persist

, which relies on an "external" entity object having a non-null id after it has been passed ... ); // then do something that relies on Java variable e having e.getId() defined (like wiring

Activated ObjectDB still throws "Too many persistable types"

to find out whether a started ObjectDB server is activated, without having to resort to an actual ... for that machine. Is there any way to find out whether a started ObjectDB server is activated, without having

PersistenceException: Failed to locate field

having access to an old version, shouldn't it automatically flush it's caches if the schema evolves ... solution But having to run it twice is fine for me. dmoshal David Moshal

Should I be able to persist a JFrame (or gui components in general)?

of Netbeans (and not having any separate Java EE stuff installed). What happened is I couldn't import ... trying this without paying attention... The exception was due to having chosen "Java EE 6 API Library

Upgrade to Java 8 won't run

more greymatter Lee Grey It seems that this exception is caused by having java.util.HashMap.Entry in ... . Having this type in the database is unexpected and may be the result of a non standard operation

JBoss 7 startup fails

Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as IDE The "src" folder contains the pachake ... for the grat help. Ciao Argentino Argentino Argentino Hi, I m having the same problem using the same jboss as 7

Reading 1.x odb files in ObjectDB 2.x without upgrading

which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x ... was having one row but after converting to objectdb 2.x, no row was present the odb file.  But when i

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: @Entity public class Salesman { private String name; @OneToMany(fetch=FetchType.EAGER

AbstractQuery.getGroupRestriction() - JPA Method

JPA Method in jakarta.persistence.criteria.AbstractQuery Predicate getGroupRestriction () Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Return: having clause predicate Since: JPA 2.0

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

to having this fixed and to having a robust ObjectDB working on my problem, as I am greatly encouraged ... when a JSF developer having performed a query in an EJB and having returned that from a JSF backing bean

NullPointerException on initial database creation

I'm having trouble creating a simple test case that reproduces it.  At this point, I think it may be related to having a class annotated with @Startup or @ApplicationScoped that references