About connection

release

2.3.4

... ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch optimization ) ... Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed a NullPointerException on using a ...

 
forum_thread

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] ... [ ] args ) { String $connection = "objectdb:db/TestLazyOneToMany.tmp;drop" ; ... Persistence . createEntityManagerFactory ( $connection ) ;   EntityManager em = emf. ...

 
forum_thread

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. ... on the entity manager factory and this initiates a connection to the server with username and password "anonymous".  If i add ... that ObjectDB manages the Metamodel , which involves a connection to the database. In obtaining that connection outside an ...

 
release

2.3.5

... ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch optimization ) ... Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed a NullPointerException on using a ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... SSL Error: Unrecognized SSL message, plaintext connection? [ObjectDB 2.6.5_01] 21 SSL mode server stack trace: ... >   <server > <connection port = "xxxx" max = "100" /> <data ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... </schema> <server>   <connection port="6136" max="100" />   <data path="$objectdb/db" ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); ... object for odb file 2.x 4. Close the database connection 5. Run the doctor and finally, after running the ...

 
forum_thread

LAZY @ManyToOne field functions as EAGER

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2]"cLazy"
 b.cEager:{C}[3]"cEager" ... [ ] args ) { String $connection = "objectdb:db/TestLazyManyToOne.tmp;drop" ; ... Persistence . createEntityManagerFactory ( $connection ) ;   EntityManager em = emf. ...

 
forum_thread

Drop in Client/server mode not working

Hi, can't seem to get drop to work in c/s mode: version: objectdb-2.3.5_04 config: <extensions drop="tmp" /> url: 'objectdb://localhost/testStorage1.tmp;drop;user=admin;password=admin'   suggestions? David   #1 2011-12-29 21:56 Hi, can't seem to get drop to work in c/s mode: version : objectdb-2.3.5_04 config :&nb ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365.... Page...  ( em ) that represents the connection (local or remote) to the database: em. createQuery ... instance and em represents a client-server connection then the backup file will be downloaded to the client and will be ...