|
Howto help improve DataNucleus code base
4 messages
Hello, We have for the last year been migrating our code from using Kodo to use DataNucleus. Through this process we have had to fix bugs, make performance improvements and add plugins to the DataNucl
Hello, We have for the last year been migrating our code from using Kodo to use DataNucleus. Through this process we have had to fix bugs, make performance improvements and add plugins to the DataNucl
|
By
Kraen David Christensen
·
|
|
Racing condition in compiling queries after upgrading from 5.0.x to 5.2.x
9 messages
Hello, We have recently upgraded Datanucleus from 5.0 to 5.2 and we started to see broken queries, here are some examples: # this query is cut after the WHERE cause SELECT 'com.somepackage.EntityOne'
Hello, We have recently upgraded Datanucleus from 5.0 to 5.2 and we started to see broken queries, here are some examples: # this query is cut after the WHERE cause SELECT 'com.somepackage.EntityOne'
|
By
marius.ropotica@...
·
|
|
1+N avoidance: Fetch of relationship working, but ignored when accessed
10 messages
Hi, I posted my question on StackOverflow, but realized it might be better to post here as on SO there's only 5-ish DN questions per year :-) https://stackoverflow.com/questions/75422362/datanucleus-r
Hi, I posted my question on StackOverflow, but realized it might be better to post here as on SO there's only 5-ish DN questions per year :-) https://stackoverflow.com/questions/75422362/datanucleus-r
|
By
Vaal
·
|
|
Best practices for connection factory configurations when using connection pooling?
3 messages
I'm aware this is kind of a generic question, but is there any guidance or any best practices around connection factory configuration when using connection pooling? We use DN RDBMS with HikariCP, and
I'm aware this is kind of a generic question, but is there any guidance or any best practices around connection factory configuration when using connection pooling? We use DN RDBMS with HikariCP, and
|
By
niklas.duester@...
·
|
|
Select with subselect
2 messages
I'd like to implement a JDOQL query for the following SQL statement: select * from project p, project_strategic_bucket psb where psb.project_id_oid = p.id and psb.strategic_bucket_id_oid in (select sb
I'd like to implement a JDOQL query for the following SQL statement: select * from project p, project_strategic_bucket psb where psb.project_id_oid = p.id and psb.strategic_bucket_id_oid in (select sb
|
By
jacek.czerwinski.ext@...
·
|
|
Evict parent class from Query Results Cache at commit
2 messages
Hi! I hope you can help with this issue. I have a simple inheritance of these two classes. I've got them mapped like this with subclass-table inheritence strategy. Also I have query results cache enab
Hi! I hope you can help with this issue. I have a simple inheritance of these two classes. I've got them mapped like this with subclass-table inheritence strategy. Also I have query results cache enab
|
By
edwin.chui@...
·
|
|
Cache Results not working with "count" query
4 messages
I've got a project with datanucleus v6.0.0-release and in my properties file I've got configured with the following values: As you can see I have the *datanucleus.query.results.cached* enabled In my p
I've got a project with datanucleus v6.0.0-release and in my properties file I've got configured with the following values: As you can see I have the *datanucleus.query.results.cached* enabled In my p
|
By
edwin.chui@...
·
|
|
Persisting attribute using "new" Java time Instant in MySQL
4 messages
Traditionally we have used the java.util.Date class for storing time instants in UTC time - in all existing tables DN has created a 'TIMESTAMP' type field in MySQL - which works fine. Recently we adde
Traditionally we have used the java.util.Date class for storing time instants in UTC time - in all existing tables DN has created a 'TIMESTAMP' type field in MySQL - which works fine. Recently we adde
|
By
Page bloom
·
|
|
JDOQL ordering using primary key field
3 messages
If a class does not have an attribute defined to be the primary key field but, rather, relies on DN creating the primary key column in the RBDMS table implicitly, is there any way to specify the defau
If a class does not have an attribute defined to be the primary key field but, rather, relies on DN creating the primary key column in the RBDMS table implicitly, is there any way to specify the defau
|
By
Page bloom
·
|
|
Use multiple columns for Discriminator in Inheritance Tree with single-table
2 messages
We have a table like: node(nodetype, subnodetype, ...) From this one table we want to have several persistent java classes. Both node.nodetype and node.subnodetype is needed to discriminate the java c
We have a table like: node(nodetype, subnodetype, ...) From this one table we want to have several persistent java classes. Both node.nodetype and node.subnodetype is needed to discriminate the java c
|
By
Kraen David Christensen
·
|
|
Clone of test-jdo is not working
I am trying to build a test case for JDO. When I clone https://github.com/datanucleus/test-jdo then mvn clean compile test I get a failure, also created https://github.com/datanucleus/test-jdo/issues/
I am trying to build a test case for JDO. When I clone https://github.com/datanucleus/test-jdo then mvn clean compile test I get a failure, also created https://github.com/datanucleus/test-jdo/issues/
|
By
mores
·
|
|
Java 17 Compatiblity
2 messages
We use below components from datanucleus, since we have a plan to upgrade to Java 17 need to know the compatibility to run the below components on java 17 runtime environment. *Vendor* *Software Name*
We use below components from datanucleus, since we have a plan to upgrade to Java 17 need to know the compatibility to run the below components on java 17 runtime environment. *Vendor* *Software Name*
|
By
Shivaraj Sivasankaran
·
|
|
Spanner Adapter type conversion/matching problem
2 messages
Hi everyone, Recently I have created a pull request for Spanner database adapter. While running the Datanucleus tests I have encountered an issue which made me realize that I have not fully understood
Hi everyone, Recently I have created a pull request for Spanner database adapter. While running the Datanucleus tests I have encountered an issue which made me realize that I have not fully understood
|
By
yunus@...
·
|
|
Datanucleus with Informix
3 messages
Dear colleagues: I am developing a project with Spring Boot and Informix IDS 7.31TD9, but I find that I cannot connect to the database. I tried to load the dependencies of all the versions of Informix
Dear colleagues: I am developing a project with Spring Boot and Informix IDS 7.31TD9, but I find that I cannot connect to the database. I tried to load the dependencies of all the versions of Informix
|
By
gustavo.echenique@...
·
|
|
Programmatic retrieval of a persistent class' discriminator
2 messages
Clearly we can associate a unique (usually integer in our case) class ID / discriminator to each persistent class. Given that this class ID is always unique across all classes within our system I have
Clearly we can associate a unique (usually integer in our case) class ID / discriminator to each persistent class. Given that this class ID is always unique across all classes within our system I have
|
By
Page bloom
·
|
|
How to identify fields that are made dirty during an InstanceCallback from within a listener?
2 messages
Hi Andy, I'm running into a bit of a catch-22 solution here and would love some ideas if you have something. I'm trying to identify all dirty fields of an object during a StoreLifecycleListener. I hav
Hi Andy, I'm running into a bit of a catch-22 solution here and would love some ideas if you have something. I'm trying to identify all dirty fields of an object during a StoreLifecycleListener. I hav
|
By
ebenzacar@...
·
|
|
Where/how to report updates needed to documentation?
3 messages
Hi, In reading through the Plugin documentation on the website, I noticed an oversight in the docs. How/where can I report this? I tried to look to see if there was a github repo for the website, but
Hi, In reading through the Plugin documentation on the website, I noticed an oversight in the docs. How/where can I report this? I tried to look to see if there was a github repo for the website, but
|
By
ebenzacar@...
·
|
|
Force index usage in mySql
2 messages
Hi, I am using datanucleus with mySql and I am looking for a way to force an index usage in a query (JDOQL). So the generated SQL should look like "select x from T FORCE INDEX (z) where ...". I have i
Hi, I am using datanucleus with mySql and I am looking for a way to force an index usage in a query (JDOQL). So the generated SQL should look like "select x from T FORCE INDEX (z) where ...". I have i
|
By
Christophe
·
|
|
StateManager savedImage retains references - not the original values
4 messages
Hi, I've been trying to work with the StateManager and its savedImage object which I had expected to be a representation of the current object at the time that "saveFields()" is called. Unfortunately,
Hi, I've been trying to work with the StateManager and its savedImage object which I had expected to be a representation of the current object at the time that "saveFields()" is called. Unfortunately,
|
By
ebenzacar@...
·
|
|
Conflicting results from calls to NucleusJDOHelper.isDirty()
3 messages
I'm trying to identify which fields of a Persistable object are dirty, but running into what seems to be conflicting information from the NucleusJDOHelper functions. I don't know if this is expected b
I'm trying to identify which fields of a Persistable object are dirty, but running into what seems to be conflicting information from the NucleusJDOHelper functions. I don't know if this is expected b
|
By
ebenzacar@...
·
|