12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted almost 17 years ago
I have a problem with OIDs generated by a sequence. I have tested this with the JPOX Snapshot from today and Oracle 10g. I have defined two classes: [code]
Posted almost 17 years ago
Hello, It [i]seems[/i] the PersistenceManager is in an infinite loop. In my classes I do have an cyclic reference (e.g. A -> B -> C -> A), however I tried to recreate the problem (with simpler classes and code) according to the 'bug ... [More] reporting' guidelines and I failed to do so. The thing I find weird is that a new object is being persisted without problems. Only when retrieving an ... [Less]
Posted almost 17 years ago
If anyone is anywhere near Berlin on March 13-14, 2008 and would like to hear about "Java persistence using standardised API's (JDO/JPA) with particular reference to DB4O and JPOX" they could make it to ... [More] [url=http://odbmsjournal.org/icoodb/index.html]International Conference on Object Databases (ICOODB)[/url] where I'll allegedly be giving some talk. Hope to see people there [Less]
Posted almost 17 years ago
Does JPOX 1.2.0 allow persistence to DB4O via JPA? It was not clear to me from reading the What's New notes on whether it is via JDO only or not. Cheers, Menno
Posted almost 17 years ago
Hi, I have defined my object hierarchy as DomainObject implements Serializable extended by NamedObject implements Comparable extended by Organization Now DomainObject has a setId() and getId() methods but I ... [More] cannot map these in the Organization Meta Data because the enhancer complains that the property does not exist. I need to override the property in ... [Less]
Posted almost 17 years ago
Is it possible to call isEmpty() on a subquery? I'm trying to immitate SQL's EXISTS functionality on a subquery. Is this possible? For example: Get the students that have zero teachers, where teachers class has a collection of all of their ... [More] students taught, but not vice versa. SELECT FROM Students WHERE (SELECT FROM Teachers WHERE studentsTaught.contains(this)).isEmpty() ... [Less]
Posted almost 17 years ago
Hi, I am getting an error while closing the PersistenceManager , but before that i am able to commit the transaction and data is getting saved in the database , still JPOX throws null pointer after when pm.close() statement is executed. This ... [More] main object containes a set of child object which has 1-N relation ship. when i remove the child object and while fetching, the program works with out ... [Less]
Posted almost 17 years ago
I have the following hierarchy @PersistenceCapable(detachable="true") @Inheritance(strategy=InheritanceStrategy.SUBCLASS_TABLE) public class ObjectIdentity implements Serializable { ... } @PersistenceCapable(detachable="true") ... [More] @Version(strategy=VersionStrategy.VERSION_NUMBER, column="VERSION") @Inheritance(strategy=InheritanceStrategy.SUBCLASS_TABLE) ... [Less]
Posted almost 17 years ago
JPOX: 1.19 ORM: JDO2 2.0 DB: Apache Derby 10.2.2.0 Reference: http://www.jpox.org/servlet/forum/viewthread?thread=1595&offset=10 I am getting the error in the subject line and it is explained in the thread above that this is probably due ... [More] to the vendor id being incorrect. What is the correct vendor id and where do I change that? Do I change it in the adapter class I am using (I had ... [Less]
Posted almost 17 years ago
This is what I want to do: select * from table where create_dttm > '2005'; --sometimes create_dttm column does not exist, if so I want to try another column name EXCEPTION when exception name?? then select * from table where dw_create_dttm ... [More] > '2005' --if both of these fail I just want to make a variable equal to 0. when others then variable:= 0; END; How do I setup an exception ... [Less]