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
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 ... [More] attempts and examples I looked seem to work, I always get an error claiming unknown column book_book_id_oid 2) At a dao level what's the code ... [Less]
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 ... [More] fields). After the discussions on the JDO dev mailing list, I understood that JDO 2.1 would specify makeDirty to be usable on detached objects, too. [Less]
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 ... [More] org.nightlabs.jfire.dynamictrade.DynamicTradeManager.initialise() throws org.nightlabs.jfire.store.CannotPublishProductTypeException,java.rmi.RemoteException, causedBy: ... [Less]
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 ... [More] org.jpox has an optional dependency to org.eclipse.core.runtime but it cannot be resolved. WARN warn, [JPOX-008015] Property ... [Less]
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 ... [More] is supported by a view... ------------------------------------------------ error ------------------------------------------------ ... [Less]
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 ... [More] A has a Set linkSet using intersection table LINK Subclass B extends A maps to superclass table Subclass C extends A maps to superclass ... [Less]