About activation code

issue

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

Exception in thread "main" [ObjectDB 2.6.0_04] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_51 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.objectdb.o.SEM.c(SEM.java:77) at com.objectdb.o.SEC.g(SEC.java:196) at com.objectdb.o.SEC.c(SEC.java:84)... object with id = 89772 forces the error. Example Code:   WebReference w = em.find(WebReference.class, 89772) ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...

 
issue

query only reports 1 result

2.7.2_01 suddenly some queries do only have 1 result even there are more results (you can use the database that you have from #308):   this query gives 1 result even there are a lot more: select o from ObjectNode o where o.classIdentifier = '(OP)' and o.state = 98 and o.type = 0 and o.parentNode.classIdentifier = '(XX)' if you take away the last condition you can see a lot of fitting results, a number of them fit with the complete condition ... 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 ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... Obtaining a PersistenceManagerFactory The following code demonstrates how to obtain a PersistenceManagerFactory instance: ... for that property. The two properties that are set in the code above are usually essential: ... ) ; } Notice that the code above may throw an IOException if the jdo.properties file is not ...

 
issue

A bug in the JDOQL processor in recent versions of ObjectDB

There seems to be a bug in the JDOQL processor in recent versions of ObjectDB. I've uploaded a "laptop" example to demonstrate the problem. The query in Test1.main should return "ThinkMachine MAX SX 20", but it returns incorrect "Media Central Media 555". Earlier versions (at least up to 2.5.4) correctly return "ThinkMachine MAX SX 20". Regards. ... 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

Problem with JOIN and inheritance

Hello, Please run this query on the attached DB: SELECT DISTINCT $1 FROM com.quasado.serviceplaza.customer.VendorCustomer $1 JOIN $1.qubletFRAGMENTMAP $2, com.quasado.foundation.warehouse.contract.customer.CustomerContractsFragment $3 WHERE ((NOT (($2=$3) AND ($3.contracts IS EMPTY)))) The problem is quite easy: The "VendorCustomer" class inherits from the "Customer" class. ... 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

JPA Query Criteria API (JPA 2.0)

The JPA Criteria API supports dynamic definition of JPQL queries using CriteriaBuilder as a factory. ObjectDB supports dynamic definition of JPQL queries as strings and expected to support also the new JPA 2 Criteria API in future versions.  ... 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

Unlimited JPA Persistable Types

I think it would be revolutionary if it were possible to persist any Java object, not just the standard SQL-based objects. Perhaps introducing an annotation will allow for this, something like @BasicType. The ability to store the state of an entire application would be a new innovative approach to persistence. For example, being able to persist: private Thread thread; Since ObjectDB is a proprietary database, surely this could be introduced by adding some sort of equals() override? ... 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 Update & Delete (JPA 1.0)

The JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT queries.Delete queries are supported for JDOQL (JDO Query Language).... 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 for .NET (C# / VB)

The new file format of ObjectDB 2 has been carefully designed to support multi platform in general and .NET specifically. Work on porting ObjectDB to .NET has started. When it is released - the same database will be available from both Java and .NET and when using client server mode, the client will be have to run one platform where the server is on the other.... 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

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... main><alt>objectdb : //127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> ... To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then ...