ObjectDB Database Search
101-150 of 200 resultsHow to use ObjectDB properly in spring boot application? 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 ... message when I run after mentioned modifications: Failed to configure a DataSource: ' url ' attribute | |
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 | |
Convert embedded database to server your application using a client-server connection url . support Support Thank you support for your answer. What are the pros and cons between an embedded database ( with remote connection enabled ) and a real ... be available when the application closes its connections to the database or stopped. In | |
Objectdb Server Mode set up with glassfish. The only difference is the database connection url . If specified in the persistence.xml a client-server url could be specified as follows: My Persistence Unit   | |
lockfiles in client/server mode is defined in src/main/webapp/META-INF/persistence.xml with a jdbc URL that looks to me as though it ought to connect to the server rather than attempt to start in embedded mode. i have also tried creating the EMF with the explicit URL . when running `mvn test`, the exception is: java.lang | |
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 | |
Explorer in 2.3, threads, query-cache, memory usage, etc...) to use for tuning b. Show all database connections ... . Auto-login of last opened (remote) database puts the full URL into the Database Path field ... 'recent connections '. 2. When editing a field in an @Embedded object, I get an error message | |
Replication failed Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 ( Connection refused) (error 522) at com.objectdb.jpa.EMF | |
Bulk Delete and Update - best practice?, would be more efficient. drop in the connection url should work also in server mode if the database is not in use by ... the connection string in other circumstances but I need a method that can work in both embedded and server | |
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 : url : 'objectdb://localhost/testStorage1.tmp;drop;user=admin;password=admin' suggestions? David ... is not connected to the database. ie: If explorer is connected to a c/s database then it is not | |
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 | |
OneToMany and cascade delete problem contains URL of product that I can parse for price. But this is not important here :) The main ... , all " connected " offers are also removed (cascade). After that, when I iterate over offers in store | |
Compare old and new schema to the classloader and get information about the new schema. I have tried to connect to the "old" db ... hierarchy to compare with. To do so, I create a new URLClassLoader with a URL pointing to the folder | |
Not able to update records your views on the same. n126961 Sandip Here Constants.DATABASE_FILE_CLIENTSERVER_MODE is the connection URL . n126961 Sandip As per my knowledge I have already tried all known things. Waiting for reply. I | |
unable to update table in slave server database between the slave and the master by your application, by connecting to the slave directly ... . As slave database is storing data in replication path ,while we are giving replication url as | |
Is there a function of "drop table" or "delete from table"? extensions. See this forum thread and the explanation of the ;drop connection url parameter in | |
Database size is much larger than expected (x2) @ 8042217472 id = 0 @ 7703244276 Url = http://cimg2.163.com/catchpic/E/E9/E96492634557CE291CDF3AADC710F373.jpg NO = 155648 @ 8042217472 id = 0 @ 8016831165 Url = http://pic.tiexue.net/pics/2005_10_19_99028 ... @ 15621180 Url = http://www.jspet.com.cn/UploadThumbs/200459214931523.jpg NO = 512 @ 8042217472 id = 512 | |
multi EntityManager with Spring Boot, but 'Too many persistable types (>10).persistence.jdbc. url }") public String url ; @Value("${javax.persistence.jdbc.user}") private String user ... props = new Properties(); props.put("javax.persistence.jdbc. url ", url ); props.put("javax.persistence ... public class JpaConfig2 { @Value("${javax.persistence.jdbc2. url }") public String url ; @Value("${javax | |
Drop the entire database, Change the schema ;drop as a url parameter: EntityManagerFactory emf =   ... ; On the other hand the URL would work just as well for me and is in some senses clearer and more transparent... I ... database file by adding ;drop to the url : EntityManagerFactory emf | |
Glassfish 3.1.2.1 and ObjectDB 2.4.3 - which one are you running? Please specify the url that you are trying to access. What tools are you using (IDE ... Support OK, I run the NetBeans/JPA Java EE 6 Guestbook with following url : http://localhost:8080 ... on JMXService URL service:jmx:rmi://aliph3:8686/jndi/rmi://aliph3:8686/jmxrmi INFO: Initiating | |
virtual servers and one file_SpellingAlternatives.style.behavior = (state == "activate" ? " url (#default#BabyBtn)" : ""); BABID ... .Microsoft.BasicImage(opacity=.5)"); BABID_SuggestLingoz.style.behavior = (state == "activate" ? " url ... .BasicImage(opacity=.5)"); BABID_OnlineGlossaries.style.behavior = (state == "activate" ? " url (#default | |
Catching exceptions from online backup_SpellingAlternatives.style.behavior = (state == "activate" ? " url (#default#BabyBtn)" : ""); BABID ... .Microsoft.BasicImage(opacity=.5)"); BABID_SuggestLingoz.style.behavior = (state == "activate" ? " url ... .BasicImage(opacity=.5)"); BABID_OnlineGlossaries.style.behavior = (state == "activate" ? " url (#default | |
JSON serialization and __odbHidden members; " url ": "user/reguser" }, "lastActivity__odbHidden":   ... NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0", " url ": "user ... ", " url ": "user/reguser" }, // and so on So the problem | |
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 | |
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 | |
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 | |
_PersistenceException: Failed to open file is : What could be the problem? my best regards hussamcs Ibrahim Hussam The url that you were trying to use ... ObjectDB home directory. Your url should be: "objectdb://localhost:8080/db/guests.odb" and not "$objectdb://localhost:8080/db/guests.odb" support Support | |
Gradle-Kotlin Code Contributions") } repositories { mavenCentral() // Custom Maven repository maven { url = uri("https://m2.objectdb.com ... () // Custom Maven repository maven { url = uri("https://m2.objectdb.com") } } dependencies { implementation | |
JPA 2.1 and AttributeConverter own adapter for storing property, which is File and URL class. Bot01 Frantisek Novak You can use a transient field for the File or URL and convert it from/to byte[] or String in JPA lifecycle events methods | |
Glassfish 4 JTA Data Source Support urls can be specified either as a virtual persistence unit name, or using the "javax.persistence.jdbc. url " property in a real persistence unit. Note that JTA is supported by ObjectDB but JDBC is not | |
Eclipse/JPA database tutorial This URL is not expected to be valid. Could you please upload the project? What version of Eclipse ... . Then the application should work on url : http://localhost:8080/Guestbook/GuestServlet A fixed | |
Modifier operations. So for example we have class: public class WebVisit { public String url ; // key public int visitsCount; } As for now I have to pull this class from database: WebVisit visit = em.find(WebVisit.class, url | |
Netbeans-Friendly Javadocs Is there a .jar or URL that I can use to get javadocs that work within Netbeans code prediction popup boxes? I tried attaching the URL : https://www.objectdb.com/api/java/jpa/EntityManager to the EntityManager object in Netbeans but it gives me the error: Javadoc not found. Either Javadoc | |
Remove not working(String[] args) { String url = "objectdb:$objectdb/db/test.tmp;drop"; EntityManagerFactory emf = Persistence.createEntityManagerFactory( url ); EntityManager em = emf.createEntityManager(); em | |
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 | |
How to change properties in urls2.xml ? is autogenerated by objectdb. And it describes the locals databases url and their port / user / password ... properties ? Adding ?port=XXXX at the end of the persistence.xml database local url doesn't work. ( Tomcat says " Connection refused" ) Thanks, Xirt xirt Sylvain This is neither a bug report nor a feature | |
File lock exception on odb$ tried to upload the databases to the ftp site but I'm unable to connect - is it still available with the same connection details? felixobjectdb Richard Szurgot Ok, the ftp problem was on my end ... an error due to an invalid url specified. Your question was moved to this forum thread and answered there. support Support | |
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 | |
ObjectDB 2.3.4 ). Fixed a page cache purge deadlock ( issue #559 ). Fixed handling ;drop in client-server connection url . Fixed performance issue ( fetch optimization ) in range queries. Fixed cached result size | |
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 | |
docker documentation) piped.println( ) piped.write(13) piped.flush() } } Now here's the strange bit, the license url truncates some of the output! for example, here is the correct url when the activation ... $,(the rest ommited as it's the same) but when done with the above program, the url is: http://www | |
ObjectDB can't be activated. support Support As i wrote in the last reply i did that. Opening the generated url shows the same ... , not the one you sent us via email. Here is the generated URL for activation, maybe | |
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 |