ObjectDB Database Search

51-100 of 200 results

Query results are not up to date for entities, not primitives

TypedQuerys. I just realized that the data retrieving up to date   if I do not use the generic ... ! flavioreboucassantos Flávio Rebouças Santos After such an update queries should return up to date ... limitation in respect of getting up to date data from later queries. Try to replace UPDATE queries

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

(TemporalType.TIMESTAMP) @Column(name = "myDate") Date myDate; } Now, when querying the db with: Query q ... value [%myQuery%] did not match expected type [java.util. Date (n/a)] because I haven't declared ... a difference. The date column seems to be converted to a String so it can be compared with the query

Using date in where clause

-2013" Here I have created Persons object as java.sql. Date attribute.   But in doing so I ... a query with date in where clause. n126961 Sandip The query is invalid because you compare a date (the creationDate field) with a string literal ("07-25-2013"). Replace the string with a date literal or a parameter . support Support

Entity Update - Is the documentation up to date?

The online manual is always expected to be up to date with the last ObjectDB version.  First, I've ... , because an object is identified as dirty by comparing its old content with the current content. With enhanced ... when a setter is called with the field's current value, I can test for equality inside the setter, like

log entry date/time

It would be very useful if each entry in the log file has a date /time stamp. Thanks, Carl   FastModel Ben Schreiber Version 2.2.2 adds date /time stamps to the log. Thank you for your suggestion. support Support

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest(root.get("createDate").as( Date .class)))).distinct(true) Thank you for your help. galandor Orlov Sergey Please try build 2.5.2_06 that should fix this regression (of casting to Date ). support Support

ObjectDB current status of the BIRT plugin

ObjectDB current status of the BIRT plugin

_UserException: Attempt to open a database file '...' that is currently in use

_UserException: Attempt to open a database file '...' that is currently in use

Bug when using SIZE in combination with date lower parameter

there seems to be a bug if I use the lower date select: SELECT j.jobId, SIZE(j.tags) FROM ParserJob j WHERE j.dateCreated = : date I get the correct result (1 Tag). You find a test case at  . Please start ... cannot be both before and after the date parameter. support Support Hello, to archieve the results the date

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

: java.lang.NoClassDefFoundError: java/sql/ Date java.lang.NoClassDefFoundError: java/sql/ Date ... .main(Main.java:19) Caused by: java.lang.ClassNotFoundException: java.sql. Date at java.base/jdk ... idea why java.sql. Date is not found in the classpath? Which Java version are you using? Do you use

date parameter not working (probably) in explorer

in explorer, for a query like this:     select o from ObjectNode o where o.classIdentifier = '(PR)' and o.created ?1 we try to set the parameter (its a java.util. Date ) in ... '. A workaround for previous versions is to use a date literal (embedded in the query) instead of a date parameter. support Support

JPA Class Enhancer

.objectdb.Enhancer If objectdb.jar is not in the current directory a path to it has to be specified ... is inferior to the other techniques that are described above. First, currently it only works on Sun JDK

ObjectDB Website - Terms and Conditions of Use

that any of the materials on its web site are accurate, complete, or current . ObjectDB Software may make ... this web site you are agreeing to be bound by the then current version of these Terms and Conditions

General Performance Issues Illustrated with a Specific Method

listPatientsByIDsWithBasicData(String ids) { Long st = new Date ().getTime(); System.out.println ... ); System.out.println("cs size = " + cs.size()); Long ed = new Date ().getTime(); System.out.println ... java.io.Serializable; import java.util. Date ; import javax.jdo.annotations.Index; import javax

JPA Lifecycle Events

that should be applied by default to all the entity classes. Currently , default listeners can only be specified in

Database Transaction Replayer

is not in the current directory a path to it has to be specified. The tool's main class is com

Storing JPA Entity Objects

is thrown. The exception is thrown either by persist (if that existing entity object is currently

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

Database Doctor

is not in the current directory a path to it has to be specified. The tool main class is com.objectdb

Can I use ObjectDB with languages other than Java?

ObjectDB can be used by Java Virtual Machine (JVM) languages, such as Java, Kotlin, Groovy and Scala. It can also be used with other languages, such as Python, JavaScript, Ruby and PHP, but currently only with their JVM implementations (e.g. Jython for Python, GraalVM for JavaScript

Entity Management Settings

, even if it is not specified explicitly at the command line. This is currently an experimental feature

Database Server

: $ java -cp objectdb.jar com.objectdb.Server If objectdb.jar is not in the current directory a path

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder

() Create expression to return current date . Return: expression for current date Since: JPA 2.0 Expression currentTime () Create expression to return current time. Return: expression for current time ... () Create expression to return current local date . Return: expression for current date Since: JPA 2.0

InterfaceRef jakarta.persistence.EntityManager

with a persistent identity that is currently associated with a persistence context. A detached ... entity instance belonging to the current persistence context. Parameters: entity - entity instance ... NONE} is specified or if invoked on an entity manager which has not been joined to the current transaction

CriteriaBuilder.localDate() - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression localDate () Create expression to return current local date . Return: expression for current date Since: JPA 2.0

CriteriaBuilder.currentDate() - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaBuilder Expression currentDate () Create expression to return current date . Return: expression for current date Since: JPA 2.0

combined index not used

the current date (in your case the date of the last Action). The endDate is created as soon as an Action ... :notNull])" eval="0.9675" variable="a" / = current -java.sql. Date )),(a.state=3)),(a.subType=3)),(a.type=0 ... ="[]" = current -java.sql. Date )),(a.state=3)),(a.subType=3)),(a.type=0)) v$1:bound(a.objectsInCharge

AnnotationRef jakarta.persistence.Temporal

must be specified for persistent fields or properties of type java.util. Date and java.util.Calendar ... when the element collection value is of such a temporal type. Example: @Temporal( DATE ) protected java.util. Date endDate; Since: JPA 1.0 The JPA Persistable Types article explains how to use Temporal

EnumRef jakarta.persistence.TemporalType

.TemporalType Type used to indicate a specific mapping of java.util. Date or java.util.Calendar . Since: JPA 1.0 The JPA Persistable Types article explains how to use TemporalType . Enum Constants DATE Map as java.sql. Date Since: JPA 1.0 TIME Map as java.sql.Time Since: JPA 1.0 TIMESTAMP Map as java.sql

Query.setParameter(param,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.Query Query setParameter (    Parameter  param,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a Parameter object. Parameters: param - parameter object value - parameter

Query.setParameter(position,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.Query Query setParameter (   int position,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a positional parameter. Parameters: position - position value - parameter value

Query.setParameter(name,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.Query Query setParameter (   String name,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a named parameter. Parameters: name - parameter name value - parameter value

TypedQuery.setParameter(param,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.TypedQuery TypedQuery setParameter (    Parameter  param,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a Parameter object. Parameters: param - parameter object value

AnnotationRef jakarta.persistence.Basic

.OffsetDateTime , java.time.Instant , or java.time.Year java.util. Date or java.util.Calendar , java.sql. Date , java.sql.Time , or java.sql.Timestamp , byte[] or Byte[] , char[] or Character[] , a Java enum

CriteriaBuilder.extract(field,temporal) - JPA Method

that returns the value of a field extracted from a date , time, or datetime. Parameters: field - a temporal field type temporal - a date , time, or datetime Return: expression for the value of the extracted field Since: JPA 3.2

StoredProcedureQuery.setParameter(name,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (   String name,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a named parameter. Parameters: name - parameter

StoredProcedureQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (   int position,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a positional parameter. Parameters: position

StoredProcedureQuery.setParameter(param,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (    Parameter  param,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a Parameter object. Parameters: param

TypedQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.TypedQuery TypedQuery setParameter (   int position,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a positional parameter. Parameters: position - position value

TypedQuery.setParameter(name,value,temporalType) - JPA Method

JPA Method in jakarta.persistence.TypedQuery TypedQuery setParameter (   String name,     Date  value,     TemporalType  temporalType ) Bind an instance of java.util. Date to a named parameter. Parameters: name - parameter name value - parameter

InterfaceRef jakarta.persistence.criteria.TemporalField

JPA Interface TemporalField Type Parameters: - the resulting type of the extracted value - the temporal type ( date , time, or datetime) Each instance represents a type of field which can be extracted from a date , time, or datetime. See Also: LocalDateField LocalTimeField LocalDateTimeField CriteriaBuilder.extract Since: JPA 3.2

AnnotationRef jakarta.persistence.MapKeyTemporal

JPA Annotation MapKeyTemporal Target: METHOD, FIELD Implemented Interfaces: Annotation This annotation must be specified for persistent map keys of type java.util. Date and java.util.Calendar ... Attributes TemporalType value default null (Required) The type used in mapping java.util. Date or java.util.Calendar . Since: JPA 2.0

AnnotationRef jakarta.persistence.Id

.util. Date ; java.sql. Date ; java.math.BigDecimal ; java.math.BigInteger . The mapped column

InterfaceRef jakarta.persistence.EntityTransaction

()} is true Since: JPA 1.0 void commit () Commit the current resource transaction, writing any unflushed ... whether the current resource transaction has been marked for rollback. Return: boolean indicating ... Since: JPA 1.0 void rollback () Roll back the current resource transaction. Throws: IllegalStateException

InterfaceRef jakarta.persistence.EntityManagerFactory

already associated with the caller, then the EntityManager is associated with this current transaction. If the given ... - how and when the entity manager should be synchronized with the current JTA transaction Return: entity ... should be synchronized with the current JTA transaction map - properties for entity manager Return: entity

EnumRef jakarta.persistence.SynchronizationType

with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the () method. Since: JPA 2.1 Enum Constants SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: JPA 2.1 UNSYNCHRONIZED

JPA Web App Tutorial - Maven Project

: mvn package jetty:run The current directory should be  guestbook-web (containing the  pom

Java EE JPA Tutorial - Maven Project

the command line: mvn package The current directory should be  guestbook-jee6

Getting Started with JPA - Maven Project

The current directory should be points-console (containing the pom.xml file). No need to download

Spring MVC JPA Tutorial - Maven Project

jetty:run The current directory should be  guestbook-spring (containing the  pom.xml file