Questions tagged [datanucleus]

DataNucleus AccessPlatform is an implementation of the JDO and JPA API specifications for Java object persistence, as well as providing a REST API. It is fully standards-compliant, and supports persistence to RDBMS, ODBMS, documents (XML, Excel, ODF), web-based (JSON, Amazon S3, GoogleStorage), map-based (HBase, Cassandra), document-based (MongoDB), graph-based (Neo4j) as well as some others (LDAP).

DataNucleus AccessPlatform is an implementation of the JDO and JPA API specifications for Java object persistence, as well as providing a REST API. It is fully standards-compliant, and supports persistence to RDBMS, ODBMS, Documents (XML, Excel, ODF), Web-based (JSON, Amazon S3, GoogleStorage), Map-stores (HBase, Cassandra), document-based (MongoDB), graph-based (Nep4j) as well as some others (LDAP).

890 questions
8
votes
4 answers

Google App Engine JDO 3

Google just came out with JDO 3.0 (which uses DataNucleus 2.0) for Google App Engine, and I want to use it, since it conveniently supports unowned relationships. I've been trying for days, but I can't figure out how to use it with the Google…
Jeremy
  • 225
  • 2
  • 11
7
votes
3 answers

Inconsistent Fetch From Google App Engine Datastore

I have an application deployed in Google app engine. I am getting inconsistent data when i fetch an entity by id immediately after updating that entity. I'm using JDO 3.0 to access the app engine datastore. I have an entity Employee…
7
votes
2 answers

Entity to DTO conversion with JPA

I'm using DataNucleus as a JPA implementation to store my classes in my web application. I use a set of converters which all have toDTO() and fromDTO(). My issue is, that I want to avoid the whole DB being sent over the wire: If I lazy load,…
WhyNotHugo
  • 9,423
  • 6
  • 62
  • 70
6
votes
1 answer

Migrating fields in JDO

We are using JDO in one of our projects. This has been running for quite a while and naturally we need to change the model a bit. What is the best practice when migrating fields in entity classes in JDO? enum MyEnum { REGULAR, MYOLDTYPE //…
jontro
  • 10,241
  • 6
  • 46
  • 71
6
votes
1 answer

org.datanucleus.exceptions.NucleusUserException: Error : Could not find API definition for name "JDO"

I was trying to access hive table in mapreduce through hcatalog and facing below exception : I have googled it and try to find the root cause but could not get success so i am posting my query over here. 2016-12-01 15:48:35,855 INFO [main]…
sunil
  • 61
  • 2
6
votes
3 answers

Google App Engine - org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed

Why does the code below result in org.datanucleus.exceptions.NucleusUserException: Object Manager has been closed? The exception appears to be thrown at query.getResultList(). public final void removeUserTokens(final String username) { final…
Taylor Leese
  • 51,004
  • 28
  • 112
  • 141
6
votes
5 answers

Datanucleus, JDO and executable jar - how to do it?

I am developing a desktop app with Datanucleus and JDO for embedded H2 database. It all works fine when I run it from Eclipse, but it stops working when I try to make executable jar out of it. I get a following…
Paul
  • 389
  • 3
  • 11
5
votes
3 answers

Error HBASE-ZOOKEEPER : Too many connections

I am using Hbase-Hadoop combination for my application along with Data Nucleus as the ORM. When I am trying to access Hbase via several threads at a single time, it throws exceptions as: Exception in thread "Thread-26"…
devsri
  • 6,173
  • 5
  • 32
  • 40
5
votes
3 answers

App-Engine JDO consistent reading not working, maybe caching?

Today it's the first time I'm using GWT and JDO. I am running it with Eclipse in the local debug mode. I do the following thing: public Collection add(MyObject o) { PersistenceManager pm = PMF.get().getPersistenceManager(); try { …
Franz Kafka
  • 10,623
  • 20
  • 93
  • 149
5
votes
1 answer

Connecting and Persisting to HBase

I just tried to connect to hbase which is part of the cloudera-vm using a java client. (192.168.56.102 is the inet ip of the vm) I use virtual box with host only network setting. So I can access the webUI of the hbase master @…
syr
  • 836
  • 1
  • 12
  • 28
5
votes
1 answer

How to configure dependencies for DataNucleus AppEngine plugin v3?

In my project (Spring Framework + Google App Engine + DataNucleus + JPA) I get the following exception on the server startup: WARNING: Nestedin org.springframework.beans.factory.BeanCreationException: Error creating bean with name…
5
votes
1 answer

Maven building for GoogleAppEngine, forced to include JDO libraries?

I'm trying to build my application for GoogleAppEngine using maven. I've added the following to my pom which should "enhance" my classes after building, as suggested on the DataNucleus documentation
Jimmy
  • 16,123
  • 39
  • 133
  • 213
5
votes
2 answers

Appengine jdoconfig.xml for local database

Has anyone successfully configured JDO datanucleus default to google app engine to work on a local database? Why am I always getting an error in jdoconfig.xml when I have specified the property "datanucleus.storeManagerType" with value "rdbms." at…
ivanceras
  • 1,415
  • 3
  • 17
  • 28
5
votes
3 answers

getObjectsById on App Engine

According to JDO, you can use PersistenceManager.getObjectsById to load multiple entity instances by their object id. What kind of Collection does one need to use here? A Google Data Store Key does not work as object id.
Thilo
  • 257,207
  • 101
  • 511
  • 656
5
votes
2 answers

App Engine, JDO and Maven. Error on startup

I'm trying to create a simple test using JDO with App Engine and a Maven configuration. My compile and data enhancement steps succeed. But at runtime (both mvn:test and appengine:devserver) I get: 1) Error in custom provider,…
rsb
  • 1,020
  • 1
  • 10
  • 25
1
2
3
59 60