12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted over 16 years ago
I'm trying to use a named query in this function, in place of the commented code (which works ok). [code] public DadesIncidencia getIncidenciaByIdSenseComentaris(Integer id) { DadesIncidencia incidencia = null; Query q = ... [More] pm.newNamedQuery(DadesIncidencia.class, "obtenirDadesIncidencia"); // String sql = "select i.id, ... [Less]
Posted over 16 years ago
[img]http://www.datanucleus.org/images/logos/DataNucleus_AccessPlatform_80.jpg[/img] We're pleased to announce the release of the third milestone for Access Platform version 1.0 ("Faraday"). You can read the release announcement [url=http://www.datanucleus.com/news/access_platform_1_0_m3.html]here[/url].
Posted over 16 years ago
Hi! We are having trouble with detached objects. We are getting a JDODataStoreException while removing/adding an Object with uniqueness constraints and persisting the container that references the Object. Should i raise a JIRA case? Or does ... [More] jpox just follow the jdo specification? Below you can find my detailed testcase... Thanks in advance! Hendrik === Tested with === * Oracle 9i ... [Less]
Posted over 16 years ago
Hi, maybe this is a dumb question, maybe this has been answered already (but I did not find any suitable threads here). Within a normal persistent object, I have a List field referring to other persistent objects. Both classes are FCOs. Since ... [More] this is a composite relation, i.e. the list elements shall not exist outside the main object, I would like either the ... [Less]
Posted over 16 years ago
1.0.0.m2 - NPE on Persistence of 1-N List with "subclass-table" elements with single subclass with table as per http://www.jpox.org/servlet/jira/browse/CORE-3344: Testcase attached. ownerTable is null @ RDBMSManager.java:1152 1152 ... [More] DatastoreClass ownerTable = getDatastoreClass(fmd.getClassName(), clr); 1153 JavaTypeMapping m = ownerTable.getFieldMapping(fmd); [java] ... [Less]
Posted over 16 years ago
Hi, I am playing with the LDAP store. When running the tests in test.jdo.ldap one test is broken, it is JDOQLBasicTest.testGrouping. The strange thing is that all elements of the iterator contain the same data. So when I add the following code ... [More] [code] while(it.hasNext()) { Object[] obj = (Object[]) it.next(); System.out.println(obj[0] ", " obj[1]); } [/code] ... [Less]
Posted over 16 years ago
With latest JPOX 1.2.2, a JDO query w/ a contains(var) where we do an instanceof check on the var doesn't seem to compile correctly in SQL. Please see attached smallest test case I could do with 3 classes: WebContent.linkSet is a List ... [More] Destination extends WebContent where wcmsType = 'D' WCitiesGuide extends WebContent where wcmsType = 'W' JDO Query: SELECT FROM ... [Less]
Posted over 16 years ago
I have two classes with a M-to-N relation over a join table:[code] ...
Posted over 16 years ago
Can somebody give me a hint what has changed with the automatic detaching at commit since June 3? We are using a JPOX snapshot from this date with DetachAllOnCommit=true and no maxFetchDepth set. This is working fine. If I try to use a newer JPOX ... [More] or Datanucleus snapshot, I have to set the maxFetchDepth=6 to avoid NotDetachedExceptions. But this results in a much slower application [:(] . I ... [Less]
Posted over 16 years ago
Hello *, we have already for quite a while a problem when persisting new objects, because the fields of them still reference detached objects even after calling [i]pm.makePersistent[/i] (with some work-arounds - like evictAll reload - it is ... [More] functional but not nice). Here's some pseudo-code explaining what I mean:[color=blue][code][color=green]// obtain a detached instance of ... [Less]