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
Considering this code : [code] @PersistentCapable class A { private B b; // ... } @PersistentCapable class B { // ... } [/code] Is possible, when recovering an A object from the datastore, that it's field b (of type B) be ... [More] recovered automatically from it's related table in the datastore (without making a specific recover query for b separately). Thanks. [Less]
Posted almost 17 years ago
Hi, Obviously a newbie...I've spent considerable time with documentation, searching forums, downloading nightly builds but have not acheived my goal yet. Now I'm wondering if JPOX supports what I want to do ... [More] (http://www.jpox.org/docs/1_1/jpa_annotations.html). Can I create schema (in DB or files depending on flag) from annotated Java files? I'm using Java 1.6, trying to run the enhancer ... [Less]
Posted almost 17 years ago
Hello, it may be a stupid question: Are there any issues when I'm packaging the enhanced classes together with the related packaged *.jdo files in a jar? I wanted to keep the entities in a seperate project to include them into two or three ... [More] web-applications (using spring on a tomcat server). In hibernate (I've used before) there was a setting to tell hibernate that the entities are ... [Less]
Posted almost 17 years ago
I just tried JPOX 1.2.1 with JBoss 4.0.3 SP1, and I'm seeing this problem: [quote] Caused by: org.jpox.exceptions.JPOXException: Plugin (Bundle) org.jpox.store.rdbms is already registered. Ensure you don't have multiple JAR versions of the same ... [More] plugin in the classpath. The URL file:/home/jfrantzius/apps/jboss-4.0.3SP1/server/sgw/tmp/deploy/tmp19656jpox-rdbms-1.2.1.jar is already registered, and ... [Less]
Posted almost 17 years ago
Hi, In order to make JPOX work in Eclipse I had to explicitly set ClassLoader for PMF. The classloader is dynamically calculated using Spring "trick". Details can be found here http://www.jpox.org/servlet/forum/viewthread?thread=4846 ... [More] http://www.jpox.org/servlet/wiki/pages/viewpage.action?pageId=1179721 In a nutshell I was using following in spring XML [code] [Less]
Posted almost 17 years ago
Hi, I tried different versions/ways, but I can't make the Jpox plugin work automaticlly under Eclipse. I actually have no errors, but the automatic enhancement task under the plugin does nothing with my classes whom have a metadata file ... [More] associated: JPOX Enhancer (version 1.2.0) : Enhancement of classes JPOX Enhancer : Classpath >> ... [Less]
Posted almost 17 years ago
Hi, Is it possible to make enums be persistent in datastore in a separate table, so that the object having a field of this enum type could use just the id of the table enum in datastore in their own tables? here's an example: Java objects: ... [More] [code] public enum Type { Type1,Type2, Type3; } public class MyObject { private Type type; ... } [/code] In the datastore: table enum ... [Less]
Posted almost 17 years ago
We have a relationship between A and B implemented as a HashSet with dependent-element="true". I thought that setting dependent-element="true" would result in an element being deleted from the database when HashSet.remove was called on it but this ... [More] doesn't appear to be happening. The element is only removed from the 'in memory' HashSet, not the database. After an app restart ... [Less]
Posted almost 17 years ago
For the JDOQL query [code]SELECT FROM org.jpox.test.Data1 WHERE this.list.isEmpty() && this.id==0[/code] JOPX generates [code]SELECT 'org.jpox.test.Data1' AS JPOXMETADATA,THIS.ID FROM DATA1 THIS WHERE NOT EXISTS (SELECT 1 FROM DATA2 ... [More] THIS_LIST WHERE THIS_LIST.DATA1_ID_OID = THIS.ID AND THIS.ID = <0>)[/code] . It should be [code]SELECT 'org.jpox.test.Data1' AS JPOXMETADATA,THIS.ID ... [Less]
Posted almost 17 years ago
Is there a way to convert an integer value to string inside an JDOQL query? Been looking on docs, an didn't find any information about this. Thanks on advance, Paulo