About path

release

2.4.7

... #48 ). Fixed a bug in compilation of path expressions in queries. Fixed handling null  values in JOIN and path expressions in queries. Fixed a possibly very slow query ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> ... port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication ... = "6138" max = "100" /> <data path = "$objectdb/db-files" /> <replication url = ... enabled = "true" sync = "false" path = "." mode = "write" /> Logs from the master and ...

 
forum_thread

SSL Problem

Hello, I have a problem to use the server with ssl. I have created the certificate using this command: keytool-genkeypair-dname "cn = Mark Jones, ou = JavaSoft, o = Sun, c = U.S."-alias business-keypass kpi135-keystore-storepass mykeystore ab987c-validity 180 Then I put in the configuration file objectdb: ... enabled = "true" > <server-keystore path = "$objectdb/ssl/mykeystore" password = "ab987c" /> <client-truststore path = "$objectdb/ssl/mykeystore" password = "ab987c" /> ...

 
issue

huge heap usage

we are using objectdb 2.7.2_6. At a custumer we have huge problems with the memory consumption (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? Bug Version: 2.7.2 Priority: Normal Status: Closed Replies: 6 Type:  Bug ...

 
forum_thread

Slow performance on Mac

- This code is tested on Windows and Mac. Windows is working great, Mac is very slow (read is 11 seconds on Mac, and 100 milliseconds on Windows). - Application is using Spring Boot console application (for JPA implementation) - MacOS Sierra 10.12.3, Core i7 CPU, 16GB RAM, SSD drive java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)   Running sample jar: ...   java -jar demo-0.0.1-SNAPSHOT.jar write /path/to/file.odb - To read data (write): ... -jar demo-0.0.1-SNAPSHOT.jar read /path/to/file.odb   Attached: - JAR file ...

 
forum_thread

Problem with @UniqueConstraint

It seems there is a problem with @UniqueConstraint. Same annotations using hibernate works fine - an error will be thrown - duplicate name. ObjectDB - no exception will be thrown. with best regardsPeter... ) * 1000000 ) ; String PATH = "c: \\ temp \\ test_" + r + ".odb" ; ... Persistence . createEntityManagerFactory ( PATH ) ; EntityManager em = emf. ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> <processing cache = ...

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> <locking version-check ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... IOException parsing XML document from class path resource [test/LazyLoadingTests-context.xml]; nested exception is java.io.FileNotFoundException: class path resource [test/LazyLoadingTests-context.xml] cannot be opened because it ... omitted Caused by: java.io.FileNotFoundException: class path resource [test/LazyLoadingTests-context.xml] cannot be opened because it ...

 
forum_thread

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook\nbproject\build-impl.xml:1050: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 2 minutes 13 seconds)   ... the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started ...