ObjectDB Database Search

151-200 of 200 results

alter table

;alter table add column ... This is automatic - just change your class (see Database Schema ... and activated in the background . support Support so, your strategy is changing class first ... and rebuild the database using the Object Doctor   I'm not sure after index changing

Database Inconsistency or corruption

update...), REVISION:=1, isPersisted:=true ... As you can see, I changed from "ProfileName 99 ... understand. After persisting the changes , the Id of the new Value entity was still nulll (See #1 ... .  There is still something I don't understand. After persisting the changes , the Id of the new

lockfiles in client/server mode

something? edit: i should note that changing temp= in /etc/objectdb/objectdb.conf does not help ... using the same directory for their temporary files. Changing the temporary directory path ... ). A better solution could be changing the permissions of the temporary directory ( /tmp/ObjectDB ) in a way

Failover from Master to Slave

to the replicated database by changing connection url, i.e. by connecting to the replicated database using ... to the replicated database url, switching the master and slave roles (in order to replicate changes in ... . support Support For support: do you have an idea how change the urls when in a Java EE JTA

Merge Issue: Attempt to reuse an existing primary key value

we can confirm that a change in the behavior of merge in build 2.4.6_17 affects your test case. The change ... part of the change in the list of the A instance. This may affect some existing applications ... changed it. This is closer to the original test: import javax.persistence.*; import org.junit.Assert

Possible cause for "Enhancement of type ... is old and cannot be used"

, but that enhancement cannot be used because of a change that affects that class, which occurred ... been changed since build 2.6.3_04, but of course it may still be affected indirectly by some other change . Please try to isolate the error. It may be related to a specific entity hierarchy or a specific

Optimistic locking: prevent version increment on entity collection attribute

(i.e. the collection is defined as a mapped by) then adding and removing entities should not change ... seem to have some issues. I have changed my classes to have a OneTomany mappedBy relationship as follows ... ), added EAGER fetch to the collection no change . I have tried to persist the document first

Mismatch client-server protocol prefix

. Try also to consider any change in the migration of code that could cause it. More information ... ? support Support No wed didn't change anything in our DAOs. This is the code which raises the Exception ... Support Do I have to make this change on the server? How does this affect performance

Join query problem with new statetment

execution. This might be caused by a schema change that is not fully supported. For example - changing ... were from the beginning tagged as @Entity and I don't think it was ever changed . I've changed this query ... earlier post, that changing query to: select new InspirationsPerSupplierResult(insp.name, p.name

Soft Reference Object Cache Recommendation

when the JVM does a full GC. private byte[] data;// use makeDirty() when changing this array or any ... requests will change the behavior.  Yes?  Any other resolution suggestions?  ... will change the behavior.  Yes? Regarding using soft references for L1 cache (the PersistenceManager

Compare old and new schema

of the entity classes but did not keep track of the changes . Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format ... . It is feasible but difficult to keep track of all changes such as renaming attributes, renaming

Merge on detached entities

the fields of the detached entities will be changed and a merge by em.merge(entity) will be saved the entities. Can this works correctly? How are the rules of the merge process? Do the changed fields of the detached entity overwrite the fields in the database? Also changed fields which are set to null

Out of memory

management changes - on order to verify that the new problems are caused by the new changes . support ... could be revised and integrated again. support Support Not really, when changing version of ODB I forget to add -XX:+HeapDumpOnOutOfMemoryError to startup script. Anyway - I have change this and cut heap size

PersistenceException: Failed to locate field

Hi, have recently been running into this issue when changing the schema: com.objectdb.o ... David Moshal The schema evolution should work in this case, nothing was changed . An exception may be thrown if you mix old and new enhancement. Please make sure that after the change you only use a clean

License Key on macOS Sequoia 15.6.1

reply. We are currently using '2.8.7_04' Are there any changes regarding the enhancement process ... the past only if i changed the network). My currently workaround was to set the macid sudo -S ... Stocker There were changes in Activator in version 2.9.3. The activation code is now computed

UserException: Invalid configuration in 'internal' - Check permissions

.UserException: Invalid configuration in 'internal' - Check permissions. : Is there any way to change ... on the log directory and ObjectDB Home , and either change permissions for the default log path, or change ObjectDB home, or change the log path by adding your own configuration file. support Support Hi

Occasionally slow requests in load testing

we had resize amount set to default 256kb. We had another test run today and I've changed it to 256mb. Now ... a db for a while with the default resize setting, can we increase it later on? Will changing ... are currently available. Changing the   resize attribute will affect existing databases, with no expected

Bulk update of embedded entities in linked list

inside the transaction doesn't work with the objects I'm using. I also tried to change a simple string field of the object. After committing the changes and selecting the objects again, no data has changed . Example: ...         for (Object entity : resultSet)      

@ElementCollection Set is emptied sometimes

changes , even though nothing is changed in that Object's class. Any ideas why would this happen ... while schema changes , but not all the times. The interesting part is that most of the times, schema changes didn't happen into that class. It's very strange and I can't find yet a way to understand

Disable Evaluation possibility

Hello, we are now using quite old version, so I am sorry, if something changed in ... without Evaluation. We can sometimes run into a problem, that some network interface change , or even weirder ... an error if the query returns false . support Support Did something about this changed recently? In 2

Explorer in 2.3

to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive ... : "Attempt to lock a non entity object". The change stays on the screen, but is not persisted ... the  configuration . This is preferred over renaming in the Explorer, because: Same changes

Activation Issue

. Nothing had been changed or redeployed, only a reboot. What have I done wrong? Thanks Paul.   Piece ... the other case, it happened on my standard development machine. No changes at all to the machine or OS.   ... was never installed on those vms. It can't be possible for Virtual box to change the host MAC address

Installing a VM security fix leads to inactive DB

! Kevin Kevin Pfaff Only changing MAC addresses should  require re-activation, so it is likely that the security hotfix that you installed changed the MAC address somehow. Examining the MAC ... of your device change ) please provide more details. support Support We have a site license

Optimization Question

of data objects called tracks. These tracks change very frequently over time (every 10-15 seconds ... to identify exactly what fields have changed from one update to the next. Currently the following ... prone code to identify exactly what's changed and replace only exactly those items

Database Files

keeps growing, but the actual odb file never changes unless I restart the server.  The  .odr ... is full and when the database is closed - the odb file is also updated. To change this behaviour you can enable   ... ; but the file name is the same.  So it is the correct behavior that the file name never changes

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

that are not synchronized with the data. This could be caused by certain unsupported schema changes (if you had schema changes in addition to upgrading to 2.9.0) . If this is the only issue then running ... a link. We did not do any schema changes hgzpincher Hans-Georg Zwicker Looking again in the log

Understanding limitations of schema evolution

update when changing a field’s name Yet, i am confused regarding how to handle the case ... yoda If a persistent field is moved to a super class or a sub class (i.e. changes hierarchy ... , and you will have to write code for making this schema change . support Support Thanks for your reply

drop a column from table

file will be reclaimed lazily, for every entity object on its next committed change . support ... file. The schema change must be available to the Doctor, so you must open the database after the schema change in your application to register the change , or run the Doctor with a classpath that contains your entity classes. support Support

InternalException when reading a HashMap

:380) ... 15 more   We then tried it with ObjectDB 2.7.0, but that did not make any change ... evolution, if you changed your persistable classes recently. support Support For now I just add, that something change on our server probably, although we did not do anything intentionally

Updating existing persistence entries

bean to a property editor which calls my setters automagically when changing associated values in my GUI component. There's no way (at least I know of) to do something before and after a value change ... my persisted object which may have changed for one or more fields to a call like "session.update(objectInstance

Schema Evolution Question

after a schema change . "  It is unclear whether the client application with the upgraded schema ... of schema changes in client-server mode is definitely a top priority for future ObjectDB versions, and the final goal is to support schema changes with no need to restart at all. In order to investigate

turn off auto-serialization

unable to change for example instance of Class into their names in jdoPreStore() callback Tomasz ... serialization, and actually only when the configuration is changed to true the build passes. Please verify that you changed the correct configuration file. If you have separate configuration files

Tomcat + JPA Problem

changing to JPA with objectdb.com. Using JDO with Datanucleus made it necessary to make some changes ... You can change it to absolute path and rebuild and redeploy the web application. The default ( "$objectdb/db ... change it to the development one because in building a war file it will use the current development

Wrong @Id type

/ To repair IDs that have already changed their types you will have to 'touch' the objects and store them again, or use an ObjectDB version before the fix, with an UPDATE queries that change the IDs ... . If you can provide a test case that demonstrates an operation that changes the id type

Remove a modified entity cause an optimistic lock exception

the object. Flushing changes to the database (by running a query in FlushModeType.AUTO ?) Removing the object. Committing the changes . The console application is the same but without the flush ... is equivalent. It throws an OptimisticLockException. btc_es BTC EmbeddedSystems I have changed

Run out of memory

and store it back in the database to access / modify later. I require to be able to rollback changes as well, where there can be massive amount of changes . I have been storing the data using a single ... the uncommitted changes persist in RAM (not the file db), hence I am getting out of memory exceptions

ArrayIndexOutOfBoundsException

is unexpected, since you probably haven't changed the schema of the type already 3 times ... Eibschutz Thank you for the update. Currently an ObjectDB server supports live schema changes . The purpose was to handle schema changes without server restart, but the result is that two clients

Corrupted Database or error in ObjectDBExplorer?

The data in this database is probably fine, but apparently the Explorer is missing a recent schema change . Have you changed class hierarchy related to RequirementBasedTestCaseImpl? According to the data in ... the schema. support Support We changed the class hierarchy of RequirementBasedTestCaseImpl

Different behavior with persist() and queried instances?

and no special proxy class from objectdb which can track changes . However, when we do simple re-select ... have re-selected it from the database? In each other case, the automatic change tracking is driven ... it becomes a regular java.util.Array again which of course doesn't mark the object dirty when getting changed

Another behavior of transaction isolation level in comparing to 2.8.7

the middle of the main method. Is this changed behavior expected? public class nestedTransactionExample ... the database after innerEm commits. It is possible that this behavior was changed to resolve ... of the changes introduced to fix another issue ( #2964 , part 2, posts 15+ , where a refresh after a flush

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object ... . The strange thing is that the bug appears only upon changing one particular object in the DB. Others work ... , so only 20 remained and since then my changing transactions are working fine on that original object

Can't post on your forum

). We had to change your password so please set your password again. We received a similar report from another user and apparently after a similar action of changing his password the problem was solved. Nothing in our website code was changed , so this issue may be related to moving our website to a new host

Selective merge/cascade of detatched entity

the implications here, there are good reasons for this approach). All potential changes are checked ... promise I haven't changed anything' flag, then to perform the modification, and for things that change after the re-attach happens to be changed in the database. Is there some way to achieve

Query fails with failed to read

;(logger "store.file", level fatal, so probably no need for any configuration change if fatal logging ... have the original exception since we changed to the new version on 20180811 but there is a log ... also to change database content, i.e. to write to the database? Build 2.7.5_05 included in addition

Collection update does not increase entity version and is not persisted

an attachment via addAttachment() method and checks in another transaction if this change was written or not. If I change the code to use the setAttachments() it also fails. This is very urgent ... Markus Ritter Your test case demonstrates an issue in tracking changes to a collection in an object

References to objects of missing obsolete entity classes

not occur with objectDB version 2.8.0_4. Did you change anything and do you have any hint as ... , so it could also be related to other recent changes . If you can specify the last build that didn't ... workaround that you can try is to change the configuration file and allow reflection , or include a dummy

Entity field renaming does not work

tests (and also the relevant code in ObjectDB has not been changed recently). Please note ... is opened with the schema change specified in the configuration file, only the class after the change has to be available on the classpath. Otherwise the upgrade will fail. Could you please confirm

ObjectDB 2.0.0

the classpath. Changed server start avoiding new process creation. Added logging for class loading ... performance of database insert/update/delete operations. Changed default configuration (for improved performance). Added support for running a server with no tray icon (using a -console flag). Changed

stackoverflow big sur eclipse debug

since we changed to big sur we have in eclipse a stack overflow on starting our application ... of the file permissions of the objectdb database file. The behavior is changed compared to the osx ... itself. Could you confirm that this is solved by changing the access permissions to the configuration file

Schema-Update: Rename superclass and remove one subclass

workaround is to avoid removing a class and renaming its super in the same schema change . If these changes are done separately, i.e. the database is opened between the first and the second then the schema change is expected to be processed correctly. support Support Ok. First we can live