|
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@...
·
|
|
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@...
·
|
|
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 - 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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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
·
|
|
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
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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
·
|
|
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
·
|
|
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@...
·
|
|
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 identity : primary-key unicity violated
5 messages
Hello, After a while (of successes and failures) I reach a point where inserts break the unique index on the database table. I use MySQL, with a Long id for each class and hikari as connection pool. T
Hello, After a while (of successes and failures) I reach a point where inserts break the unique index on the database table. I use MySQL, with a Long id for each class and hikari as connection pool. T
|
By
passignat@...
·
|
|
PersistenceUnitUtil getIdentifier doesn't return the oid
3 messages
In JPA, the equivalent to JDOHelper.getObjectId, seems to be PersistenceUnitUtil.getIdentifier. Trying to use it (test purposes) with the L2Cache I face an issue. Using the model of the DN example, em
In JPA, the equivalent to JDOHelper.getObjectId, seems to be PersistenceUnitUtil.getIdentifier. Trying to use it (test purposes) with the L2Cache I face an issue. Using the model of the DN example, em
|
By
passignat@...
·
|
|
JPQL date literrals: documentation error
2 messages
Regarding date format, there is a error in the documentation. Month are specified as 'mm' like minutes. It would be better to mention MM (looks like SimpledateFormat) JPQL supports literals of the fol
Regarding date format, there is a error in the documentation. Month are specified as 'mm' like minutes. It would be better to mention MM (looks like SimpledateFormat) JPQL supports literals of the fol
|
By
passignat@...
·
|
|
How to load or fetch lazy attribute of a persistent super class in JPA with EntityGraph ?
2 messages
I have an inheritance model with OneToMany (Collections) declared in the super-class (persistent). When I perform a query on the subclasses I would like to load these elements. So far I can't find how
I have an inheritance model with OneToMany (Collections) declared in the super-class (persistent). When I perform a query on the subclasses I would like to load these elements. So far I can't find how
|
By
passignat@...
·
|
|
Dirty Objects in L2Cache (JPA)
3 messages
I faced the bellow "issue" while detaching a query result. An application fix is to desactivate the L2Cache. Cannot make object non-transactional since object is dirty org.datanucleus.exceptions.Nucle
I faced the bellow "issue" while detaching a query result. An application fix is to desactivate the L2Cache. Cannot make object non-transactional since object is dirty org.datanucleus.exceptions.Nucle
|
By
passignat@...
·
|