ObjectDB Database Search

101-150 of 191 results

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

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

newbie - lots of exeptions

Hi  I'm very new to objectdb . I have bought a server and really want to use it. Our code works well with eclipselink and postgresql - until we stress it which is why I'm trying to get objected to work. realy wierd things are going on ... we are using hessian to connect our remote clients

How to restore the offline backup

!!! ayugoyal13 Ayush Goyal Close all connection to the database (close the EntityManagerFactory), restore, open it again. support Support

Memory Leak in EntityManagerFactory ?

an EntityManager  in the connection pool of a live E ntityManagerFactory , where that EntityManager

multiple different applications access one odb file

addon connects to the odb file, could it be adapted to make queries to the database. The customer

Beginners questions

the connection between these two tables correctly or not. 3.2. Both POJO-s extend my own class "Pojo.class

Error when I switch to server mode

I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after connecting and doing some db operations I got this: [ObjectDB 2.0.3_04] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_21 (on Windows 7 6.1

Embedded and autosync

For a POC, we are considering using ObjectDB. The app is multi-threaded, multi-user, rest API service with UI. Let's say we want to deploy our app across 10 linux boxes and instead of each of these boxes connecting to a shared remote RDBMS we want them to each have an embedded ObjectDB

Intermittent Server Shutdowns Due to Out of Memory (OOM) Issues

could be clients that do not close their connections to the server (i.e. closing the EntityManagerFactory

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

is a pain, everytime we start it it connects directly to the database and then we have the access error

Compare old and new schema

to the classloader and get information about the new schema. I have tried to connect to the "old" db

Failed to synchronize replicated database

. Should it work that way? Or are we supposed to start them both before allowing clients to connect the master

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Connection (7)-192.168.120.56] (TRDatabaseServiceImpl.java:286) - Remote user emil executing DB update

Accessiblity of attributes in entities in several OSGi-Bundles

another concurrent transaction that cannot yet see the operations of the first transaction. The connection

Objectdb server out of heap space

a whole to die because of lack of memory:  refusing connections and failing individual requests

Separate ODB files API

Customer asked during opened ObjectDb connection (ODB location A) to stop writing and continue to another ODB file (Location B). Does exist some API to achieve that? What is a possible solution? Harman Alexander Golyshkin You have to close the database in location A, copy it from location

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File-Open C/S Connection -Browse...). Thanks for help! skolb Sebastian Kolb There is an undocumented method, which is indeed in use by

How to define database structure and insert some initial objects from scratch

;   // Open a database connection         // (create a new

client server set up and load

Hello All, Can objectdb handle client - server connections from over 200 users? Can it be efficiently used in client-server mode? Code examples where possible will be appreciated. Thank you. Regards kaybel ebele ObjectDB can handle concurrently 200 users (or more). The maximum load

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

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

ObjectDB 2.6.5

of connections specified in configuration. Fixed optimistic lock exception on removing of a flushed modified

ObjectDB 2.3.2

Fixed a bug in "p.id IN :ids" queries. Fixed a bug in handling NOT =  queries ( issue #536 ). Fixed ClassCastException and NullPointerException in using a composite index in queries ( issue #531 ). Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed

objectdb.home for client/server

machines so all we do really need to supply should be the server connection url and no objectdb.home

database corrupt

happening always at the same customer. As this customer has 1000 of our apps + around 100 connected

each 1-2 days objects on some objectdb level lock/block each other

/server interaction is running through a webSocket connection that is save against sending before q reply