ObjectDB Database Search

101-150 of 200 results

ObjectDB is opening too many sockets

, and we are now facing following issue. Object DB server is creating too many sockets. Currently ... has currently in use. I guess it kind of work correctly as the sockets were not increasing ... general. You can limit the size of the connection pool (the default in ObjectDB is currently 50), by

Migration problem

class GenericEntity extends BaseEntity { @LastModifiedDate @Column(columnDefinition = " timestamp ... (columnDefinition = " timestamp default '2020-04-10 20:47:05.967394'", updatable = false) protected

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Quick example:  public class MyClass { @Column(name = "myText") String myText; @Temporal(TemporalType. TIMESTAMP ) @Column(name = "myDate") Date myDate; } Now, when querying the db with: Query q ... the query parameter as TemporalType. TIMESTAMP . But when I write following query: Query q = JPA.em

Group by date / time

.t = new Timestamp (c.getTime().getTime());         em.persist(e1 ... ; private Timestamp t;     }   } should produce this output: [[2099, 12, 31, 11

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but  I want to store till sec("23 ... .com/questions/227007/resetting-the-time-part-of-a- timestamp -in-java support Support Hi  Thank

java.sql.Time field off by 30 minutes

well. Timestamp works perfectly fine. Ps. dont think its a UTC issue. My system is set at far off UTC+30min time.   rwaters Richard Currently there is no known bug that may cause this. Maybe

Date field Index is corrupted due to time change

; @Basic(optional = false)         @Temporal(TemporalType. TIMESTAMP

ArrayIndexOutOfBoundsException

Eibschutz Thank you for the update. Currently an ObjectDB server supports live schema changes ... timestamps have to be checked and only newer schema be accepted. Maybe schema changes should not be allowed without restarting the server. support Support

Replication error on slave restart

that are currently offline. If a recording file is missing you will get the reported "Failed to synchronize ... . And as you can see I have useful field "updatedAt" which sets actual timestamp (GMT+0) everytime

Error using query with MAX() function

@Temporal(value = TemporalType. TIMESTAMP ) private Date changeDate; public int getId() { return id

JPQL query to get entities that does not have a child entity in their child entities

;            Timestamp     

Dates

to GMT, so in the database all the date and timestamp values are GMT. When the value is retrieved

Unexpected COUNT Results

;   SELECT $1.id FROM Pa3DataKey $1 WHERE $1. timestamp

Performance in SELECT statement

;   private long timestamp ;     @Embedded     

Queries are slow on a large database

; private String sendingNodeId; private String receivingNodeId; private Date timeStamp ; private String

Grouping by date()

;, so AM and PM timestamps got different date values. Please try build 2.3.5_01. support Support New

Wrong data stored in time only fields

;  @Temporal(TemporalType. TIMESTAMP )         public Date

Wrong data stored in date only fileds

(TemporalType. TIMESTAMP ) public Date getStartDateTime() { return startDateTime; } public void

How to add different timezone

Hi, Objectdb stores the local timezone .How can i store different timezone? Is there any db level configuration? Manoj Manoj Kumar Maharana ObjectDB stores dates as timestamps without time zones and on retrieval restores exactly the same date objects. Please provide more details

Optimization Question

One of our uses for your ObjectDB software is in maintaining the current state of a large number ... to identify exactly what fields have changed from one update to the next. Currently the following ... currently doing is working. Currently updates come in via RMI so the application is receiving

Dependency from enhanced classes to the objectDB library

are currently with compilation errors (JPA types are missing). support Support The target-platform does not refer to a single project, but refers to the current workspace. To add objectDB lib ... EmbeddedSystems Your test case and questions demonstrate the current limitations of using ObjectDB

Explorer in 2.3

- and that is slow if you have millions of objects. Currently the workaround is to use queries ... expressions in the execution tab. Try the following query: SELECT 2 + 3. This is currently ... ("mypassword") is currently not supported. Please provide a list of additional expressions that you need

virtual servers and one file

of this? Our only current workaround is to swap out older Entities entirely, but of course ... drop. ObjectDB 2.x does use RandomAccessFile . ObjectDB 3.0, which is currently under development ... problem. The ObjectDB is currently a little over 3GB in size, the respective server service is assigned

EntityManager.contains(entity) - JPA Method

JPA Method in jakarta.persistence.EntityManager boolean contains (   Object entity ) Determine if the given object is a managed entity instance belonging to the current persistence context. Parameters: entity - entity instance Return: boolean value indicating if entity belongs

InterfaceRef jakarta.persistence.StoredProcedureQuery

.0 LockModeType getLockMode () Get the current lock mode for the query. Returns null if a lock mode

EntityManager.refresh(entity,lockMode,properties) - JPA Method

entity manager that has not been joined to the current transaction and any lock mode other than {@code

EntityManager.getProperties() - JPA Method

JPA Method in jakarta.persistence.EntityManager Map getProperties () The properties and hints and their associated values which are in effect for this entity manager. Modifying the contents of the returned map does not change the configuration in effect. Return: a map of properties and hints currently in effect Since: JPA 2.0

InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo

current loader Since: JPA 1.0 DataSource getNonJtaDataSource () Returns the non-JTA-enabled data

EntityManager.lock(entity,lockMode,properties) - JPA Method

- if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction

EntityManager.lock(entity,lockMode) - JPA Method

- if there is no transaction or if invoked on an entity manager which has not been joined to the current transaction

EntityManager.getFlushMode() - JPA Method

JPA Method in jakarta.persistence.EntityManager FlushModeType getFlushMode () Get the plain that applies to all objects contained in the persistence context. Return: the current {@link FlushModeType} Since: JPA 1.0

EntityTransaction.getRollbackOnly() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction boolean getRollbackOnly () Determine whether the current resource transaction has been marked for rollback. Return: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if {@link #isActive()} is false Since: JPA 1.0

EntityManager.refresh(entity,lockMode) - JPA Method

entity manager that has not been joined to the current transaction and any lock mode other than {@code

EntityTransaction.setRollbackOnly() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void setRollbackOnly () Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws: IllegalStateException - if {@link #isActive()} is false Since: JPA 1.0

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

if invoked on an entity manager which has not been joined to the current transaction and a lock mode

EntityManagerFactory.runInTransaction(work) - JPA Method

, then the EntityManager is associated with this current transaction. If the given function throws an exception

EntityManagerFactory.callInTransaction(work) - JPA Method

, then the EntityManager is associated with this current transaction. If the given function returns without throwing

EntityManager.flush() - JPA Method

JPA Method in jakarta.persistence.EntityManager void flush () Synchronize changes held in the persistence context to the underlying database. Throws: TransactionRequiredException - if there is no transaction or if the entity manager has not been joined to the current transaction PersistenceException - if the flush fails Since: JPA 1.0

PersistenceUnitInfo.getNewTempClassLoader() - JPA Method

ClassLoader} with same visibility as current loader Since: JPA 1.0

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

manager which has not been joined to the current transaction and a lock mode other than {@code

EntityManagerFactory.createEntityManager(synchronizationType,map) - JPA Method

- how and when the entity manager should be synchronized with the current JTA transaction map - properties for entity

EntityManager.joinTransaction() - JPA Method

it with the current JTA transaction. Throws: TransactionRequiredException - if there is no active transaction Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.PrimaryKeyJoinColumn.name

JPA Annotation Attribute in jakarta.persistence.PrimaryKeyJoinColumn String name default "" (Optional) The name of the primary key column of the current table. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy); the same name as

AnnotationRef jakarta.persistence.PrimaryKeyJoinColumn

column of the current table. Defaults to the same name as the primary key column of the primary table

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking

NPE at com.objectdb.jpa.JpaQuery.getResultList

.sql. Timestamp dateTime;     } }   support Support Unfortunately, I have not

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

to these failures, as there are no timestamps that I can use for cross-referencing. Can you please determine root

ObjectDB internal error on 2.6.5 for some query which worked on 2.6.4

="MESSAGE" OR $1.keyDescriptor.name="CONTEXT")) ORDER BY $1. timestamp 1. Priority HIGH since affected

Use temporary files to enable very large transactions

the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception ... results), currently the size of a transaction (i.e. the total size of database pages ... ). However, if you are interested in a quick solution, we may be able to increase the current maximum from heap size

queries under 2.7.6_4 significantly slower than under 2.7.6

. support Support currently we have no chance to really test that with all the sub versions ... from 2.7.6? Is there any other change in a newer build that you currently need? support Support Currently there is no need for us to upgrade, we did not know if you continue to work on a hintless