|
JDO query - including OID in the sort criteria
4 messages
I have a hierarchy of persistent 'Event' type classes, the base class of which stores a timestamp of millisecond precision and the app can produce an audit trail that orders objects according to this
I have a hierarchy of persistent 'Event' type classes, the base class of which stores a timestamp of millisecond precision and the app can produce an audit trail that orders objects according to this
|
By
Page bloom
·
|
|
JPA DN5.2.0: fail to rollback on RuntimeException on PrePersist, PreUpdate
2 messages
I use PrePersist, PreUpdate, ... callbacks to perform validation on object graphs. When an error is identified, the callback raise an exception ( instance of a sub-sub-class of RuntimeException). I ex
I use PrePersist, PreUpdate, ... callbacks to perform validation on object graphs. When an error is identified, the callback raise an exception ( instance of a sub-sub-class of RuntimeException). I ex
|
By
passignat@...
·
|
|
Query results cache question
I have a JDO query that is caching its result set which makes sense as caching results sets is turned on by default. Part of the app adds a new object to the database (and I verify that the new record
I have a JDO query that is caching its result set which makes sense as caching results sets is turned on by default. Part of the app adds a new object to the database (and I verify that the new record
|
By
Page bloom
·
|
|
How to call oracle stored procedure with sys_refcursor output in Java JPA DataNucleus?
7 messages
When I try a standard code I get the following error message. javax.persistence.PersistenceException: Error encountered when extracting results for SQL query "get_person_list_sp" at org.datanucleus.ap
When I try a standard code I get the following error message. javax.persistence.PersistenceException: Error encountered when extracting results for SQL query "get_person_list_sp" at org.datanucleus.ap
|
By
V MANIKANTHAN
·
|
|
Upgrading to 5.2.1 gives error - Cant be mapped for this datastore. No mapping is available
3 messages
We have created a custom id generator class ABCDLongValueGenerator.java for id column plugin.xml <?xml version="1.0"?> <plugin id="abcd" name="DataNucleus plug-ins" provider-name="abcd"> <extension po
We have created a custom id generator class ABCDLongValueGenerator.java for id column plugin.xml <?xml version="1.0"?> <plugin id="abcd" name="DataNucleus plug-ins" provider-name="abcd"> <extension po
|
By
msyed080@...
·
|
|
No support for sequence generator to mariadb
2 messages
javax-jdo SequenceGenerator does not support for MariaDB http://www.datanucleus.org/products/accessplatform/jpa/mapping.html#valuegen_sequence But Maria db has support for sequences from 10.3 https://
javax-jdo SequenceGenerator does not support for MariaDB http://www.datanucleus.org/products/accessplatform/jpa/mapping.html#valuegen_sequence But Maria db has support for sequences from 10.3 https://
|
By
msyed080@...
·
|
|
Adding jdo-query to maven based project causes compile error
5 messages
After my misguided attempt to get some help on github I'm trying to do it correctly here (: I'm in the midst of setting up a JavaFX project with Datanucleu + JDO + JDOQL. I've got the first two parts
After my misguided attempt to get some help on github I'm trying to do it correctly here (: I'm in the midst of setting up a JavaFX project with Datanucleu + JDO + JDOQL. I've got the first two parts
|
By
iansaucy@...
·
|
|
Currently do not support adding restriction on discriminator for table
6 messages
We've just migrated to version 5 and occasionally get the following warning: Query - >> Currently do not support adding restriction on discriminator for table=mytableA f0 to class MyClassB where: myta
We've just migrated to version 5 and occasionally get the following warning: Query - >> Currently do not support adding restriction on discriminator for table=mytableA f0 to class MyClassB where: myta
|
By
Chris Colman
·
|
|
Issue migrating from MySQL 5.7 to 8.0.20: Index/candidate part #0 for xyz already set
4 messages
Has anyone else seen this issue before? Everything has been working fine for all MySQL 5.x versions but after exporting the database as a SQL dump from 5.7 and importing the SQL dump into a new MySQL
Has anyone else seen this issue before? Everything has been working fine for all MySQL 5.x versions but after exporting the database as a SQL dump from 5.7 and importing the SQL dump into a new MySQL
|
By
Page bloom
·
|
|
JPA Attribute validation skipped with converter
3 messages
Hi, When I use an attribute converter on an attribute, DN does not load the length validation attribute, keeping its default 255 value. (debug shows the length attribute is 255, probably not loaded) T
Hi, When I use an attribute converter on an attribute, DN does not load the length validation attribute, keeping its default 255 value. (debug shows the length attribute is 255, probably not loaded) T
|
By
passignat@...
·
|
|
DataNucleus JDO 5: problems with limited max fetch depth
2 messages
After updating of DataNuleus from version 3.3 to 5.2, I get the following error from the query, which limits the max. fetch depth. This Query works correctly with DataNucleus 3.3. java.lang.ArrayIndex
After updating of DataNuleus from version 3.3 to 5.2, I get the following error from the query, which limits the max. fetch depth. This Query works correctly with DataNucleus 3.3. java.lang.ArrayIndex
|
By
jacek.czerwinski.ext@...
·
|
|
DataNucleus - Class versions V1_5 or less must use F_NEW frames
9 messages
I am doing version upgrade of Datanucleus jars. Now, during compilation, I am getting below stacktrace in DataNucleus.log. (main) ERROR [DataNucleus.Enhancer] - Error thrown enhancing with ASMClassEnh
I am doing version upgrade of Datanucleus jars. Now, during compilation, I am getting below stacktrace in DataNucleus.log. (main) ERROR [DataNucleus.Enhancer] - Error thrown enhancing with ASMClassEnh
|
By
mayank.chawla@...
·
|
|
How to change transaction level for metadata (INFORMATION_SCHEMA) operations (Spanner DB)?
4 messages
Hi everyone, I am implementing an RDBMS adapter for the GCP Spanner DB. I encounter a problem with transactions and metadata operations. Spanner DB supports information schema queries ( https://cloud.
Hi everyone, I am implementing an RDBMS adapter for the GCP Spanner DB. I encounter a problem with transactions and metadata operations. Spanner DB supports information schema queries ( https://cloud.
|
By
yunus@...
·
|
|
Datanucleus and Android
7 messages
I have seen rumours of Datanucleus running on Android. I assumed it would because of SQLite support, but this was a mistake. Before I switch to a different persistence method, is there any way that Da
I have seen rumours of Datanucleus running on Android. I assumed it would because of SQLite support, but this was a mistake. Before I switch to a different persistence method, is there any way that Da
|
By
steve@...
·
|
|
Can someone point me where I can find a working example to call stored procedure from DN apis
2 messages
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
|
By
ab.jaipur@...
·
|
|
How to alter a column length
3 messages
Hello all, I have defined a java class using the default attributes: @PersistenceCapable(detachable = "true") public class PropertyTemplate { ... private String description; ... } And stared using the
Hello all, I have defined a java class using the default attributes: @PersistenceCapable(detachable = "true") public class PropertyTemplate { ... private String description; ... } And stared using the
|
By
claudio_rosati@...
·
|
|
To set length of Datanucleus db2 column of type CLOB to 1M
6 messages
Hello, I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns i
Hello, I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns i
|
By
mayank.chawla@...
·
|
|
Change in enhanced classes implemented interface from PersistenceCapable to Persistable from version 4.x
2 messages
Hello, I am migrating from 2.x to 5.x and all my old code is around javax.jdo.spi.PersistenceCapable(types casting from object type etc). But now when I enhanced my classes using latest version, I can
Hello, I am migrating from 2.x to 5.x and all my old code is around javax.jdo.spi.PersistenceCapable(types casting from object type etc). But now when I enhanced my classes using latest version, I can
|
By
mayank.chawla@...
·
|
|
Object deletion with optimistic version field failed
4 messages
Hi, Since I added optimistic locking, with a numeric version attribute, the deletion doesn't work. ERROR DataNucleus.Persistence - Object with id "1" in table I18N_MESSAGE has no version set on the ob
Hi, Since I added optimistic locking, with a numeric version attribute, the deletion doesn't work. ERROR DataNucleus.Persistence - Object with id "1" in table I18N_MESSAGE has no version set on the ob
|
By
passignat@...
·
|
|
Ambiguous column names in subquery
3 messages
Hello, As part of migration from 2.x to 5.x, we are facing a error because the select statement is having ambiguous column name. Same code was working with previous version, looks like we have to chan
Hello, As part of migration from 2.x to 5.x, we are facing a error because the select statement is having ambiguous column name. Same code was working with previous version, looks like we have to chan
|
By
mayank.chawla@...
·
|