ObjectDB Database Search
151-200 of 200 resultsBulk Delete and Update - best practice? the connection string in other circumstances but I need a method that can work in both embedded and server ... , would be more efficient. drop in the connection url should work also in server mode if the database is not in use by | |
-XMX settings recommendation The default is 256M what is the recommended settings based on? It is the size of the DB? number of connections ? If the DB has over 200GB of data and max connection of 400 then will I need to make this settings higher? Thanks. Trianglehead Json Error There is no magic | |
coonection pooling we have a single deployed application with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we use persistence.xml to define this connection | |
Database server with an application Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting | |
run several embedded systems on one server, problem with double used port specify a port as part of the connection url. This stack trace should not be generated if the configuration file includes the above line and no port is specified as part of the connection url (with the port= parameter). support Support | |
Schema Evolution Question must connect to ObjectDB before the restart or whether ObjectDB can be restarted while the client is down and then have the client with the upgraded schema connect . That is to say, is it valid | |
LAZY @ManyToOne field functions as EAGER static void main(String[] args) { String $ connection ... .createEntityManagerFactory($ connection );   | |
JOD problems regarding detachCopy() Hi, I am new to JDO and trying to get the PersistenceManager.detachCopy functionality working. I am using ObjectDB 2.8.3 I am 1-saving an object to the db 2-loading that object from the db 3-creating a detached copy 4-closing the connection 5-modifying the detached copy 6-re-opening the connection | |
How to retrieve the ObjectDB version number? Hi! We need the ObjectDB version for debug purpose/logging. Our project supports also EclipseLink - http://stackoverflow.com/questions/3493495/getting-database- connection -in-pure-jpa-setup With the Connection object the Database name & version can be retrieved. For ObjectDB | |
Start ObjectDB inside java code. = new String[2] ; test[0] = " connection port=6136 max=100" ; test[1] = "start";   ... command or argument: connection port=6136 max=100 (error 531) Am not sure this is the right place to ask | |
Have developer license but need to use license on private lan server how to ? Hi , i have nearly finished my project on my workstation.Which has license of objectdb activated because its internet connected . But now i need to copy my project to LAN server which is private LAN ... You can also run the activation process without an Internet connection . A link will be displayed in the console | |
Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2: Attempt to obtain a connection from a closed EntityManagerFactory at com.objectdb.o ... a connection from a closed EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.OMF.al | |
Replication issue, Replayer failing due to NullPointerException.. I cannot get an EntityManager connection to the slave DB though. I've tried stopping both servers ... there is something obvious I am doing wrong: Master Slave I'm using the following connection String | |
using objectdb.jar in writing data to mariadb or mysql db connections from over 200 users? Can it be efficiently used in client-server mode? Code exmples ... production (see this stackoverflow thread ) and can serve 200 or more concurrent connections in client-server mode. support Support | |
A distinguished Name for server or explorer is good for maintaining! stop it, I get this message: ./server.sh stop & [1] 8443 [ObjectDB 2.2.8] Failed to connect to server 127.0.0.1:6136 ( Connection timed out) (error 522) So, I need a name to kill | |
Drop in Client/server mode not working is not connected to the database. ie: If explorer is connected to a c/s database then it is not | |
Intermittent Exception "Attempt to update types in read only mode" can connect no problems and everything works fine. Replication between the DB's is working fine and I ... the issue everytime, i've checked the user I am connecting with has "Access" only and I would assume | |
Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany; String $ connection = "objectdb:db/TestLazyOneToMany.tmp;drop ... ; Persistence.createEntityManagerFactory($ connection );   | |
Using multiple databases Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g ... at the same time but each database connection requires a separate EntityManager / PersistenceManager | |
How to use ObjectDB properly in spring boot application? I have a spring boot application with objectdb embedded database. I am manually handling connection and transaction operations as described at https://www.objectdb.com/java/jpa/persistence ... in order to properly close connections . I want to refactore my application so that database | |
Sample JDO Architecture for Follow Up Questions PersistenceManagerFactory and a single PersistenceManager. * All connections to the server will be directed to the requested database. This means all same database connections share that database's single | |
javax.jdo.JDOUserException Failed to locate field field exampleField using reflection (error 363) by connected from null with clientID: null 2022-04-19 13:28:08,255 | ERROR | com.example.db ... ; connected from null with clientID: null 2022-04-19 13:28:08,255 | ERROR | com.example.db_utils.jdo | |
Error 363 - Failed to read value of inverse relationship = createEntityManager(); // create database connection   ... ; // create new database connection in order to cause exception   | |
Entity factory - best practices initiate a db connection by creating entity manager factory from db on disk, get the entity manager, modify stuff, close the connections . I wonder if it is better to have an overall db manager created | |
ODB IndexActivation NullPointerException Since we switch from ObjectDB 2.6.8_08 to 2.6.9_07, we get sporadic problems if we connected ... if the connection time to the database affects. If the database is closed before building the index | |
mapping file is not being loaded JDBC connection . The entity classes use no JPA annotations, as some of our internal | |
Filename.odb$ Persisting Issue statements) nor minimal (are 7 database connections really required to demonstrate the issue?).   | |
listening on a particular IP aside localhost I have being searching all around for how to do this but still no luck. I want objectdb to be able to listen in server mode to other connections from another machine where client is installed. I will like to have objectdb on machine A, while B,C, D can access the database in a using code like | |
Database is erased after deploying a new web application version the web-app is running, I have no intention of closing the connection to the database | |
JDeveloper Is there a tutorial or instructions as how to setup a connection in JDeveloper to ObjectDB? Thanks nat nat101 Nat Gross No, but you may be able to use the Maven examples (included in the ObjectDB download file) by importing them to JDeveloper. support Support ok. thanks. nat101 Nat Gross | |
Objectdb EntityManagerFactory problem one EntityManagerFactory per application, with multiple EntityManager instances for multiple database connections . support Support | |
Cascading makeTransient is to simply get an instance of an object from the database which is no longer connected in any way | |
Activation Issue and the office is, at home I'm on a wired connection , at the office I'm on wireless. Are you prehaps | |
General Performance Issues Illustrated with a Specific Method than 3 seconds, i.e. maybe less than 100ms. See the sentence after in #2, which is connected | |
Explorer doesn't open file Explorer doesn't open file...see attached error message and odb. Explorer doesn't cleanly close the connection either (due to error I presume). Many thanks Russ russ0ne Russell Martin Should add that Doctor doesn't find any issues and file works fine programmatically. russ0ne Russell Martin | |
OneToMany and cascade delete problem, all " connected " offers are also removed (cascade). After that, when I iterate over offers in store | |
Replication Question to the doc, the following code will always connect to the master unless the master goes down.  | |
ObjectDB within a resource adapter module and Java EE Connector Architecture database file name. Under http://www.objectdb.com/java/jpa/start/ connection it is explained | |
Online Backup in client-server mode to minimize the time that the database is locked for backup (e.g. when the connection between the client | |
huge heap usage Zwicker You can see the number of open connections by filtering by PMImpl : You can see that these connections are held by one EntityManagerFactory (EMF): support Support thanks, this helps pretty much hgzwicker Hans-Georg Zwicker | |
Server out of memory exceptions to something which is different in server mode - connection management seemed like a good place to start ... is connecting to quite a few databases so it may be that the problem boils down to the cache/config | |
Out of Memory - Slow leak? the "consumer" process is connected to 4 server-hosted databases and 9 embedded databases (the embedded ... . I had some trouble with the connection so its divided into a 4 part rar archive named java_pid5568 | |
New entity objects are duplicated on merge cascading $ connection = "objectdb:db/test.tmp;drop"; EntityManagerFactory ... .createEntityManagerFactory($ connection ); EntityManager em = emf | |
ObjectDB Service Issue Having an error on the service of ObjectDB. The user is unable to connect to the local machine but was able to connect to the server. AdonisV Adonis Please provide more details. ObjectDbService is not something that we provide. support Support | |
InternalException: null.java:617) at java.lang.Thread.run(Thread.java:745) Every worker thread has its own connection | |
UTF Error, so if this cannot be done now, you will have to wait with this upgrade until all the client that connect the server can be upgraded. support Support | |
objectdb seems to do explicit gc which leads to excessive CPU usage in our application with thousands of webSocket connections we are facing performance issues (excessive CPU load). We added -XX:+DisableExplicitGC to the JVM arguments and the situation is much better. As we do not do any explicit gc calls it seems that objectdb is doing so hgzwicker Hans-Georg | |
Server crash - Mismatch client-server protocol prefix both are result of a change in your system or upgrading an ObjectDB version? support Support The connection | |
ObjectDB 2.6.8 Added JPA XML validation schema files to Maven/JEE objectdb.jar. Added automatic release of pessimistic locks on client-server connection failure. Fixed an OptimisticLockException bug on commit after flushing a removed modified entity object. Fixed a NullPointerExeption on new index building | |
How to change properties in urls2.xml ?. ( Tomcat says " Connection refused" ) Thanks, Xirt xirt Sylvain This is neither a bug report nor a feature |