|
Re: JDOQL ordering using primary key field
Thanks Andy, that worked well.
I used it within my setOrdering call:
setOrdering("score ascending, JDOHelper.getObjectId(this) ascending);
Thanks Andy, that worked well.
I used it within my setOrdering call:
setOrdering("score ascending, JDOHelper.getObjectId(this) ascending);
|
By
Page bloom
·
#476
·
Edited
|
|
Re: JDOQL ordering using primary key field
JDO has
By
Andy
·
#475
·
|
|
JDOQL ordering using primary key field
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
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
|
By
Page bloom
·
#474
·
Edited
|
|
Re: Use multiple columns for Discriminator in Inheritance Tree with single-table
Yes, JDO, JPA (and Jakarta Persistence) all allow 1 discriminator (value) only. JDO metadata strictly speaking permits multiple columns for some reason, but there is only space for 1 value and that's
Yes, JDO, JPA (and Jakarta Persistence) all allow 1 discriminator (value) only. JDO metadata strictly speaking permits multiple columns for some reason, but there is only space for 1 value and that's
|
By
Andy
·
#473
·
Edited
|
|
Use multiple columns for Discriminator in Inheritance Tree with single-table
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
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
|
By
Kraen David Christensen
·
#472
·
|
|
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
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
|
By
mores
·
#471
·
|
|
Re: Java 17 Compatiblity
https://www.datanucleus.org/documentation/products.html
https://www.datanucleus.org/documentation/products.html
|
By
Andy
·
#470
·
Edited
|
|
Java 17 Compatiblity
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
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
|
By
Shivaraj Sivasankaran
·
#469
·
|
|
Re: Spanner Adapter type conversion/matching problem
Hi,
if you have a class with a field of type "int" then, to find its JavaTypeMapping, DataNucleus will look at the column mappings that the adapter has registered. In your adapters case, it has
Hi,
if you have a class with a field of type "int" then, to find its JavaTypeMapping, DataNucleus will look at the column mappings that the adapter has registered. In your adapters case, it has
|
By
Andy
·
#468
·
Edited
|
|
Spanner Adapter type conversion/matching problem
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@...
·
#467
·
|
|
Re: Datanucleus with Informix
Thanks for your information Andy!
Is very important for me.
Thanks for your information Andy!
Is very important for me.
|
By
gustavo.echenique@...
·
#466
·
|
|
Re: Datanucleus with Informix
Hello,
DataNucleus has a datastore adapter for Informix, shown here. This was developed quite a few years ago by someone, who also provided these docs specific to the Informix adapter.
I don't have
Hello,
DataNucleus has a datastore adapter for Informix, shown here. This was developed quite a few years ago by someone, who also provided these docs specific to the Informix adapter.
I don't have
|
By
Andy
·
#465
·
Edited
|
|
Datanucleus with 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
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@...
·
#464
·
|
|
Re: Programmatic retrieval of a persistent class' discriminator
The discriminator is clearly in the retrieval SQL when you query for objects, but is only used to decide which type of class to instantiate.
It would be part of the metadata for the class, so you
The discriminator is clearly in the retrieval SQL when you query for objects, but is only used to decide which type of class to instantiate.
It would be part of the metadata for the class, so you
|
By
Andy
·
#463
·
Edited
|
|
Programmatic retrieval of a persistent class' discriminator
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
·
#462
·
Edited
|
|
Re: How to identify fields that are made dirty during an InstanceCallback from within a listener?
The JDO spec (12.15) explicitly insists that InstanceLifecycleListener methods are called BEFORE InstanceCallbacks, so we can't just change the code to calls to the opposite order, hence using
The JDO spec (12.15) explicitly insists that InstanceLifecycleListener methods are called BEFORE InstanceCallbacks, so we can't just change the code to calls to the opposite order, hence using
|
By
Andy
·
#461
·
Edited
|
|
How to identify fields that are made dirty during an InstanceCallback from within a listener?
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
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
|
By
ebenzacar@...
·
#460
·
|
|
Re: Where/how to report updates needed to documentation?
Thanks. PR Created at https://github.com/datanucleus/docs-accessplatform/pull/15
Thanks,
Eric
Thanks. PR Created at https://github.com/datanucleus/docs-accessplatform/pull/15
Thanks,
Eric
|
By
ebenzacar@...
·
#459
·
|
|
Re: Where/how to report updates needed to documentation?
All is in GitHub, of course (link). Extensions docs are in Asciidoc format, under https://github.com/datanucleus/docs-accessplatform/tree/master/src/main/asciidoc/extensions
All is in GitHub, of course (link). Extensions docs are in Asciidoc format, under https://github.com/datanucleus/docs-accessplatform/tree/master/src/main/asciidoc/extensions
|
By
Andy
·
#458
·
Edited
|
|
Where/how to report updates needed to documentation?
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,
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,
|
By
ebenzacar@...
·
#457
·
Edited
|