ObjectDB Database Search
51-100 of 103 resultsJPA inheritance issue with ObjectDB - Field not found in type error implements Serializable { // ... } I have a JPQL query that looks like this: String jpql = "Select vtm ... "); System.out.println(" JPQL : " + temSQL); System.out.println("Parameters: " + parameters); TypedQuery ... navigateToListAllVtms() { System.out.println("navigateToListAllVtms"); String jpql = "Select vtm " + " from Vtm vtm | |
Explorer in 2.3 to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive ... that are valid in queries ( JPQL , JDOQL and ObjectDB extensions) are supported. SHA1.hash ... about using a Java expression to set a value when editing a field, not a JPQL expression in a query | |
General Performance Issues Illustrated with a Specific Method().equals("")) { return cs; } String jpql ; Map m; m = new HashMap(); jpql = "select new lk.gov ... = " + m); System.out.println("j = " + jpql ); cs = (List ) getFacade().findLightsByJpql( jpql , m ... Method in Abstract Facade public List findLightsByJpql(String jpql , Map parameters) { Query qry | |
IN expression in a Criteria Query, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query ... . The problem I was getting, was a syntax error when the "IN (:bindVar)" was used within a JPQL query ... The original post was on criteria queries, but it is the same with JPQL , since criteria queries | |
Criteria Query results in a NoResultException instead of returning object to the following JPQL query: SELECT $1 FROM IdentityObject $1 WHERE $1.name='demo' You have to use ... that can be run? support Support identityNameProp.getName() does return "name." Also, the JPQL ... ; My issue is that the CriteriaQuery version does not return anything while the JPQL version returns | |
Query results are not up to date for entities, not primitives updates. But, when using the JPQL Query, the list are refreshed, and, when I querying ... CriteriaBuilder to JPQL or from Entity to Primitive. What´s now? flavioreboucassantos Flávio Rebouças ... criteria queries and string based JPQL queries regarding the cache (and actually every criteria | |
Join performance in Objectdb select count(e.id) from Page e 1 java.lang.Long: 161143 Time : 23.889999 JPQL select count(e.sUrl) from Page e 1 java.lang.Long: 161143 Time : 96.968002 JPQL select count(e.iSize) from Page e 1 java.lang.Long: 161143 Time : 10.359000 JPQL The command tool is from the book of Mike Keith. Obviously | |
First query takes 4+ minutes to complete EntityManager runs the queries ( JPQL SELECT statements) shown next. Query We test ... / JPQL . In our case the fields are in the ORDER part. So, I do not think an index will help ... the WHERE part of the SQL/ JPQL . In our case the fields are in the ORDER part. So, I do not think an index | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`);NullPointerException in com.objectdb.o.ENH.b() when resolving entity names in JPQL ... .hydraorm.domain.entities.workforce.Driver) instead of entity names ("Driver") in JPQL queries to bypass | |
Problem with distinct select, order by and equivalent alias/attribute path and regards Benjamin Klink bklink Benjamin Klink JPQL restricts ORDER BY expressions to expressions ... these queries? It would probably be better to repair that library to generate valid JPQL queries | |
multiple different applications access one odb file for ObjectDB, if it helps. It will support running SELECT queries in JPQL syntax only (not SQL, except SQL queries that are also valid in JPQL ), and then iterating over a result sets, as in ordinary | |
ClassCastException on SELECT NEW ... after UPDATE over Java RMI Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application ... NEW ...) and UPDATE JPQL queries on the DB via the RMI interface. What we noticed | |
How to use regular expressions in Criteria Builder expressions in queries as an extension, but that extension is limited to string-based JPQL queries, as ... so you can use regular expressions in queries, just use string-based JPQL ("e.g. e.field.matches(regexp)") instead of criteria queries. support Support | |
Query in JPA2 with LEFT JOIN on INNER JOIN; JOIN close is invalid in JPQL . Instead of ON you may include all the variables in ... JOIN of JPQL . support Support Hi, this is my critera query: CriteriaBuilder cb = entityManager | |
Help with 'not like/lower' query William You are talking about criteria queries but your first query is a JPQL query. Is it the JPQL | |
JPA 2.0 Criteria API: (When) Fully supported ? implementation creates a JPQL query string for fetching while the JPA 2.0 implementation uses Criteria ... statements ( issue #14 ), so these elements are not supported in either string based JPQL or criteria queries. support Support | |
JPA does not seem to be db agnostic A valid JPQL query must include SELECT, otherwise the query is incomplete. Some JPA implementations extend the standard JPQL by supporting queries with no SELECT. support Support | |
String representation of a query Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have any method like "getQueryString" or "getDatabaseQuery", maybe it's going to be added in near ... with JPQL string and parameters map to find and optimize the most ineffective cases. kborkowski | |
CriteriaQuery .where() for multiple conditions string ( JPQL ) by toString() on the criteria query. support Support | |
UTF Error I tested ObjectDB. When I write JPQL , I get this error. Caused by: com.objectdb.o.InternalException: Error reading UTF string at com.objectdb.o.BYR.U(BYR.java:1217) at com.objectdb.o.BYR.U(BYR.java:523) at com.objectdb.o.BYR.L(BYR.java:504) at com.objectdb.o.QJD.a(QJD.java:241) at com.objectdb.o | |
ORDER BY problem, when String starts with language specific character queries (as an extension to JPQL and JDOQL) you can use the Normalizer expression directly in the query | |
selecting objects that have a particular key/value in persistant HashMap.get('location') = 'California' This is not a valid JPQL query but an extension that ObjectDB | |
Multi selection and distinct in a criteria query I am afraid it is not supported neither in JPQL nor in criteria queries. But does it make sense | |
ObjectDB version 2.3 has been released ObjectDB 2.3 has been released and it includes important additions and fixes: Added the ability to edit databases in the Explorer ( issue #2 ). Added the ability to execute queries in the Explorer (issue #3 ). Other small Explorer improvements. Added support of IN operator in JPQL queries. Added | |
Get the last occurence of a list attribut "(" and the "LIMIT". Is it possible de make a sub request in a JPQL query ? dwighthaul Paul | |
How do I achieve a Deep Fetch using JOIN FETCH? of eager fetch in JPQL as follows: SELECT c FROM C JOIN FETCH c.bList WHERE c.id=:id But when I attempt | |
Method not found on... I've got this class... @Entity @Table(name = "language") public class Language implements Serializable{ ... private List aliases; ... public boolean hasAlias(List alai) { return ... ; } ... } When I try to make this JPQL query: SELECT g from Language g where g.hasAlias("espanol", "italian | |
Multiple inputs not supported on WHERE ? expressions, which are not allowed in JPQL Update queries. See discussions on this issue . ObjectDB | |
Handling "is null" in where clause Greetings, I was playing aroung with JPQL and have found that there is a problem with "is null" queries. When you use "is null" in where clause, query runs correctly, but results are incorrect. Let me show you an example: - entity @Entity public class EntityA { @Id   | |
dual access objectdb only permit direct SQL coding? cpanon CP ObjectDB doesn't support SQL but JDOQL and JPQL | |
Multi-Threading/Distributed-Database Questions... Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects): Q1: In what cases would ObjectDB utilize multi-threading ? how about in JOIN operations ? Q2: Is it true that two read-only JPQL queries accessing the same database file actually run  | |
Native ObjectDB Support for EnumSet ? string) query for example: SELECT FROM MyEntity WHERE this.enumSet.contains(:arg) JPA/ JPQL   | |
how explorer queries work well perhaps my choice of topic is what's incorrect. explorer executes a user's JPQL query and it certainly | |
How to use JOIN FETCH? The ObjectDB manual ( https://www.objectdb.com/java/jpa/query/ jpql /from ) gives an example of using JOIN FETCH to avoid excessive round trips to the database: SELECT c FROM Country c JOIN FETCH c.capital I've tried a few variants of the following example, and haven't been able to get this to work | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV We are using ObjectDB 2.5.1_04. The following JPQL query causes an internal exception: SELECT COUNT(r) FROM RecordingMetaData AS r WHERE ((r.mapFromCli LIKE '192.168.10.13%' ESCAPE '\')) The exception: Caused by: java.lang.IllegalStateException: com.objectdb.o.InternalException: Unexpected | |
Difference performance in ObjectDB Explorer and in java project Hello, I am learning ObjectDB and i noticed that the queries that are executed in ObjectDB Explorer are faster (about 5 ms) than queries in my project (~400 ms). Here is my JPQL query : SELECT p FROM Point p WHERE p.x=0 I am using Point entity class from tutorial | |
JPA query of a Set of terms standard JPQL and it would be less efficient since indexes cannot be used. support Support Thanks | |
Reporting Engine? of JPQL / EJB QL is available for both Birt (using an external extension) and Jasper | |
Package name for persisted entities that you can use: SELECT FROM Inspiration IMPORT homplex.model.dbobject.* and ObjectDB supports it also in JPQL | |
String Contains Query Result - Possible?; } Is there a more optimal way to do this? DragonRulerX Jared Hinze You can use JPQL Locate : SELECT FROM Program | |
JDBC Driver for ObjectDB driver, for SELECT queries with JPQL syntax (not SQL, except SQL queries that are also valid in JPQL ). This may open ObjectDB for read-only applications, such as reporting. support Support | |
@Enumerated(EnumType.STRING) annotation inhibits proper execution of IN expressions. When the following annotation is present on an enum type entity field: @Enumerated(EnumType.STRING) Queries using JPQL IN expressions on this field won't work correctly anymore. This issue has been described in forum post 1254 (JPA JPQL WHERE clause for IN :variable not working if variable | |
ObjectDB 2.5.1 (inverse) relationships. Fixed a bug in using IN expression in criteria queries . Fixed processing an IN(:param) expression in JPQL queries. | |
ObjectDB 2.0.4 loader issue when using GWT/Jetty. Fixed a bug in using fields of embedded primary key in JPQL queries. | |
ObjectDB 2.2.5 Added support of navigation through collections (as a JPQL extension). Added version display to the Server and Explorer About dialog boxes. Fixed an UPDATE/DELETE query bug in client-server mode. Fixed an ArrayIndexOutOfBoundsException in retrieval of large objects. Fixed Explorer display | |
ObjectDB 2.3.0 Added the ability to edit databases in the Explorer ( issue #2 ). Added the ability to execute queries in the Explorer (issue #3 ). Other small Explorer improvements. Added support of IN operator in JPQL queries. Added support of ";drop" database url parameter. Adjusted the Enhancer to the new | |
ObjectDB 2.9.4_04 Added support for a JPQL update query with multiple variables (issues #2369, #3009) | |
Update query null error, which are not allowed in JPQL Update queries. See discussions on this issue . ObjectDB should produce | |
ObjectDB BIRT Driver Update The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. In the current implementation ObjectDB is embedded in the driver. Any 2.x version of the driver | |
Update query bug This UPDATE query is invalid because JPQL UPDATE queries are limited to setting values not |