About settings

api-jdo

setIgnoreCache(ignoreCache)

Set the ignoreCache option.(Method of javax.jdo.Query)

 
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: #1 2011-07-22 01:36 Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1. ...

 
api-jdo

setResultClass(cls)

Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)

 
forum_thread

Problem persisting a TreeSet field

Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.children to java.util.HashSet" when persisting a Message object with a parent/children relationship: @ManyToOne private Message parent; @OneToMany(mappedBy = "parent") private TreeSet<Message> children; Seems that objectdb is converting TreeSet into HashSet? Why? http://www.objectdb.com/java/jpa/entity/types says TreeSet is supported... #1 2011-07-17 16:09 Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field Message.ch ...

 
api-jdo

getFetchGroups()

Get a modifiable Set containing a mutable copy of all currently active (in scope) fetch groups.(Method of javax.jdo.PersistenceManagerFactory)

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) #1 2011-10-04 20:50 First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-ho ...

 
forum_thread

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List<PositionReportBean> reports; } I have a test file with 5 instances of PositionReportManagerBean, each with maxReports set to 10 and 5 PositionReportBeans in reports. I can verify with the ObjectDB explorer that all of the data is there. If I call #1 2011-12-13 23:17 I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it us ...

 
forum_thread

Activated ObjectDB still throws "Too many persistable types"

I have upgraded from 2.3.7 to 2.4.4 and now my activation won't work, throwing the dreaded com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit I have already reactivated and checked that my objectdb.conf is correctly used (by inserting random chars at the beginning of the file, which lead to an error). Yet I still get the error thrown. Nothing in my configuration changed except the version. What could possibly be the problem with that? ... I have, it is running on the server, using the standard settings (plus the activation code). As I outlined, the correct configuration ...

 
forum_thread

How to do multithreading with embedded ObjectDB

Hi, I've tried to implement a counter with ObjectDB, but the following code doesn't work as expected: ... //To change body of implemented methods use File | Settings | File Templates. } } ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     ... Time: 18:54 * To change this template use File | Settings | File Templates. */   @ NamedQueries ( ... Time: 16:40 * To change this template use File | Settings | File Templates. */ @ Entity public class ...