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
2
votes
2 answers

Datanucleus Enhancer not working with GAE + Scala + Eclipse

I am trying to evaluate using GAE + Scala for a little side project but I cannot seem to get past a problem with the Datanucleus enhancer. My project is the basic GuestBook example application that I have added a Scala nature to, I then have added…
Ukko
  • 2,236
  • 2
  • 21
  • 33
2
votes
1 answer

Compilation failure after adding Lombok NonNull annotation to JDO Entity fields

Based on the Apache Isis 2 SimpleApp JDO project (https://github.com/apache/isis-app-simpleapp/tree/jdo) I tried to slightly modify the SimpleObject class to mark some fields (name and notes) as not nullable using the Lombok annotation @NonNull.…
a-st
  • 51
  • 3
2
votes
0 answers

How do I shut off the DataNucleus byte code enhancer?

For the Eclipse App Engine plugin, the answer is easy - go to the Project Properties -> Builders and disable the Enhancer. Is there a way to do the same in NetBeans (using the NetBeans IDE plugin for Google App Engine), to reduce the build time for…
mjn
  • 36,362
  • 28
  • 176
  • 378
2
votes
1 answer

DataNucleus Access Eclipse SchemaTool

I've installed and configured the Eclipse Plugin for the DataNucleus Access Platform yet when I try to run the SchemaTool I get the following error.. java.lang.NoClassDefFoundError: org/datanucleus/store/schema/SchemaTool it appears that the…
Chris Johnson
  • 2,631
  • 2
  • 18
  • 17
2
votes
1 answer

Datanucleus JPA Update & Delete operation

I am using Datanucleus as the JPA engine to perform CRUD on an entity in Force.com DB. Insert and Select are working fine, but while updating a new row is getting created and delete does not remove the record at all. I am using following for…
Soumyak
  • 31
  • 5
2
votes
0 answers

Is DataNucleus working in JBoss Java EE app server for JPA access to LDAP DB?

I would like to access an LDAP database (and maybe NoSQL db in the future) using JBoss Java EE app server. I would like to keep standard JPA annotations and not using direct LDAP APIs in my EJBs if possible. Has anyone got some successful experience…
Benoit Thiery
  • 6,325
  • 4
  • 22
  • 28
2
votes
1 answer

Prevent DataNucleus transactions on every read

Is it possible to have read queries in Datanucleus without creating transactions? I would like to have non-blocking dirty read in my application but even without creating transactions I see it in postgre logs. Setting property…
Jetter
  • 41
  • 6
2
votes
0 answers

Migrating GWT / Datanucleus project to Google Cloud enhancer issue

I am trying to migrate GWT/Datanucleus JDO project to Google Cloud and ran into the following when trying to enhance. I didn't change anything from GAE setup: DataNucleus Enhancer (version 3.1.1) : Enhancement of classes Sep 08, 2018 3:48:29 PM…
Javaman888
  • 29
  • 3
2
votes
1 answer

What are datanucleus DELETEME* tables and when are they CREATED and DROPPED

I am getting following exception while executing spark Jobs. org.datanucleus.exceptions.NucleusDataStoreException: Exception thrown obtaining schema column information from datastore Which is caused by Caused by:…
thebytewalker
  • 316
  • 4
  • 15
2
votes
1 answer

Does the JPA optimistic locking specification support validating against a version supplied by a client

Suppose I have an entity defined as follows: @Entity public class MyEntity { @Id @GeneratedValue private Integer id; @Column private String name; @Version int version; // Getters + setters } Suppose also I have a…
Sevas
  • 4,215
  • 3
  • 27
  • 26
2
votes
1 answer

org.datanucleus.store.types.sco.simple.HashSet cannot be cast to java.util.Date

From Last Few days Suddenly Our Production deployed application is throwing this error org.datanucleus.store.types.sco.simple.HashSet cannot be cast to java.util.Date We are using datanucleus-api-jpa- 3.1.3, datanucleus-api-jdo- 3.1.3 and Java…
2
votes
0 answers

Size method not working on upgrading datanucleus

We were using version 3.1 of datanucleus for JDO with java 6 and recently we have upgraded it to v5 of datanucleus along with java 8. After upgrading we are facing issue in existing code when try to use count as size method. Query tcQuery =…
PyThon
  • 1,007
  • 9
  • 22
2
votes
0 answers

Publish failed using Ant publisher (Eclipse/datanucleus)

I am being driven mad the following (apparently hard) error from eclipse. Publish failed using Ant publisher Resource is out of sync with the file system: '/MyServlet/build/classes/com/inver/hotzones/database/BaseNetworkData.class'. I have seen…
aronp
  • 799
  • 2
  • 6
  • 14
2
votes
0 answers

Spark unit tests with hive on local metastore

I'm using spark 2.2.0, and I would like to create unit tests for spark with hive support. The test should relay on a metastore that is stored on the local disk (as explained in the programming guide) I define the session in the following way: val…
lev
  • 3,986
  • 4
  • 33
  • 46
2
votes
0 answers

How does gradle shadow plugin deal with OSGi structures?

I'm using the shadow plugin in gradle build process to package an uber jar for my executable. However, this involves datanucleus which is OSGi structured. When I use shadowJar task in gradle, the plugin.xml is lost. Does the gradle shadow plugin has…
totoromeow
  • 2,199
  • 4
  • 19
  • 19