ObjectDB Database Search

1-50 of 70 results

SELECT clause (JPQL / Criteria API)

in criteria queries The criteria query API provides several ways to set the SELECT clause. Single ... it as the SELECT clause content, overriding any previously set SELECT content. Many valid criteria API expressions can be used as a selection because criteria API expressions are represented by Expression

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query.

Logical Operators in JPQL and Criteria API

Explains how to use AND, OR and NOT in JPQL queries.

Is ObjectDB better than competing object databases?

: ObjectDB is unique in supporting the standard APIs . It is the only object database with built in support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA

Java 8 time API

Hi.   Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases?   Best regards and congratulations on this awesome database.  Amsterdam Amsterdam Luís de Lima Filho It is not

JPA Query Expressions (JPQL / Criteria)

Criteria API expressions. Atomic expressions The atomic query expressions are: JPQL / Criteria Variables ... with operators and functions. Operators and functions JPQL and the Criteria API support the following ... the following pages: Detailed explanations of how to build Criteria API expressions are provided

JPA Criteria Query Expressions

Jakarta Persistence (JPA) Criteria API uses a hierarchy of interfaces to model query conditions and selections, enabling the construction of dynamic, type-safe queries. These interfaces represent the building blocks for defining query logic programmatically. The hierarchy of the expression

JPA Metamodel Attributes

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3. Base attribute definitions

JPA Metamodel Types

The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in Jakarta Persistence (JPA) 3.2 Base type definitions The core abstractions of model types

jakarta.persistence.EntityManagerFactory

via the PersistenceConfiguration API . Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource ... other useful APIs : an instance of Metamodel exposing a model of the managed types associated ... , information that can be set by means of the query APIs can be overridden. Information

jakarta.persistence.EntityManager

, that is scheduled for removal from the database upon transaction commit. The EntityManager API is used ... a native SQL query. In the next release of this API , the return type of this method will change

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

Hello, I'm using the Java Persistence API (JPA) in a library to not lock myself in to using ... . To use the @Index annotation, I had to add a dependency to the JDO API version 3.1 (old link: https://mvnrepository.com/artifact/javax.jdo/jdo- api /3.1). The code works just fine, but when I use

Enhancer API (JDO 3.0)

One of the new features of JDO 3 is a standard API for enhancement. Currently ObjectDB implements its own enhancement API . support Support

Strange Error with Criteria API and Sorting

the sorted results. However, running this with the criteria API produces this error: Caused by: com

jakarta.persistence.PessimisticLockException

may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active

jakarta.persistence.LockTimeoutException

transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time

Step 1: Create a Maven Web Project

.transaction jta 1.1 javax.servlet servlet- api 2.5 provided javax.servlet.jsp jsp- api 2.1 provided org

Step 1: Create a Maven Web Project

;      javax.servlet    servlet- api    2.5    provided        javax.servlet.jsp    jsp- api    2.1    provided

How to Use a SF with extended Persistence Context?

-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core ... (HttpServlet.java:754) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http

UTF Error

.UIData.getValue(UIData.java:736) at org.primefaces.component. api .UIData.getDataModel(UIData.java:628) at javax.faces.component.UIData.getRowCount(UIData.java:347) at org.primefaces.component. api ... . api .UIData.getDataModel(UIData.java:628) at javax.faces.component.UIData.getRowCount(UIData.java:347

Great product - needs better marketing - more popularity

;are clear selling points. (JPA and JDO APIs versus an elegant proprietary API  is a negative ... , but expectations should remain realistic. Supporting the JPA and JDO APIs is an important selling ... investment that you make in a software that uses ObjectDB is secured by the standard API

jakarta.persistence.criteria.Path.get(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Path Path get (    String attributeName ) Create a path corresponding to the referenced attribute. Note: Applications using the string-based API may need to specify the type resulting from the Path.get operation in order

mapping file is not being loaded

with the Persistence api : EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set ... -classes to false. The Metamodel API still returns the empty set when 'getEntities()' is invoked ... the Metamodel API (storing objects, etc)? Does it work? support Support So I changed the persistence

SelfTest and com.objectdb.Doctor

. This technique is currently in use internally by ObjectDB tests. Not ideal (and obviously dedicated API ... ; may we hope for an Api in some future release ? best regards Arne Arne Arne Stocker An API may be added. There is a plan to support running the Doctor online (against an open database) using an API

BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91)

.testng.TestNG.run(TestNG.java:1017) at org.gradle. api .internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:140) at org.gradle. api .internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:89) at org.gradle. api .internal.tasks

Feedback on new site

Font size on new site is huge! This is especially a problem when browsing the api .   dmoshal David Moshal Difficult to find info on ODB1, including api javadocs. dmoshal David Moshal Thank ... to browse the API - notice that a version is specified for each interface, method

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? dmoshal David Moshal You can use the Metamodel API as explained by the JPA Metamodel API  page in ... (PersistenceManager.class)); This method remained from ObjectDB 1.x, but in JPA 2 applications the JPA Metamodel API

disabling JDO in objectdb embedded mode

/slf4j- api -1.6.4.jar, URLEntry : file:/usr/local/glassfish/glassfish/domains/dex/applications ... .0-SNAPSHOT/lib/javaee- api -6.0.jar, URLEntry : file:/usr/local/glassfish/glassfish/domains/dex ... - org.glassfish.internal. api .DelegatingClassLoader@43de6a4f AT Thu Jun 02 14:19:14 CEST 2016 BY :java

Jboss 6 persistence.xml startup error

datasource it requires a SQL driver (confusing a bit!). Anyhow solved this without referring to the API ? I don't want to use the API as I much rather declarative-ly set it up. Thanks Willks William

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

, but we prefer to avoid introducing our own API , so possibly this can be achieved if a future version of JPA will define a standard API for OSGi integration.   support Support Hello, OK, sounds like a plan. Regards, Alex alexweirig Alex Weirig

Problem with @UniqueConstraint

on: http://www.objectdb.com/ api /java/jpa/UniqueConstraint Until JPA defines Java object model level ... / @Unique annotations: http://www.objectdb.com/ api /java/jdo/annotations/indexes http://www.objectdb.com

Error reading UTF string

.service(HttpServlet.java:754) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet- api _3.0_spec-1.0.0.Final.jar:1.0.0

Retrieve data of all entity classes in a single query

parse the data? ezazop Akis Zazopoulos Using Java Reflection API . The JPA Metamodel API may also help. support Support

Online Backup in client-server mode

until the next API change. Other solutions (like adding a special prefix for absolute paths) are not ... , etc.) seems unjustified in this case. That said, there are future plans to extend the backup API and then this issue should be addressed. support Support

newbie - lots of exeptions

.internal. api .DelegatingClassLoader@15e8179 was requested to find class com.prohire.agent.entities ... _DataSync-ejb_jar] doneCalled = false Parent - org.glassfish.internal. api .DelegatingClassLoader

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

#Enhancement_ API _   file PersonBean: import test.AbstractObject; import test.City; import test.Person ... as it is written here http://www.objectdb.com/java/jpa/tool/enhancer#Enhancement_ API

Potential ObjectDB bug

.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet- api _3.1_spec-1.0.0.Final.jar:1 ... -servlet- api _3.1_spec-1.0.0.Final.jar:1.0.0.Final] at io.undertow.servlet.handlers.ServletHandler

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API , doing a simple equals comparison with java.sql.Date value doesn't match any results in the database. Our code looks like this: CriteriaBuilder builder ... greaterEqual or lessEqual with Criteria API will yield in correct results except if the given date

Odb file version

if it is already migrated. Any API which is exposed to check the odb files version ? binitbhaskar Binit Bhaskar There is no such API , but you can use a try-catch block. i.e. you can write code that tries

ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: Added full support of JPA 2 Criteria Queries API ( issue #10 ) Added full support of JPA 2 Metamodel API ( issue #9 ) Added non optional field validation (throwing an exception on null value). Improved ObjectDB

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" I have a situation

NontransactionalWrite error using Collections.sort .

Hi, i started to use ObjectDB today and i'm having problem using command Collections.sort in persisted object.  Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: br.ufpa.linc.MetriX. api .model.Interface#105 (error 635)   I don't want

Double persist of Entity field with Cascade.ALL

Class Library ( Book_dberror_Libs ). In Netbeans, I added the Java EE 6 API Library from Netbeans

Get database schema from objectDB file

I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support

Missing (null) elements in eager loaded references

with the parallel stream but the steam api . If I change it to a normal stream or for each it works, as

package not found running ObjectDB under OSGi

doesn't provide an API for locating all the classes in a package. ObjectDB can still locate classes

Query Execution Error

.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment) $1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment')).debitor=true)) AND ((((com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied

retrieval again and again started

.agile.hummingbirdcore. API .executeErrorAction( API .java:2940)     at com.agile.hummingbirdcore. API .handleAction( API .java:2418)     at com.agile.hummingbirdcore. API .directRequest( API .java:1621)     at com.agile.hummingbirdcore. API .handleWebSocketRequest( API

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

.gridservice. api ._WorkflowAdminClientAPIDisp.___query(Unknown Source) at rbccm.felix.gridservice. api ... .gridservice.admin.server.WorkflowAdminClientImpl.query(Unknown Source) at rbccm.felix.gridservice. api ._WorkflowAdminClientAPIDisp.___query(Unknown Source) at rbccm.felix.gridservice. api

Error reading UTF string (Serialized Objects in Explorer)

.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment) $1.qubletFRAGMENTMAP.get('com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied.MitgliedDebitorenKontoFragment')).debitor=true) AND NOT (((com.lexware.vereinsverwaltung.abrechnung. api .model.mitglied