ObjectDB Database Search

151-200 of 200 results

objectdb:2.8.4 - Error occurred during initialization of boot layer

:/Projects/Anritsu/Perforce/ws_alexander.golyshkin_ALL/DEV/RTD_7_6_0_JAVA_ UPDATE _JDK9/JavaApps ... .jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_ UPDATE _JDK9\JavaApps ... _ UPDATE _JDK9\JavaApps\CommonThirdParty\mockito\objenesis-2.1.jar;D:\Projects\Anritsu\Perforce\ws_alexander

DB Doctor sets type to "unknown" for new fields

and run DB Doctor on the exiting DB file in order to update the schema. The fields are added ... ) is set to unknown. Both are defined as Boolean in Java code. As a result, update operations ... the DB file and for the confirmation that it is Ok. We are struggling to understand then why updates

Database Inconsistency or corruption

2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1 ... to the referenced Attributes and from the Attributes to the Values. Updating an ObjectValue means updating the referenced Attributes. Updating an Attribute means replacing a referenced Value with a new Value

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

updates . But, when using the JPQL Query, the list are refreshed, and, when I querying ... on update side does not any diference. The problem is only solved when changing the query mode, from ... the configuration file that you are using, demonstrate the queries and explain how updates are performed? Note

Server closes if large query runs out of memory

understand that JPA bulk delete doesn't involve any object retrieval, whereas perhaps JDO deletion does

Externalising persistence.xml properties in Glassfish?

with ObjectDB but also using PostgreSQL warehousing bulk data that is perceived to be seldomly used

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q = pm.newQuery(extent); long deletedCount = q.deletePersistentAll(); pm.currentTransaction().commit

Eclipse plugin problem (using ObjectDB as a separate bundle)

. Before attempting to run, download  and update using eclipse using the info on the attached ... " button. Finally click Run (first button on last row) For the "Groovy" plugin (see update site on attached dependencies.png), once the update is done and eclipse restarted,  select the _com.epimss

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

update (){ System.out.println(" ********* Called update () **********"); lastUpdatedDate = new Date ... /server, but the test is running embedded.  Example output of error .... ********* Called update () ********** ********* Called update () ********** ********* Called update () ********** ********* Called

Unexpected exception during open the database

updates . support Support The issue is not related to Issue #1860 . It occurs, if an implict migration ... update is not part of the objectdb.conf, this cannot be the reason.   btc_es BTC ... update , unless the target class already exists with objects, and without the index

Entity listener - event instead of object

values in updated entity. There is a problem however with accessing "old" version of object stored in ... value: {}, new value: {}, actor: {}, date: {}", new Object[] { OPERATION_TYPE_ UPDATE , entityName ... ;   .toString() : null, OPERATION_TYPE_ UPDATE , actorId, transTime));     

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. - If it's an update to an existing track, delete the entire previous entry and then add in the new

OneToMany and cascade delete problem

updating a bidirectional relationship ( Product - Offer ) only on one side. It is the application responsibility to apply updates on both sides. In practice, however, updating only the owner side is usually sufficient because the other side is being updated automatically when the object is retrieved

Replication error on slave restart

using clean DB (with recording from transaction 1) when I restarting slave server. ...and I updated ... you can see slave is updated now only to the end of the first test case (1 day ago). Master is up to date ... being updated regularly, regardless of using replication

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update . The statement's property is typed by a class that is a superclass of the newSingleValue ... a new component, save new component, assign component to statement and update statement. Works

How storage works?

attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated ? Or only changed part is updated ? By other words, If I have one complex data model ... Herve Ferreira If you update a complex object model - only modified entity objects are stored by

how to operate with same object but two different Thread on database.

Hi,    i have two thread one is for insert data another is for update data but in same ... to update .java class. Update .java Here i want create another thread define a method which is for update operation. and i am getting that object here  which is passes from insert.java class

Modifier operations

update query to increase a field value without fetching it:     Query query = em.createQuery(      " UPDATE WebVisit v SET v.visitsCount = v.visitsCount + 1");     query.executeUpdate(); Update queries are supported by ObjectDB since version 2

Not releasing locked MST object

update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding ( update ) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Optimistic locking: prevent version increment on entity collection attribute

the version. Otherwise the version will be updated , and currently you cannot disable this update . Could you please explain the reason for avoiding this object version update ? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines are an intrinsic

jakarta.persistence.TypedQuery.getResultList()

for a Jakarta Persistence query language UPDATE or DELETE statement. PessimisticLockException

jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue (    int position ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts

jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue (    String parameterName ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update

jakarta.persistence.StoredProcedureQuery.execute()

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean execute() Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true if first

jakarta.persistence.StoredProcedureQuery.hasMoreResults()

Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery boolean hasMoreResults() Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any. Returns: true

jakarta.persistence.ForeignKey.value

will generate a constraint whose update and delete actions it determines most appropriate for the join column

jakarta.persistence.LockModeType.OPTIMISTIC_FORCE_INCREMENT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update . Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.EntityManager.merge(T)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T merge (    T entity ) Merge the state of the given new or detached entity instance into the current persistence context, resulting in, respectively, an insert or possible update when the persistence context

jakarta.persistence.Query.getSingleResultOrNull()

Jakarta Persistence (JPA) Method in jakarta.persistence.Query Object getSingleResultOrNull() Execute a SELECT query that returns a single untyped result. Returns: the result, or null if there is no result. Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or

jakarta.persistence.Query.getResultList()

query language UPDATE or DELETE statement. PessimisticLockException - if pessimistic locking fails

jakarta.persistence.Query.getResultStream()

language UPDATE or DELETE statement. PessimisticLockException - if pessimistic locking fails

jakarta.persistence.Query.getSingleResult()

Jakarta Persistence (JPA) Method in jakarta.persistence.Query Object getSingleResult() Execute a SELECT query that returns a single untyped result. Returns: the result. Throws: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE statement

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

to elementId(1) INFO: RequestBean []: Updated : com.greensoft.entity.Project [1](TEST: project 1) INFO ... ) to elementId(7) INFO: RequestBean []: Updated : com.greensoft.entity.Block [7](TEST: constrained block1, in 1st project) INFO: RequestBean []: Updated : com.greensoft.entity.Constraint [8](TEST: a 1st

GC Memory

.o.PRG.af(PRG.java:553) at com.objectdb.o.QRM.Vb(QRM.java:286) I am doing a bulk load for customer ... . So bulk load of data into the database should be done in smaller transaction (with begin and commit

NullPointerException when using multithreading

. Persisting bulk of objects every transaction (instead of a transaction per entity object). support

Query on primary key is slow when using 'IN'

was also trying to find if there was any API like entityManager.find, but for bulk retrieval by primary keys

Enhanced classes problem

. Please note that the ability to load mapped by relationships in bulk , which these reports

Mapped by fields are not initialized by JOIN FETCH in queries

and the test in the forum passes), but still loading bulk of inverse fields requires performance improvement. support Support

Removing of an entity removes also another entity type

.7.1_03. btc_es BTC EmbeddedSystems OK. Thanks for the update . Please note that mixing direct DELETE / UPDATE database queries with EntityManager 's operations is known as problematic. It is not specific to ObjectDB but general to JPA. DELETE / UPDATE JPA queries bypass the  EntityManager

Memory leak in com.objectdb.o.CST

more spikes than usual.  My server's graph is usually fairly flat before this update .  Perhaps there is some performance tradoff with this update to save memory usage? In the attached ... this update ) and see if there's a performance difference. Trianglehead Json Error Just an update

cannot delete objects after crash (see issue 2283)

after writing and flushing the transaction updates to the recovery file (the database file itself may be updated later), but possibly before the updates are physically written to the disk, as the OS / disk ... that case it is possible that some updates would be written physically to the database file before

ObjectDB Server not able to handle large collections

.objectdb.o.RSL$a.next(RSL.java:237)         at eu.extech. update ... . update .PersistentVersionedBDOCollectionMigrator$1.process(PersistentVersionedBDOCollectionMigrator.java:42)         at eu.extech. update .common.migration

com.objectdb.o.InternalException: null

(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing ... ) at com.apple.laf.AquaTreeUI.paint(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update ... .swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent

queries more than 10 times slower using 2.8.1 versus 2.7.6

-Georg Zwicker Please advise whether updating the statistics, as explained on issue #2417 post#15 helps ... if statistics is not updated . support Support Note that we haven't tested it on your new database but on a old sample database for which statistics was already updated as part of the work on issue #2417

InternalException

a new transaction Load an object from the database Update the object Commit the transaction, storing the updates . When the app is finished with the object, the actions are: Open a new transaction Load an object from the database Remove the object Commit the transaction, storing the updates

Query fails with failed to read

object? In that case you may be able to update the code to report the full stack trace. The error ... ; hgzwicker Hans-Georg Zwicker we are able to update the production system next week monday night ... (as we did forget to exchange them together with our update 1 week before). The log shows: [2018-08

Unexpected exception (Error 990) com.objectdb.o.InternalException

;     System.gc();         // Update ... ; em.getTransaction().begin();         embeddable. update ();   ... ;  void update () {             x++;  

retrieval again and again started

If there are no more retrieval errors it is excellent news. Thank you for the update . support Support update ... then we can close this issue. It can be re-opened if something changes. Thank you for the update . support ... -Georg Zwicker Thank you for the update . Note that posts #1 to #7 are about the "SectionClassifier

Can't open replicated database

for a query (just read, no update ) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN