ObjectDB Database Search

51-100 of 200 results

Issue with compile time enhancement

I have an entity library which I have integrated build time enhancement in.  The enhancer reports it has processed all of my persistent classes.  When I attempt to run a Bootstrap process with this library I get the error shown below.  The entity referenced in the error (Terms

Group by date / time

support these expressions (as an extension to JPA) - support of date/ time methods ( YEAR , MONTH

java.time.*

I get errors when trying to persist anything in java. time .* For example LocalDate, Month, Period. Will these be supported sometime in the future?   scoobyrooster Jason Java 8 date and tome is not supported yet, except by serialization (which is not recommended and disabled by default

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

around after searching google. However this exception only happen after running the app the second time . If I'm runnig the app the first time after rebooting my system. Everything is ok but after closing the app ... embedded mode the database cannot be accessed at the same time by more than one process. Make sure

ObjectDB current status of the BIRT plugin

ObjectDB current status of the BIRT plugin

Java 8 time API

Java 8 time API

i can't change my password first time

i can't change my password first time

several times a day queries take several minutes

))) that normally take around 10 seconds but sometimes several times a day take around 3-10 minutes

queries more than 10 times slower using 2.8.1 versus 2.7.6

to avoid to again and again transfer this huge database, we are a bit under time pressure hgzwicker

JPA Attributes Annotations

and calendar types to specific SQL temporal formats (modern java. time types are mapped automatically ... . An enumeration defining the SQL type mapping: DATE , TIME , or TIMESTAMP . For more details, see the Persistent Classes chapter in the ObjectDB manual.

JPA Queries

TypedQuery in modern applications to ensure compile- time type safety. A sub-interface of Query used ... predicates for the WHERE clause, mathematical operations, and conditional logic. Helper interfaces for manipulating temporal expressions and date/ time components.

ObjectDB - JPA Object Database for Java

Mapping (ORM) tools can reduce some manual work but cannot eliminate the extra processing time ... when the object data model is complex. See JPA benchmark results...   Reduce development time . Improve

ObjectDB 2.9 Developer's Guide

you productive with ObjectDB and JPA in a short time . Guide Structure Demonstrates basic database ... proficient in a short time . After reading this guide you may want to extend your knowledge of JPA by reading a book on JPA.

ObjectDB Object Database Features

: java.util.Date, java.sql.Date, java.sql. Time and java.sql.Timestamp. Math types : java.lang ... .Date, java.sql. Time and java.sql.Timestamp. Math: java.lang.BigInteger and java.lang.BigDecimal

JPA Exceptions

when a request to acquire a lock times out. This can occur with both pessimistic and optimistic locking wait times . Query exceptions Exceptions specific to query execution and result retrieval

jakarta.persistence.TypedQuery

properties and hints. Since: Jakarta Persistence (JPA) 2.0 LockModeType getLockMode () Get the current ... to a parameter of the query. Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 1.0 TypedQuery setParameter ( Parameter param , Date value

jakarta.persistence.Query

() Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... . Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta ... -written code should use the date/ time types defined in java. time . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.StoredProcedureQuery

() Get the current lock mode for the query. Returns null if a lock mode has not been set on the query ... . Deprecated: Newly-written code should use the date/ time types defined in java. time . Since: Jakarta ... to a parameter of the query. Deprecated: Newly-written code should use the date/ time types defined in java

jakarta.persistence.EntityManagerFactory

, there is exactly one EntityManagerFactory for each persistence unit: // create a factory at initialization time ... , then the EntityManager is associated with this current transaction. If the given function returns ... a new EntityManager instance each time it is invoked. The EntityManager.isOpen method will return

Database Transaction Replayer

.objectdb.Replayer my.odb If objectdb.jar is not in the current directory, you must specify a path

Storing JPA Entities

. The exception is thrown either by persist , if the existing entity is currently managed by

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.

JPA Container Injection Annotations

a shared, thread-safe proxy associated with the current transaction. Specifies the lifetime scope

Database Doctor

objectdb.jar com.objectdb.Doctor my.odb If objectdb.jar is not in the current directory

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

Paths and Types in JPQL and Criteria API

through a null reference. In JPQL, the current FROM variable (or FROM tuple, when there are multiple

Updating JPA Entities

when it is retrieved from the database and then compare that snapshot to the object's current state

GROUP BY and HAVING clauses

might not be supported by other JPA implementations. Currently , only identification variables and path

Database Management Settings

can take considerable processing time . The enabled attribute ( "true" or "false" ) specifies

JPA Entity Fields

of a new entity is 1 when it's stored in the database for the first time . In every transaction

ObjectDB License Agreement [ver. 2.0.4]

is effective until terminated. The Customer may terminate the agreement at any time by simply destroying

Schema Update

the specified schema updates every time a database is opened. When you use client-server mode

JPA Query Expressions (JPQL / Criteria)

) String expressions ( like , length , locate , lower , upper , concat , substring , …) Date and time

ObjectDB License

to change the terms and conditions, the products, services, prices, and programs mentioned in this site at any time , at its sole discretion.

WHERE clause (JPQL / Criteria API)

, defining appropriate indexes can significantly improve query execution time . WHERE filter in multi

JPA Runtime Tuning & Configuration

the time limit (in milliseconds) for an operation. Scope Usage EntityManagerFactory Set

JPA Query API

dynamic query construction because you can build the query string dynamically at run time . The JPA

JPA Connections and Transactions

of the EntityManagerFactory itself might be less efficient, but it is a one- time operation

Entity Management Settings

time is sufficient and more efficient than double cascading. The element The arrays attribute

Comparison in JPQL and Criteria API

rather than object identity. Data and Time values: Any comparison operator can be used

JPA Relationships Annotations

the ordering of elements in a List-valued association at the time of retrieval. Specifies the attribute

JPA Criteria API Queries

compile- time error checking. Errors in string-based JPQL queries, however, are found at runtime

jakarta.persistence.EntityExistsException

the EntityExistsException or another PersistenceException may be thrown at flush or commit time . The current transaction ... . The current transaction, if one is active, will be marked for rollback. If the entity already exists

jakarta.persistence.EntityTransaction

(JPA) 1.0 void commit () Commit the current resource transaction, writing any unflushed changes ... fails. Since: Jakarta Persistence (JPA) 1.0 boolean getRollbackOnly () Determine whether the current ... back the current resource transaction. Throws: IllegalStateException - if isActive is false. PersistenceException

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

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [Projects] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999) When you run the application for the first time

Step 4: Run the Application

) When you run the application for the first time , a new ObjectDB database file is generated in the db sub