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
|
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
|
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
|
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
|
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
|
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
|
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:
|
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
|
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
|
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
|