About URL

forum_thread

Can't post on your forum

Since yesterday, I can't post on the forum because it always says that I should log in in order to do that. I was already logged in, but, anyway, it appeared as not. I go to log in, then I authenticate, then I'm redirected to the home page, but it still looks that I'm not logged in, so I can't post on the forum. I tried removing the cookies, but nothing. I tried in another browser, but the same. I have new bugs to post, so it's pretty important. #1 2014-05-22 09:21 Since yesterday, I can't post on the forum because it always says that I should log in in order to do that. ...

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ...  and the explanation of the ;drop connection url parameter in the manual . About your other question - I will ...

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO.... be done simply by changing a single string (the connection URL), because the JDO API is the same for both modes. 1.3  ObjectDB ...

 
issue

File lock exception on odb$

Not sure if this is an objectdb issue or not but I thought I'd raise it just in case. We had a server failure which caused an unexpected reboot. As a result, the application services which use objectdb were not shutdown properly which in turn meant we had several odb$ files left behind. I had assumed that objectdb would reprocess these when the services restarted but instead we got the exception below. ... is : <property name="javax.persistence.jdbc.url" value="$objectdb://localhost:8080/db/guests.odb"/>   ... not the same problem, but just an error due to an invalid url specified. Your question was moved to this forum thread and ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... inactivity-timeout = "0" /> <url-history size = "50" user = "true" password = "true" ... /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> ...

 
forum_thread

Failed to validate XML

[ObjectDB 2.6.7_05] javax.persistence.PersistenceException Failed to validate xml file /{erased-by-me}/tiro/lib-core/build/resources/test/META-INF/persistence.xml: (error 211) at com.objectdb.jpa.Provider.createEntityManagerFactory(Provider.java:88) at com.objectdb.jpa.Provider.createEntityManagerFactory(Provider.java:32) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)... <property name = "javax.persistence.jdbc.url" value = "testing.tmp;drop" /> <property ... 'UTF-8'   repositories { maven { url "http://m2.objectdb.com" } }   dependencies { ...

 
forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ... /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...

 
forum_thread

Speed of queries that return many objects

Hi, I have a DB of 146MB - with 1_000_000 elements. Loading the contents (objectDB query in java) takes about 10sec. I am using a recent MacBook (SSD blabla - disk I/O speed is about 400MB/sec - according to blackMagicTest app for mac) - so I was expecting the query to take less than one sec (146/400 = 0.35sec.. + some overhead). I was wondering if this kind of speed is "normal", or if this is something I should investigate. Thanks EKK ... http://localhost:8080/hello - Run query with URL:  http://localhost:8080/1/age => If you try this on ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ... />   <!--   <replication url="objectdb://localhost/test.odb;user=admin;password=admin" />   ... <network inactivity-timeout="0" />   <url-history size="50" user="true" password="true" />   <log ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... /> <!-- <replication url="objectdb://localhost/test.odb;user=admin;password=admin" /> --> ...