ObjectDB Database Search

101-150 of 169 results

Extended mapping-definitions

. limitation, the editor doesn't model his data with java-classes directly, but with a so called MetaClass ... with other fields in order to retrieve required data efficiently. Another idea, you can still use different entity

Incremental online backup

backups much faster as only a portion of the data would need to be copied. Such a feature would also allow ... the data is wrong, not the underlying files) and we need to retrieve a backup. However the last backup

Sync ObjectDB and MySQL

Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for development and then just make sure MySQL always has the same data ? ThreaT Ashton Hogan There are plans to implement such a tool. You may subscribe to this feature request

ObjectDB stability after power failure

to protect your data . Finally, if everything goes wrong you can use the Doctor to fix the database. In general the risk of losing data is very small.       support Support Thank

Removing objects where ManyToMany relationships exist

private Set setOfOtherEntities; public Set getOtherEntities() {     ... well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets ?  ... where an entry points to an to-be-removed OtherEntity, to remove it from the Set manually? Hope not

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value ... ). The statement update don't throw exception. And when i try to reload statement the value i have set before ... ;    // set a property of statement with the newSingleConstraint    

Can I Disable the Creation of the "log" Directory?

(attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log ... which you set the log path to empty, since apparently the only place in which "log" is specified in ... ); // Sets %objectdb environment variable System.setProperty("objectdb.conf", objectDbConFile.toString

joining of tables

", referencedColumnName = "add_id") ) public Set getAddress() { return address; } in Address class: @ManyToMany(mappedBy = "address") public Set getEmployee() { return employee; } how can i solve this problem ... if it is bidirectional relationships also add a reference back from Address to Employee with a mappedBy setting

SSL cannot connect from client StackOverflow error

Hello, i am trying to set up the SSL for connections to objectDB server. I cannot connect ... option, which I missed on java client side? I read https://www.objectdb.com/java/jpa/ setting /ssl ... the SSL howto https://www.objectdb.com/java/jpa/ setting /ssl thamal Tomas Hamal Thank

Populating entity id before transaction commit

) value generation strategy and IDs would be set on persist rather than on commit . Alternatively you can force early auto ID setting by: Object id = emf. getPersistenceUnitUtil() . getIdentifier ... to sequence or table or I will try to force setting id. Thanks. lwalkowski Lukasz Walkowski

Problem with distinct select, order by and equivalent alias/attribute path

;System.setProperty( "objectdb.temp.no-distinct-order-restrictions", "true"); Set the property before using ... etc.). Where would you recommend to set this property? I tried to set it in persistence.xml, directly

Performance issues on aggregate query

we are using this aggregate query to collect some data : select p3.doubleValue,c1.classIdentifier,c1.objectName,sum(p4.doubleValue),sum(p4.doubleValue*p5.doubleValue),0,p7.doubleValue,p3.name,count(o) from ObjectNode o INNER JOIN o.properties p1 INNER JOIN o.properties p2  INNER JOIN o

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB?   Thanks st.clair.clarke St Clair Clarke ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as a tree of Element nodes. Another option is to define an entity

Failed to create a new file 'target\objectdb\log\archive' (error 112)

Hi, we are using ObjectDB 2.4.6_10 (embedded mode). The pre-registration of a data type (see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user under which the JVM is executed in which the code below is run does have write permissions on the folder

How to Use a SF with extended Persistence Context?

] (MSC service thread 1-11) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS] 13:52:02,439

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

of 168,000. I've inserted 168,000 objects of dummy data with an importer. A subsequent 'submit

persisting object with long[][] arrays of array

object's arrays of arrays are n x 1 - so the amount of data saved is exactly the same - So it looks like

Does ObjectDB create one instance of each entity class on (web app) load ?

with a pre-detach loader that "visits" any data and relationships needed for particular views

Memory use in OneToMany relationships

more data about that picture. If we assume we load 10 Pet from the DB into memory and assume each Pet

EntityManager refresh problem

this test is that refresh works by retrieving data from the database and in this test the refreshed

Using of Second Level Cache

EmbeddedSystems The 2nd level cache stores object data (byte[]) rather than live entity objects

Database connection url

I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as:           However, I'm not ... .odb created under db-files/ nor can I connect to it from explorer. So, how does one set up odb as

Programatic configuration or configuration file loaded from classpath or file

Hi! I found information about the configuration of ObjectDB:  https://www.objectdb.com/java/jpa/ setting . However, I have a dynamic environment and don't want to place the configuration file in ... .objectdb.com/java/jpa/ setting /entities#The_cache_element a) Is it possible to configure this 

Replaying recorded requests...

;      Questions: 1) Why am I seeing this if I've set recording enabled to false? 2 ... have recording sets when that is turned off in the config file? b) should I be worried about so many

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

: Failed to set numeric value of field property Element.id using reflection However, in my main real-world ... ) ... 47 more Caused by: com.objectdb.o.UserException: Failed to locate set method for field property com

Database is erased after deploying a new web application version

the web-app from Tomcat's manager? Should I set some kind of listener? Yotam Yotam Boaz You can set

LifeCycle Event with Embeddable classes

and prepersist annotation are a quite elegant way of setting these properties. ObjectArts   objectArts objectArts JPA lifecycle events are not applicable for embeddable classes. You can set an event

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

for your precious feedback, Alex   alexweirig Alex Weirig BTW: I forgot to mention that if I set ... the context class loader. Setting the context class loader, as suggested in #2 above, is a known

ObjectDB Roles and Groups

.clarke St Clair Clarke Currently it is not possible. You can define common settings for a virtual $default user and all the other users will inherit these settings . It would be possible to support

Cascading makeTransient

, so everything is already transient, just that ObjectDB sets a permanent strong reference from B ... it you will have to set a system property before using ObjectDB:     System.setProperty("objectdb

Failed to commit transaction: Attempt to commit a rollback only transaction

locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in ... ;      currentTx.commit() but it disturbs me that I'm not setting rollback

Database is locked when in use

for us :-( Do you have any settings or other way to handle this? binitbhaskar Binit Bhaskar Using copy & paste to clone

Complex Schema Upgrade not working

package and class names requires setting in the configuration, but moving fields in the hierarchy

Extended HashMap as Embeddable class

Hi, Should it be possible to create an Embeddable class that extends HashMap (or Set etc.)? I can user HashMaps  as parameter type in entities, but when I extend it and annotate it with @Embeddable annotation - I get an error. @Embeddable public class A extends HashMap { (...) }    

JPA inheritance issue with ObjectDB - Field not found in type error

qry = getEntityManager().createQuery(temSQL, entityClass); Set s = parameters.entrySet(); Iterator

IDs of Entities suddenly became UUIDs?

the application, and possibly set into a field that was marked (maybe by mistake) as  @Id. support Support

Is redirecting the log file possible

I have the objectdb in the same directory as jdk in the Program Files directory (Win 11). This directory is protected by the O/S and therefore objectdb has problem creating its log file. Relaxing the secutity settings is of course possible, but seems somewhat unsecure. Is there a way to tell

Low performance when getting grove roots

an index for this field? Regards, Vladimir tsichevski Vladimir Tsichevski Of course. Setting indexes

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

are not found in the data store where they are expected to be temporarily stored. As a workaround build 2.6.1_01 runs the query on the last available data , but for a complete solution we may need a test case. support Support

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

Enhancer modifies the names of persistent property  get and set methods by adding __odbHidden ... included a dirty and quick fix that used  get as a prefix for both get and set  persistent ... with annotations that can only be used with set methods. Build 2.2.6_02 improves the fix by hiding

InternalException: null

Hi! when I run my application where 10 threads are concurrently accessing ObjectDB (only reading) via using ExecutorService, then these 2 mistakes are coming rapidly: 1. Caused by: com.objectdb.o._JdoObjectNotFoundException: Entity is not found: eu.extech. data .versioning.ProductVersionHistory#3669

Strange Error with Criteria API and Sorting

("objectdb:db/test.tmp;drop");   EntityManager em = emf.createEntityManager();   // Add some data

UTF Error

a test 2.8.5_06 server on the database file. When accessing the data with 2.8.5_06 client

JQL-Update Queries fails with activated L2-Cache

cache (the persistence context). But if the data is also cached in the L2 cache it may not help. Use

Unexpected exception

I'm evaluating object db, but, when I tried to persist some data got an error with no useful information:   [ObjectDB 2.8.2] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1.8.0_232 (on Linux 3.10.0-957.27.2.el7.x86_64). Please report this error on https://www.objectdb

File lock exception on odb$

affected as the dbs were empty anyway but I'm a bit worried about data loss if & when this is not

unclear syntax for update query

the syntax for selective update is unclear as the syntax in the documentation seems to be wrong. Query Update Action Set transferred = 0 where a.objectsInCharge.nodePath like "/(PR)W4455NS01 ... ===================== Unexpected query token 'a' Update Action Set transferred = 0 where == a

evalution limit error on digital ocean ubuntu

Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code. Caused by: com ... .objectdb.jpa.EMImpl.persist(EMImpl.java:434) Bharat Bharat Usually this is the result of setting

Unlimited JPA Persistable Types

Ashton Hogan Actually you can persist any Serializable type by setting the configuration ... configuration. Is there a way to do the setting via a Java configuration by any chance? Why won't Thread behave

Query Execution Error

')).debitor=true)))) BTW - should null pointer exceptions EVER happen if query access not set fields or