About in

forum_thread

Class loading problem with private packages in OSGi environment

Our Business Objects are the JPA entities. We develop our product domain driven. This means we have several domains. Each domain is split into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The business layer should have no dependency down (an exception is the dependency to the ObjectDB for the enhanced entities).  The persistence Layers have a dependency to the business layer and to the central DataAccess Layer.... So far everything well. But now we have in the Business Layer private packages that are not exported. The entities ... for us is that we find a solution that always works in the future. edit ...

 
forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no ... 9th entity)   If we execute queries in the explorer we observed the following: "select x from ... 11:50 The data in this database is probably fine, but apparently the Explorer is missing a ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. ... 08:40 Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our ...

 
forum_thread

Configuration and Activation Code in ObjectDB 2.x

Hi ,   I would like to update the ObjectDB from 1.0 to 2.3.7_25. I used the License key for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using <activation> tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB.conf file, we are just using setProperty method to set the different property e.g. properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); ... odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using <activation> tag in the objectdb.conf file. In 1.x objectDB, we are not using any ...

 
forum_thread

objectdb explorer in ver 2.2 and 1.0

Hi   In first step  I have evaluated JPA API now I'm testing JDO API and I'have spotted that object explorer has lower functionality than in ver 2.2 eg garbarage collector or xml import/export functions are missing, could You explain why?   br Tomasz ... 15:57 Hi   In first step  I have evaluated JPA API now I'm testing JDO API and ... spotted that object explorer has lower functionality than in ver 2.2 eg garbarage collector or xml import/export functions are missing, ...

 
manual

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values.... Most JPQL queries use at least one comparison operator in their WHERE clause. This page covers the following topics: ... supports two sets of comparison operators, as shown in the following table:   ...

 
forum_thread

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on localhost. When I try to persist the entity I'm getting the  javax.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136/technolink.odb;user=admin;password=admin exception in the Karaf log. ... a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB server and Karaf running on ...

 
manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... without indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if ... be executed quickly. Index management introduces overhead in terms of maintenance time and storage space, so deciding which fields to ...

 
forum_thread

Path in tomcat

Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db when I use Undeploy tool. TIA ... .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? When I debug the Eclipse web project, I ... .jar into /opt/Tomcat/lib/, then where the .conf should be in? And the .odb? See explanations about ObjectDB home and ...

 
forum_thread

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state","subType","type"}) and an index for the OneToMany @OneToMany(fetch=FetchType.LAZY) @Index  public List<ObjectNode> objectsInCharge = new ArrayList<ObjectNode>(); on running a query like ... ) .   [ Step 1c ] Retrieve fields in Action ( a ) instances.   [ Step 1d ] ... Iterate over all the instances ( a1 ) in a.objectsInCharge.   [ Step 2b ] Retrieve fields in ...