ObjectDB Database Search

101-150 of 200 results

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

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria .multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria

jakarta.persistence.criteria.ListJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .ListJoin ListJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters

jakarta.persistence.criteria.From.joinMap(String,JoinType)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .From MapJoin joinMap (    String attributeName ,    JoinType jt ) Create a join to the specified Map -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target

jakarta.persistence.criteria.Join.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Join Join on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction

jakarta.persistence.criteria.Join.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Join Join on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions

jakarta.persistence.criteria.Join.getOn()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Join Predicate getOn() Return the predicate that corresponds to the ON restriction(s) on the join, or null if no ON condition has been specified. Returns: the ON restriction predicate. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.LocalDateTimeField.toString()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .LocalDateTimeField String toString() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.LocalTimeField.toString()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .LocalTimeField String toString() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.on(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin MapJoin on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction

jakarta.persistence.criteria.MapJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin MapJoin on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters

jakarta.persistence.criteria.ListJoin.on(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .ListJoin ListJoin on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters

jakarta.persistence.criteria.ListJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .ListJoin ListAttribute getModel() Return the metamodel representation for the list attribute. Returns: metamodel type representing the List that is the target of the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin.index()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .ListJoin Expression index() Create an expression that corresponds to the index of the object in the referenced association or element collection. This method must only be invoked upon an object that represents an association or

jakarta.persistence.criteria.LocalDateField.toString()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .LocalDateField String toString() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Order.reverse()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Order Order reverse() Switch the ordering. Returns: a new Order instance with the reversed ordering. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Order.isAscending()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Order boolean isAscending() Whether ascending ordering is in effect. Returns: boolean indicating whether ordering is ascending. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Order.getNullPrecedence()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Order Nulls getNullPrecedence() Return the precedence of null values. Returns: the precedence of null values . Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.Order.getExpression()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Order Expression getExpression() Return the expression that is used for ordering. Returns: expression used for ordering. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin MapAttribute getModel() Return the metamodel representation for the map attribute. Returns: metamodel type representing the Map that is the target of the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.key()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin Path key() Create a path expression that corresponds to the map key. Returns: path corresponding to map key. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.value()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin Path value() Create a path expression that corresponds to the map value. This method is for stylistic use only: it just returns this. Returns: path corresponding to the map value. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.MapJoin.entry()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .MapJoin Expression entry() Create an expression that corresponds to the map entry. Returns: expression corresponding to the map entry. Since: Jakarta Persistence (JPA) 1.0

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

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Expression get (    MapAttribute map ) Create a path corresponding to the referenced map-valued attribute. Parameters: map - map-valued attribute Returns: expression corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.type()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Expression type() Create an expression corresponding to the type of the path. Returns: expression corresponding to the type of the path. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.PluralJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .PluralJoin PluralAttribute getModel() Return the metamodel representation for the collection-valued attribute corresponding to the join. Returns: metamodel collection-valued attribute corresponding to the target of the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Bindable getModel() Return the bindable object that corresponds to the path expression. Returns: bindable object corresponding to the path. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Path.getParentPath()

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Path getParentPath() Return the parent "node" in the path or null if no parent. Returns: parent. Since: Jakarta Persistence (JPA) 1.0

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

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Path get (    SingularAttribute attribute ) Create a path corresponding to the referenced single-valued attribute. Parameters: attribute - single-valued attribute Returns: path corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

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

Jakarta Persistence (JPA) Method in jakarta.persistence. criteria .Path Expression get (    PluralAttribute collection ) Create a path corresponding to the referenced collection-valued attribute. Parameters: collection - collection-valued attribute Returns: expression corresponding to the referenced attribute. Since: Jakarta Persistence (JPA) 1.0

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 ... , may be obtained by calling getCache , the CriteriaBuilder , used to define criteria queries, may be obtained by

Strange Error with Criteria API and Sorting

the sorted results. However, running this with the criteria API produces this error: Caused by: com ... criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE ... .persistence.Persistence; import javax.persistence. criteria .CriteriaBuilder; import javax.persistence

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

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

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 ... greaterEqual or lessEqual with Criteria API will yield in correct results except if the given date ... , it seems that criteria queries work well with literal dates, including in version 2.4.5. The following test case

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

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

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

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

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