About activation code

forum_thread

coonection pooling

Hi, is it possible to implement a mechanism in object db which redirects a particular user to its database. For example we have an ObjecDB server with 100 databases. On our Jboss server we have a single deployed application with 100 users. Depending on the logged user it will connect to different database when quering the ObjectDB. can we use persistence.xml to define this connection routing or, according to this scheme http://www.objectdb.com/java/jpa/persistence/overview , EntityManagerFactory would be responsible for this operation. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
forum_thread

How to do an Offline Database Backup?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I desire offline backups.  I must close all connections, wait for current database activity to stop, and prevent new connections until the backup is complete.  How can I guarantee that a database is no longer being used?  I think I can do so by trying to call PersistenceManagerFactory.close(), and keep trying, until it no longer throws any JDOUserExceptions. ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

ObjectDB internal error on 2.6.5 for some query which worked on 2.6.4

Following query caused NULL pointer exception. Also this query worked fine on ObjectDb 2.6.4b6. SELECT $1 FROM Pa3DataKey $1  WHERE (LOWER($1.publicDataItems.get('Sender')) == 'test' AND LOWER($1.publicDataItems.get('RAT')) == 'lte' ) AND (($1.parentId IN (0)) AND ($1.keyDescriptor.name="MESSAGE" OR $1.keyDescriptor.name="CONTEXT")) ORDER BY $1.timestamp 1. Priority HIGH since affected customers. 2. Attached screenshot + database exampe ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Alias not used in ORDER BY

Hi, I am doing something simple like final Root<T> from = criteria.from(T.class) final Path<?> path = from.get("someStringProperty") final Expression<String> upperPath = builder.upper((Expression<String>) path); upperPath.alias("TEST"); criteria.multiselect(from, path); criteria.orderBy(builder.asc(upperPath)) I would have expected the alias to be used in the ORDER BY clause, something like ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Query execution causes an unexpected internal exception (Error 990)

We have the following exception, why our query fails? ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

JPQL support for mapped by (inverse) collections

As discussed and demonstrated in this forum thread, collection methods (IS EMPTY, SIZE, MEMBER OF, IN) are not supported for mapped by (inverse) collections.   ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Query Execution Error

This query ... in Explorer and Internal Exception in java client code. Please note that this one worked before but stopped working.. I'd be ... access again jeeze.. Well okay, anyway the error code (NullPointerException seems to occurr) isn't very helpful :( ...

 
issue

JPA Metamodel (JPA 2.0)

The JPA Metamodel API enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The JPA Metamodel API has a major role in defining queries using the JPA Criteria API.... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

Monitoring and Performance counters

After checking last patch from build 2.1.1_01, I started to think about some kind o monitoring tools in ODB. Those tools could look similar to MySQL 'show innodb status', where you can get some informations about how DB is doing. It would be nice to monitor: - inserts/s, updates/s, deletes/s, reads/s - total inserts, update, deletes, reads - I/O operations/s - caches current usage - uptime from last start - caches hit rate - total sessions from clients ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...

 
issue

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2 java.lang.ArrayIndexOutOfBoundsException: 2 at com.objectdb.o.UTY.aG(UTY.java:1275) at com.objectdb.o.ENH.b(ENH.java:102) at com.objectdb.o.LDR.J(LDR.java:796) at com.objectdb.o.LDR.UW(LDR.java:1023) at com.objectdb.o.CST.ab(CST.java:478) at com.objectdb.o.CST.U4(CST.java:414) at com.objectdb.o.LDR.F(LDR.java:559) at com.objectdb.o.LDR.E(LDR.java:466) at com.objectdb.o.OBC.UJ(OBC.java:1073)... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph ...