About URL

forum_thread

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the retrieved list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed. What is the problem? ... inactivity - timeout = "0" / > <url - history size = "50" user = "true" password = "true" ... \d b-files" / > < !-- <replication url = "objectdb://localhost/test.odb;user=XXXXX;password=XXXXX" / ...

 
issue

ObjectDB can't be activated

Hello, we are trying to activate objectdb on a virutalized debian 7 server, but do not have any success. Steps we made to activate the server: ... wrote in the last reply i did that. Opening the generated url shows the same activation key. Maybe your activation server is broken? ... us via email.   Here is the generated URL for activation, maybe that helps you. ...

 
release

2.0.2

... Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code enhancement in ...

 
release

2.0.3

... Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code enhancement in ...

 
forum_thread

Maven host down?

Hi, Something is wrong with ODB maven repository. I was trying to update / resolve dependency for new ODB build and m2.objectdb.com seems to be down. Can you check this please? Thanks. #1 2012-12-19 10:59 Hi, Something is wrong with ODB maven repository. I was trying to update / resolve dependency for new ODB ...

 
forum_thread

openejb jpa jaas module

    hello , i've finished jpa jaas module. Here it is :   package com.bayner.auth; import com.bayner.jpa.Principals; import com.bayner.jpa.UserInfo; import com.bayner.jpa.UserPrincipal; ... ( ( String ) options. get ( "url" ) ) ; entityManager = entityManagerFactory. ...

 
forum_thread

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: ... same amount of CPU and memory. I'm calling the same url in benchmark, so most of the data should be in cache. ODB and Tomcat are on ...

 
issue

objectdb.home for client/server

Currently, we do need to manually setup the objectdb.home property eventhough we're working on client/server mode. However, without setting this in our client, he complains about the missing objectdb.conf. Why is this required? Can't the server deliver it? Most of the time we do not even know where our object db home is located at as we might have multiple server instances running on multiple machines so all we do really need to supply should be the server connection url and no objectdb.home..   Alex ... do really need to supply should be the server connection url and no objectdb.home..   Alex ...

 
forum_thread

OneToMany and cascade delete problem

Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... class is not perfect, but in my application Offer contains URL of product that I can parse for price. But this is not important here :) ...

 
forum_thread

Using a file extension other than .odb

I love that ObjectDB's implementation of Persistence.createEntityManagerFactory(...) treats a parameter ending in .odb as a file name rather than a persistence unit name.  It makes opening a DB in my app as easy as selecting it from a file chooser. However, I wish that I could use a file extension other than odb.  Since this functionality is already non-standard, why not allow it?  Perhaps any string beginning with "file://" could be treated this way. ... version 2.2.9 you can use other extensions, as long as the url starts with objectdb: For example: ...