ObjectDB Database Search

51-75 of 75 results

Problem with Criteria Querys

Hi, i am having problems running following code...   import java.util.*; import javax.persistence.*; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence. criteria .CriteriaQuery; import javax.persistence. criteria .ParameterExpression; import javax.persistence. criteria

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

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

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

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

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

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

CriteriaQuery .where() for multiple conditions

.from(Person.class); criteriaQuery.select(root); Predicate criteria = criteriaBuilder ... )); criteriaQuery.where( criteria ); person = em.createQuery(criteriaQuery).getSingleResult(); em.getTransaction ... string (JPQL) by toString() on the criteria query. support Support

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

Problem with distinct select, order by and equivalent alias/attribute path

:  https://github.com/querydsl? It seems similar to the JPA Criteria Queries, where Order

[ODB1] Chapter 6 - Persistent Objects

well defined criteria . In addition, after an object is retrieved, all the objects that are reachable from

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

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.