ObjectDB Database Search
51-100 of 200 resultsRetrieving Metamodel without connection Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails ... until i restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB | |
multiple connection using share folder multiple system it shows failed to connect to server prateek Prateek gupta ... address or host name of that computer. Access the database using a full url connection including | |
ODBC - How to create a DSN connection in Window Hi, is there a way to set DSN of ObjectDB in windows for excel data analysis? 搜索 复制 gzdillon Lai Yang You can use the connection URL , including protocol, host, port, path, username and password (when applicable) as DSN of ObjectDB databases. However, ObjectDB does not support ODBC or JDBC | |
ObjectDB Server Connection Permissions It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections . This would be beneficial when providing specific raw data where additional business logic is not required. I suppose | |
Cannot connect with client Hello I am unable to connect to my remote DB due to this error. What is the meaning, and how to solve it? Please see attached. Trianglehead Json Error Make sure that the same ObjectDB version is used on both the server side and the client side. support Support I'm pretty sure | |
Number of current connections Is there any way to find out the number of current connections to the DB server? natmaclin Natalia Levine Currently not. You may subscribe to this feature request and update it according to your needs. support Support | |
explorer fails to connect to embedded server since a while it is not more possible to connect to our running application with the explorer as we did it before. The error message as shown in the picture appears hgzpincher Hans-Georg Zwicker Usually this error indicates using an Explorer version that is not compatible with the ObjectDB version | |
Safe to monitor listening port by connect/disconnect? I wish to monitor our instances of ObjectDB using an automated tool that simply connects and then disconnects from the ObjectDB listening port once per second (frequency is configurable). Will this cause any issue with the normal operation of ObjectDB? CAPdev CAP Dev It should be fine. support Support | |
Connection performace after upgrade to objectdb 2Connection performace after upgrade to objectdb 2 | |
Invalid/Missing licence when connecting, however correct licence is definitely presentInvalid/Missing licence when connecting, however correct licence is definitely present | |
ObjectDB is opening too many sockets with opened DB connections as we are monitoring them, and they are staying under 20. thamal Tomas Hamal If you open connections (create EntityManager / PersistenceManager instances) without closing ... , it is related to the connection to much Let's look on the results of lsof command for ODB Server process, from | |
EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable; which generates the following exception below. What am I doing wrong? It appears the connection manager fails ... to connect to server 10.9.2.15:9999 ( Connection refused: connect ) (error 522) at com.objectdb.jpa ... .UserException: Failed to connect to server 10.9.2.15:9999 ( Connection refused: connect ) at com | |
Query problem after transaction commit I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records ... [Remarks] 01 Test_ Connection : connecting 02 Test_ Connection : connected 03 UI: start query [query | |
Can not connect to replication node Hi, I tried to connect the database server using uri.. However the program emits error saying that no such Provider.. The code is below: var uri = "objectdb://10.11.12.3:6136/asli-webmapper/accesslog.odb;user=asli-webmapper;password=admin1"; var emf = Persistence.createEntityManagerFactory(uri | |
InterfaceRef jakarta.persistence.EntityManager EntityManagerFactory Since: JPA 1.0 The Database Connection using JPA article explains how to use EntityManager ... and return its result using the database connection underlying this EntityManager . Usually, the connection is a JDBC connection , but a provider might support some other native connection type | |
InterfaceRef jakarta.persistence.ConnectionConsumer JPA Interface ConnectionConsumer Type Parameters: - the connection type, usually {@code java.sql. Connection } An executable action which makes use of a native database connection . The connection is usually a JDBC connection . See Also: ConnectionFunction EntityManager.runWithConnection Since: JPA 3 | |
InterfaceRef jakarta.persistence.ConnectionFunction JPA Interface ConnectionFunction Type Parameters: - the connection type, usually {@code java.sql. Connection } A function which makes use of a native database connection to compute a result. The connection is usually a JDBC connection . See Also: ConnectionConsumer EntityManager.callWithConnection | |
EntityManager.runWithConnection(action) - JPA Method; ConnectionConsumer action ) Execute the given action using the database connection underlying this EntityManager . Usually, the connection is a JDBC connection , but a provider might support some other native connection type, and is not required to support java.sql. Connection . If this EntityManager | |
EntityManager.callWithConnection(function) - JPA Method; ConnectionFunction function ) Call the given function and return its result using the database connection underlying this EntityManager . Usually, the connection is a JDBC connection , but a provider might support some other native connection type, and is not required to support java.sql. Connection | |
How to change properties in urls2.xml?. ( Tomcat says " Connection refused" ) Thanks, Xirt xirt Sylvain You may disable the url history ... ; urls2.xml file. Information is written to that file just to enable opening recent connections easily in ... . to run a database in embedded mode and still connect to it in client-server mode? support Support | |
Failover from Master to Slave to the replicated database by changing connection url, i.e. by connecting to the replicated database using its own url. In that case, the new connection is an ordinary connection that is not limited to read ... persistence unit. During execution/runtime, ObjectDB client picks the connection that represents | |
Pessimestic Locking doesn't release when application unexpectedly terminates.; Is there anyway the server can detect that a client (lock owner is no longer connected ... another feature - automatic resuming of a failed connection by the client. Currently in case of a failed connection the server can still accept requests for reconnecting in a transparent way | |
Login Error (bad username 'admin' or password) I am getting following error when i am trying to connect to server: [com.objectdb.o ... :132) at java.lang.Thread.run(Thread.java:662) Here is my connection string:   ... when i use localhost in the connection string. Any help will be appriciated! peric.emil Emil | |
ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType store( Object instance ) { PersistenceManager pm = connect () def transaction = pm.currentTransaction ... .main.logException( "com.epimss.lab.db. Connection .store(instance)", e ) } finally { if( transaction ... another instance, it tells me that there is another connection to the database. If I restart | |
Master database switching to read-only mode, possibly caused by slave failure] javax.persistence.PersistenceException Connection is closed (error 526) at com.objectdb.jpa.EMImpl ... ) .............................................................. Caused by: com.objectdb.o.UserException: Connection is closed at com ... mentioned, our clients are not configured to connect to slave at all. Also, the GC issue started | |
Eclipse plugin problem (using ObjectDB as a separate bundle).callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.epimss.lab.db. Connection .store( Connection ... ; new Connection ( ISharedPreference.DB_OBJECTDB, "admin", "admin" ).store ... .clarke St Clair Clarke OK. It runs now. Second search fails with: com.epimss.lab.db. Connection .store | |
Best setup for huge amount of transactions Hi, let's say I have: one Manager object and 100-10,000 Connection objects with the Connection ... connection are writing to the same entity (Device). How can I improve the performance? Currently I ... should have an EntityManager per Connection (but this would be up to 10,000 open EntityManagers). Then I use | |
Modifying something with Explorer -> app JPQL with Enum doesn't work anymore the change, close ObjectDB's connection , and run the project again. Important : do all that until a new number is printed. There is a 1 minute delay set. The same as 1, but keep ObjectDB's connection open ... this, it seems that the problem appears. So maybe Explorer disturbs something when connects , or there is a problem | |
Open several objectdb databases the same time but also starts an internal server, and additional processes can connect the that database using regular embedded mode API, but actually these additional database connections are implemented as client-server connections . support Support What about database access performance (read/write speed | |
using DbUnit with ObjectDb connection .. with other providers it's possible to extract the jdbc connection from the EntityManager ... connection = new DatabaseConnection(((EntityManagerImpl) (em2.getDelegate())).getServerSession ... to have a method that would return a connection . freddieFishCake Jonathan Lister Currently ObjectDB | |
Feature Request for database.obj$ file a write (or flush) from the database.obj$ file to database.obj during an opened database connection ... (or flush) from the database.obj$ file to database.obj during an opened database connection ... but short-lived EntityManager connections . Check if you have an EntityManager that is open | |
EntityManagerFactory objects being locked during EntityManager creation, the locking thread's stack trace indictes a slower operation of creating a new connection to the server. Possible directions you may consider: Increasing the size of the connection pool to reduce the need for new connections . managing your own pool of unused EntityManager instances (the ObjectDB pool | |
Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project to obtain a connection from a closed EntityManagerFactory at com.objectdb.o._PersistenceException.b ... a connection from a closed EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.OMF ... : Attempt to obtain a connection from a closed EntityManagerFactory at com.objectdb.o | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x steps 1. Update the package.jdo with an index defined 2. Convert the old odb file 3. Connect ... the old odb file 3. Connect to database, basically created a Persistance manager object for odb file ... file 3. Connect to database, basically created a Persistance manager object for odb file 2.x 4. Close | |
Using explorer with a live embedded db an error when trying to connect : "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. Is still supposed to work | |
How force always recreate database on redeployment. You should be able to drop the entire database if its file is not locked by Glassfish. See the connection ... : Connection URL Parameters To obtain a connection to an empty database (discarding existing content if any ... getting it to work. My connection URL in persistence.xml is: I run the server from /usr/local | |
ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)) for every packet grabbed which connect to an OpenDB database to add or update relevant entry's ... actor opens a connection to the database, does what it needs to do, and then closes the connection ... that the maximum allowed simultanious connections is not exceeded. Same problem Can someone please help | |
Groovy JPA example DataSource.groovy to connect to the ObjectDB database? As far as I gather, ObjectDB doesn't ... , so you cannot configure a JDBC based data source. You can connect ObjectDB from Groovy as specified in #1 above, or ... ), and it will be ignored, as long as the connection to ObjectDB is properly set in a persistence.xml | |
Type ... is not defined as an entity (@Entity is missing) (error 302) Hello, I am using ObjectDB 2.2.8_08 with eclipse 3.6 and Groovy objects. I am attempting to persist an instance of CultureRqst in the project com.epimss.lab by using a Connection class imported from ... .admin.db. Connection .store( Connection .groovy:579) at com.epimss.admin.db. Connection $store.call(Unknown | |
Lock prevents PersistenceManager.close when retainValues = false) Client VM (25.151-b12 mixed mode): "RMI TCP Connection (6)-192.168.1.142" - Thread t@24 java.lang.Thread ... Connection (5)-192.168.1.142" - Thread t@23 java.lang.Thread.State: RUNNABLE at java.net ... : - None "JMX server connection timeout 18" - Thread t@18 java.lang.Thread.State: TIMED_WAITING at java.lang | |
InterfaceRef jakarta.persistence.EntityTransaction JPA Interface EntityTransaction Interface used to control transactions on resource-local entity managers. The EntityManager.getTransaction method returns the EntityTransaction interface. Since: JPA 1.0 The Database Connection using JPA article explains how to use EntityTransaction . Public Methods | |
InterfaceRef jakarta.persistence.EntityManagerFactory. See Also: EntityManager Since: JPA 1.0 The Database Connection using JPA article explains how to use | |
PersistenceConfiguration.transactionType() - JPA Method JPA Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType () The plain. If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via () , or by the container. If PersistenceUnitTransactionType.RESOURCE_LOCAL , database connection | |
ClassRef jakarta.persistence.PersistenceConfiguration. If PersistenceUnitTransactionType.RESOURCE_LOCAL , database connection properties may be specified via () , or a non-JTA datasource | |
ClassRef jakarta.persistence.Persistence environments. Since: JPA 1.0 The Database Connection using JPA article explains how to use Persistence | |
ObjectDB BIRT Driver Update(ConfigurationElementHandle.java:55) at org.eclipse.datatools. connectivity .internal.InternalProfileManager.initializeLocalDatabase(InternalProfileManager.java:1380) at org.eclipse.datatools. connectivity .internal ... . connectivity .internal.InternalProfileManager.loadProfiles(InternalProfileManager.java:1070) at org | |
Memory leak in com.objectdb.o.CST instances mistake. Regarding the CST instances, these are connections to the database. Please check if every created EntityManager instance is closed. support Support If there is connection pooling ... ? Trianglehead Json Error You are right, these objects may exist also in the connection pool | |
Query fails with failed to read the explorer in client/server mode connecting to the database via our core module (which is using ... ObjectDB from explorer with the C/S connection on port 3333 hgzwicker Hans-Georg Zwicker Connection ... below: we can reproduce the behaviour: - we opened explorer and opened a client/server connection to our embedded | |
Monitoring and Performance counters Here are additional ideas from the Server connection management forum thread: # of open connections to server for each open connection , see: database name that it is connected to Client username and IP address Also, a command to force any or all connections closed would be great. Any idea for other useful | |
stress test -> com.objectdb.o.InternalException: null the connector? (the code that connects to ObjectDB - (which is still part of your code)) com.objectdb.o ... its connection to the pool. Then to ObjectDB (on the just closed EntityManager ) that had to commit changes using the connection (which has already been moved to the pool and could be allocated |