Posted
almost 17 years
ago
Hi guys,
I'd would like to implement 1-N Collection Bidirectional using foreign key.
My two questions (dumb ones I know ):
1) Everything works fine but i would like to change the foreign key book_book_id_oid with another name but none of the
|
Posted
almost 17 years
ago
Hello *,
is it possible that JDOHelper.makeDirty does not (yet) work on detached objects? It seems not to have any effect (I'm replicating object graphs across datastores and parts of my data is not persisted, even though I call makeDirty on all
|
Posted
almost 17 years
ago
Hello *,
we're currently using DataNucleus built from SVN on 2008-05-09. Sometimes, exceptions like this occur:
[color=red]16:53:05,395 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract void
|
Posted
almost 17 years
ago
running a test I get the following stacktrace:
junit.framework.AssertionFailedError: Exception in constructor: testQueryWithDateJdbcTypeChange (javax.jdo.JDOFatalInternalException: Error creating transactional connection factory
at org.jpox.jdo.JPOXJDOHelper.getJDOExceptionForJPOXException(JPOXJDOHelper.java:391)
at ...
|
Posted
almost 17 years
ago
Anybody has experience converting from TJDO? Can you give some guidelines of steps on how this can be done?
|
Posted
almost 17 years
ago
I'm attempting to run the M-To-N sample application but I'm getting the following error during execution:
WARN warn, Bundle org.jpox has an optional dependency to org.eclipse.equinox.registry but it cannot be resolved.
WARN warn, Bundle
|
Posted
almost 17 years
ago
Is it possible to create a relationship between an oracle 10g table and and view? Both entities work separately. However, I get the following error when I create a 1-n relationship between an entity that is supported by a table and an entity that
|
Posted
almost 17 years
ago
When working with hierarchical structures, some times after persisting modified detached object, we can see unexpected new objects in database.
It happens because detached object refers to another object which is not marked as “detached”.
Usecase:
1. Declared class Department:
[code]
@FetchGroups({@FetchGroup(name="default",
...
|
Posted
almost 17 years
ago
Hi,
I want to get the value id2 querying Class a. Does this work?
[code]Class A {
B theBClass;
int id1;
}
Class B {
int id1;
}
Query q = pm.newQuery(A.class);
q.setFilter(....ANYTHING HERE.....);
q.setResult("theBClass.id2");
Object obj = q.execute();[/code]
Thank you very much!
|
Posted
almost 17 years
ago
Hello,
I've some troubles doing type checking on the unbound variable resulting from a contains(obj). It tried different ways but couldn't find one that works.
My object model is as follows:
Abstract class A mapped with discriminator TYPE column
|