About attribute

issue

Threaded Test - Failed to commit transaction: Unexpected internal exception

Hi I'm trying to create a simple producer-consumer queue scenario but am getting the followin exception: ... constrained by an existing system. If I remove the @Id attribute it works ok again. My final object will also have a ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... is useful when changing the value of the "requires-extent" attribute (in the JDO metadata) for a persistent class that already has ...

 
forum_thread

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> ... purposes of continuing, I have set my "equals" method in attribute name to look only at the database id.   Second ...

 
issue

Unexpected exception (Error 990) on find

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: Bug Version: 1.04 Priority: Normal Status: Fixed Replies: 16 Type:  Bug ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); ... some repair or something ? Otherwise, i have to do some attribute setting somewhere to know this, which I think would not be the right ...

 
forum_thread

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name of one of these entities. If I execute that query I get an exception;   #1 2011-08-25 12:40 I have two Entities which have the same class name but reside in different packages, only one of them is mentione ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. #1 2011-06-03 20:30 This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. This conce ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... - debug attribute not set 09:30:08,828 |-INFO in ...

 
release

2.7.2

Release date: 2017-10-09 Download (5.59 MB) Binary:  objectdb-2.7.2.zip Version 2.7.2 Added initial support for Java 9 . ...

 
manual

[ODB1] Chapter 2 - A Quick Tour

Demonstrates basic database programming using ObjectDB. ... and <class> elements must have a name attribute. An empty name is specified for the <package> element to ...