|
ClassCastException: EnhancementNucleusContextImpl --> PersistenceNucleusContext
3 messages
I'm trying to use the Ant task to enhance a class having a field with a custom converter attached, and I'm getting the following class-cast exception. Any ideas what might be causing it, or how to wor
I'm trying to use the Ant task to enhance a class having a field with a custom converter attached, and I'm getting the following class-cast exception. Any ideas what might be causing it, or how to wor
|
By
cmosher01@...
·
|
|
Generated dnProvideFields method appears to not handle case where fieldNumbers array is null (i.e. class has no attributes) in DN 5.1.6
6 messages
In this class diagram you can see the abstract base class doesn't have (nor requires) any of it's own attributes. The FieldManager class could have been an interface apart from the fact that: * we wan
In this class diagram you can see the abstract base class doesn't have (nor requires) any of it's own attributes. The FieldManager class could have been an interface apart from the fact that: * we wan
|
By
Page bloom
·
|
|
What's the best way to write a JDOQL query to compare dates that doesn't give a warning about using a transient as parameter in query?
3 messages
*UPDATE: Turns out this was a problem with another parameter, not the date parameter, which was in fact a transient persistable class. I had left this other parameter out of the example, assuming the
*UPDATE: Turns out this was a problem with another parameter, not the date parameter, which was in fact a transient persistable class. I had left this other parameter out of the example, assuming the
|
By
Page bloom
·
|
|
Issue with a relationship to an interface
10 messages
I'm in the very early stages of debugging a unit test that is failing with an exception when establishing a PMF for a model that has classes with references to interfaces. This exact model works fine
I'm in the very early stages of debugging a unit test that is failing with an exception when establishing a PMF for a model that has classes with references to interfaces. This exact model works fine
|
By
Page bloom
·
|
|
ClassNotFoundException: org.datanucleus.api.rest.RestServlet while using datanucleus rest api
4 messages
Hi, Trying to use the datanucleus rest api. I have the POJO classes created for entity and trying to access them as resources. Following the instructions given in this link.. http://www.datanucleus.or
Hi, Trying to use the datanucleus rest api. I have the POJO classes created for entity and trying to access them as resources. Following the instructions given in this link.. http://www.datanucleus.or
|
By
bharani.s@...
·
|
|
update/merge of transient object using allowAttachOfTransient in datanucleus(JDO) not working
2 messages
Datanucleus document says... datanucleus.allowAttachOfTransient When you call PM.makePersistent with a transient object (with PK fields set), if you enable this feature then it will first check for ex
Datanucleus document says... datanucleus.allowAttachOfTransient When you call PM.makePersistent with a transient object (with PK fields set), if you enable this feature then it will first check for ex
|
By
bharani.s@...
·
|
|
Delete query with IN clause having a single parameter
10 messages
In our project, a Delete query is showing an error when used with IN clause having a single parameter. I've forked the test-jpa project [1] and updated the SimpleTest.java [2] to recreate this issue.
In our project, a Delete query is showing an error when used with IN clause having a single parameter. I've forked the test-jpa project [1] and updated the SimpleTest.java [2] to recreate this issue.
|
By
prashant.mr@...
·
|
|
PostGIS with geographic types
3 messages
I am attempting to map a simple point field into a PostGIS database. I’ve configured package.jdo according to the example. Schema tool is generating something like the following: CREATE TABLE "IMAGESO
I am attempting to map a simple point field into a PostGIS database. I’ve configured package.jdo according to the example. Schema tool is generating something like the following: CREATE TABLE "IMAGESO
|
By
Kevin A. Roll
·
|
|
DataNucleus Forum deletion
2 messages
The *DataNucleus Forum* is planned to be *DELETED* permanently in *February/March 2018*. The MVNForum software that it used hasn't been updated for years, and the number of spammers who try to post th
The *DataNucleus Forum* is planned to be *DELETED* permanently in *February/March 2018*. The MVNForum software that it used hasn't been updated for years, and the number of spammers who try to post th
|
By
Andy
·
|
|
Filtered query fails for class with reference to a persistent interface having multiple implementations extending an abstract base class
2 messages
I have created a test case (attached) that reproduces this issue. The class diagram is: The test case also does a dump of the AirCraftController (atc) table schema and its records in the H2 database t
I have created a test case (attached) that reproduces this issue. The class diagram is: The test case also does a dump of the AirCraftController (atc) table schema and its records in the H2 database t
|
By
Chris Colman
·
|
|
EC.preCommit L1Cache op IS NULL!
3 messages
I have an application that, upon initial startup, creates about a 100,000 objects in a h2 database (using JDO). Each object is committed in its own transaction. About half way through, the log spits o
I have an application that, upon initial startup, creates about a 100,000 objects in a h2 database (using JDO). Each object is committed in its own transaction. About half way through, the log spits o
|
By
Steve Springett
·
|
|
Control quoting of identifiers
2 messages
Is it possible to control the quoting of identifiers. I am using Postgresql (with JPA) and, by default, all tables and column names are created as upper case. This is unnatural for that database (whic
Is it possible to control the quoting of identifiers. I am using Postgresql (with JPA) and, by default, all tables and column names are created as upper case. This is unnatural for that database (whic
|
By
Mark Thornton
·
|
|
Should not need to provide JDBC driver name.
5 messages
Since Java 6 / JDBC 4 it has been possible (and normal practice) to open a Connection without specifying the driver or attempting to load its class. Unfortunately if I omit the driver name in DataNucl
Since Java 6 / JDBC 4 it has been possible (and normal practice) to open a Connection without specifying the driver or attempting to load its class. Unfortunately if I omit the driver name in DataNucl
|
By
Mark Thornton
·
|
|
Is there any good documentation for how to add support for new data stores?
3 messages
I am trying to add support for Oracle NoSQL DB, but I am not getting any good enough documentation. I am trying to follow this link http://www.datanucleus.org:15080/products/accessplatform_5_1/extensi
I am trying to add support for Oracle NoSQL DB, but I am not getting any good enough documentation. I am trying to follow this link http://www.datanucleus.org:15080/products/accessplatform_5_1/extensi
|
By
JashDave
·
|
|
Alter column types for existing schemas
2 messages
I am able to utilize extension point="org.datanucleus.store.rdbms.rdbms_mapping" so that all new Boolean columns created will be of type smallint instead of bit. Is there an easy way alter all tables
I am able to utilize extension point="org.datanucleus.store.rdbms.rdbms_mapping" so that all new Boolean columns created will be of type smallint instead of bit. Is there an easy way alter all tables
|
By
mores
·
|