<?xml version="1.0" encoding="utf-8" ?>





























 









<rss version="2.0">
<channel>
  <title>DataNucleus Forum</title>
  <link>http://www.datanucleus.org/servlet/forum/index</link>
  <description>RSS Feed of DataNucleus Forum (Global RSS)</description>
  <language>en-us</language>

  <lastBuildDate>Thu, 17 May 2012 10:58:23 +0200</lastBuildDate>
  <docs>http://www.datanucleus.org/servlet/forum/rsssummary</docs>
  <generator>mvnForum Feed Generator 1.2.1 GA</generator>
  <image>
    <title>DataNucleus Forum</title>
    <url>http://www.datanucleus.org/servlet/mvnplugin/mvnforum/images/logo.gif</url>
    <link>http://www.datanucleus.org/servlet/forum/index</link>
    <width>141</width>
    <height>50</height>
    <description>mvnForum - free open source Jsp/Servlet forum</description>
  </image>

  <textInput>
    <title>Search</title>
    <description>Search all posts</description>
    <name>key</name>
    <link>http://www.datanucleus.org/servlet/forum/search</link>
  </textInput>

  <item>
    <title>What logging level displays schema change message without the SQL?</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7144</link>
    <description>Background:

Customer recently updated application and it had schema changes to tables &amp; indexes that had *lots* of rows. 

Consequently at start up there was quite a long delay while these scheme and index updates took place.... so long that they user assumed the app had hung and so restarted it... not always good!

I&#39;m trying to set the logging level so that I can display messages ...</description>
    
    <pubDate>Thu, 17 May 2012 06:22:59 +0200</pubDate>
    <category>MetaData : XML/Annotations</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7144_lastpage,yes</guid>
  </item>

  <item>
    <title>org.datanucleus.exceptions.NucleusUserException: Persistence process has been specified to use a ClassLoaderResolver of name &quot;&quot; yet this has not been found by the DataNucleus plugin mechanism.</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7143</link>
    <description>Hi,
I&#39;m trying to create a J2EE application in JBoss AS 7.1 and use force.com API that uses datanucleus as JPA provider. I created @Singleton@Startup EJB bean that tries to create EntityManagerFactory like this:

[code]		Map&lt;String, String&gt; properties = new HashMap&lt;String, String&gt;();
		properties.put(&quot;datanucleus.storeManagerType&quot;, &quot;force&quot;);
		...</description>
    
    <pubDate>Tue, 15 May 2012 18:08:01 +0200</pubDate>
    <category>Environment : J2EE</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7143_lastpage,yes</guid>
  </item>

  <item>
    <title>Class &quot;&quot; was not found in the CLASSPATH error when combining OR and AND in a query</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7142</link>
    <description>Hi,

I get a JDOException exception when I use a filter containing OR and AND elements. As in the DataNucleus tutorial, I have a class Product, a class Book which is a subclass of Product, and a class Inventory which contains a list of of Product objects. 

I construct my query in the following way: 
[code]
Query q = pm.newQuery(Inventory.class)
q.declareVariables(&quot;Product b&quot;);
...</description>
    
    <pubDate>Mon, 14 May 2012 14:01:17 +0200</pubDate>
    <category>Queries : JDOQL</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7142_lastpage,yes</guid>
  </item>

  <item>
    <title>Error when using fetch() in CriteriaQuery</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7141</link>
    <description>Hello,

When fetch() method is specified on a Root&lt;X&gt; object, a NullPointerException is caused later in EntityManager.createQuery(). Example code:

[code]		private TypedQuery&lt;AuthenticatedUser&gt; createQuery(String key, EntityManager entityManager)
		{
			CriteriaBuilder builder = entityManager.getCriteriaBuilder();
			
			CriteriaQuery&lt;AuthenticatedUser&gt; query = ...</description>
    
    <pubDate>Mon, 14 May 2012 02:54:26 +0200</pubDate>
    <category>API : JPA</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7141_lastpage,yes</guid>
  </item>

  <item>
    <title>Datanucleus JPA with felix</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7129</link>
    <description>What may cause this?

Caused by: org.datanucleus.exceptions.NucleusUserException: Persistence process has been specified to use a ClassLoaderResolver of name &quot;jpa&quot; yet this has not been found by the DataNucleus plugin mechanism. Please check your CLASSPATH and plugin specification.
	at org.datanucleus.NucleusContext.&lt;init&gt;(NucleusContext.java:242)
	at ...</description>
    
    <pubDate>Sat, 28 Apr 2012 14:12:17 +0200</pubDate>
    <category>Environment : OSGi</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7129_lastpage,yes</guid>
  </item>

  <item>
    <title>Value missing in RDBMS after making sure the object has the value. -- POSSIBLE BUG --</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7139</link>
    <description>To whom it may concern,

This is my first try of DataNucleus, in all regards i&#39;m very pleased with the features and capacities of the package. Although I&#39;m having a bit of a problem I have set an object hierarchy for testing and I keep having the problem that the class that is located as a second hierarchy everytime that I create a new instance of it one the fields seem to disappear at ...</description>
    
    <pubDate>Thu, 10 May 2012 15:32:21 +0200</pubDate>
    <category>RDBMS Datastores</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7139_lastpage,yes</guid>
  </item>

  <item>
    <title>Null returned when persisting a collection of Serializable objects</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,6385</link>
    <description>I have a class like this:

@PersistenceCapable
public class TestSerializableModelObj {
	@Persistent(serialized=&quot;true&quot;, defaultFetchGroup=&quot;true&quot;)
	private ArrayList&lt;String&gt; myArrayList;
	//...
}

When I persist this and re-read it from the database all other primitive fields that I may have defined are loaded properly, but I cannot get the ArrayList (or any List, ...</description>
    
    <pubDate>Tue, 26 Oct 2010 16:04:02 +0200</pubDate>
    <category>DB4O Datastores</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,6385_lastpage,yes</guid>
  </item>

  <item>
    <title>DataNucleus AccessPlatform 3.1.0 M3 released</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7140</link>
    <description>[img]http://www.datanucleus.org/images/logos/DataNucleus_AccessPlatform_80.jpg[/img]
We&#39;re pleased to announce the release of &quot;3.1 Milestone 3&quot; of Access Platform on the &quot;Kepler&quot; branch. 

This is the third milestone towards version 3.1 of AccessPlatform and makes some minor changes to internal structure etc. Support for non-transactional atomic updates has been added ...</description>
    
    <pubDate>Fri, 11 May 2012 07:34:27 +0200</pubDate>
    <category>Announcements</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7140_lastpage,yes</guid>
  </item>

  <item>
    <title>datanucleus level 2 cache returning stale value</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7138</link>
    <description>appengine 1.6.4 
datanucleus-appengine-2.0.0
datanucleus cache 3.0.1

hi all

i am getting stale data returned from a read query using the datanucleus level 2 cache.


my persistent config has NO cache setting so from the docs it is using a default setting.
It seems to be related to the level 2 cache because when the level 2 cache is set to NONE the operations work successfully.

...</description>
    
    <pubDate>Wed, 09 May 2012 02:08:28 +0200</pubDate>
    <category>AppEngine plugin by Google</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7138_lastpage,yes</guid>
  </item>

  <item>
    <title>Getting ClassNotPersistenceCapableException when persisting object using serialization</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7137</link>
    <description>I&#39;ve upgraded to 3.0.9 from 3.0.2, using RDBMS.  For some reason I&#39;m getting an error about the type not being persistence capable but I&#39;m saving the data into a field that is marked as serialized so the type should not need to be persistence capable (right?). The error only happens when I merge data (persist an object queried from the store), not the initial persisting.

Caused by: ...</description>
    
    <pubDate>Tue, 08 May 2012 21:57:03 +0200</pubDate>
    <category>API : JDO</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7137_lastpage,yes</guid>
  </item>

  <item>
    <title>Query with access to field that it can&#39;t resolve correctly</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7136</link>
    <description>Hello everybody,

I have two classes:

Prefix:
[code]
@PersistenceCapable(table = &quot;PREFIXES&quot;, detachable = &quot;true&quot;)
public class Prefix {

    @PrimaryKey
    @Persistent(column = &quot;ID&quot;, valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    @Persistent(column = &quot;PREFIX&quot;)
    @Unique
    @Column(jdbcType = &quot;VARCHAR&quot;, ...</description>
    
    <pubDate>Tue, 08 May 2012 10:30:14 +0200</pubDate>
    <category>Queries : JDOQL</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7136_lastpage,yes</guid>
  </item>

  <item>
    <title>[Performance issue] Access to the objects from pm.detachAllOnCommit() is slow?</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7134</link>
    <description>If I understand DN correctly, [s]the result return by of the following 2 pieces of code should be the same, right?[/s] They are actually different.
A: Use setDetachAllOnCommit() to detach objects
[code]ts.begin();
pm.setDetachAllOnCommit(true);
List&lt;T&gt; ex = (List&lt;T&gt;) q.execute(value1);
ts.commit();
return ex ;[/code]
B: Use detachCopyAll() to detach and copy over all the ...</description>
    
    <pubDate>Mon, 07 May 2012 04:24:45 +0200</pubDate>
    <category>API : JDO</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7134_lastpage,yes</guid>
  </item>

  <item>
    <title>Looking for an ORM/Serializer hybrid project</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7133</link>
    <description>Hi! I&#39;m in search of a Java API that is a combination of ORM and Serializer.

A serializer does not build on any backend structure. It just produces a byte array/stream, and consumes a byte array/stream when de-serializing. But it always serialize the whole graph, or deserializes the whole graph, building on nothing.

An ORM would normally load objects from some data store, keep track of ...</description>
    
    <pubDate>Sat, 05 May 2012 23:19:42 +0200</pubDate>
    <category>Other</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7133_lastpage,yes</guid>
  </item>

  <item>
    <title>Problems with Cascading deletes</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,7132</link>
    <description>I have read the online docs and scoured the forums, but I just can&#39;t seem to get my application to do a cascading delete with a Join. Note the two classes below:

[code]@PersistenceCapable(detachable = &quot;true&quot;) 
public class Job{ 	
@Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
private Long id;
@Element(types=com.foo.service.domain.Problem.class, ...</description>
    
    <pubDate>Tue, 01 May 2012 23:32:51 +0200</pubDate>
    <category>API : JDO</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,7132_lastpage,yes</guid>
  </item>

  <item>
    <title>Same PersistenceManager, same (application) identity, different instances...?</title>
    
    <link>http://www.datanucleus.org/servlet/forum/viewthread_thread,6897</link>
    <description>This is not supposed to be possible according to JDO, right?

I have verified, in the debugger, that both objects are owned by the same Persistence manager (in the same thread), have the same ID (an int), and are different object instances. Are there any known situations or things to do/not do in Datanucleus&#39; JDO that could cause this? I&#39;m hoping it&#39;s not a DN bug and something ...</description>
    
    <pubDate>Fri, 21 Oct 2011 08:33:45 +0200</pubDate>
    <category>API : JDO</category>
    
    <guid>http://www.datanucleus.org/servlet/forum/viewthread_thread,6897_lastpage,yes</guid>
  </item>

</channel>
</rss>



