|
Sequence Support for MS SqlServer?
2 messages
Hi, According to the docs, there is support for Sequences for SQL Server. I see it as well in the org.datanucleus.store.rdbms.adapter.SQLServerAdapter class. However, when I configure my Model with th
Hi, According to the docs, there is support for Sequences for SQL Server. I see it as well in the org.datanucleus.store.rdbms.adapter.SQLServerAdapter class. However, when I configure my Model with th
|
By
ebenzacar@...
·
|
|
Trouble understanding how to lookup objects that have a Datastore Identity by their PK (if the PK is not identified in the model)
5 messages
I'm migrating an application that was writing with Kodo4 (JDO 2.2). Most of the objects/models use implicit datastore-identity with no fields identified in the model as the PK, but over time, develope
I'm migrating an application that was writing with Kodo4 (JDO 2.2). Most of the objects/models use implicit datastore-identity with no fields identified in the model as the PK, but over time, develope
|
By
ebenzacar@...
·
|
|
Compilation error on ObjectExpression in generated Q class
2 messages
I have a javax.validation.Min annotation on an Integer field in my JDO entity @Column(allowsNull = "true") @Min(0) @Getter @Setter private Integer scale; The generated Q code for this field is this, a
I have a javax.validation.Min annotation on an Integer field in my JDO entity @Column(allowsNull = "true") @Min(0) @Getter @Setter private Integer scale; The generated Q code for this field is this, a
|
By
mwhesse@...
·
|
|
Multitenancy disabled doesn't work (probably a bug)
Hi, The disable option doesn't work: @MultiTenant (disable = true ) In the MultiTenantHandler DN looks for disabled instead of disable attribute name. And then the disable extension is added if it's n
Hi, The disable option doesn't work: @MultiTenant (disable = true ) In the MultiTenantHandler DN looks for disabled instead of disable attribute name. And then the disable extension is added if it's n
|
By
stephane
·
|
|
Any way to use JPA and JDO together easily?
3 messages
As I am migrating my legacy Kodo based application to DataNucleus, I noticed that the application uses both JDO for most persistence based interaction, however has several JPQL queries which leverage
As I am migrating my legacy Kodo based application to DataNucleus, I noticed that the application uses both JDO for most persistence based interaction, however has several JPQL queries which leverage
|
By
ebenzacar@...
·
|
|
Proper configuration with the JCA connector in WIldfly
2 messages
I'm trying to integrate my instance of JBoss/Wildfly 10 with the Datanucleus JCA-JDO connector. I saw an original post for JBoss AS7 ( https://developer.jboss.org/docs/DOC-17094 ) as linked from the D
I'm trying to integrate my instance of JBoss/Wildfly 10 with the Datanucleus JCA-JDO connector. I saw an original post for JBoss AS7 ( https://developer.jboss.org/docs/DOC-17094 ) as linked from the D
|
By
ebenzacar@...
·
|
|
How to configured the PersistenceManager for Bean Managed Transactions?
3 messages
I'm trying to integrate DN (JDO) into my JEE application via the JCA adapter, and configure the Persistence manager to understand BeanManagedTransactions. I am retrofitting this into existing code (fo
I'm trying to integrate DN (JDO) into my JEE application via the JCA adapter, and configure the Persistence manager to understand BeanManagedTransactions. I am retrofitting this into existing code (fo
|
By
ebenzacar@...
·
|
|
Strange behaviour running in WIldfly 10 with EmulatedXAResource
2 messages
I'm encountering a strange behaviour for which I have not been able to pinpoint the cause and was hoping that someone could help point me in the right direction. I have an application running under JB
I'm encountering a strange behaviour for which I have not been able to pinpoint the cause and was hoping that someone could help point me in the right direction. I have an application running under JB
|
By
ebenzacar@...
·
|
|
Multitenancy query result error - query cache key (bug ?)
Hi, When 2 queries with the same tenant but different tenantReaders are executed, the second one returns the result of the first one. The SQL generated is the same for the second query while it should
Hi, When 2 queries with the same tenant but different tenantReaders are executed, the second one returns the result of the first one. The SQL generated is the same for the second query while it should
|
By
stephane
·
|
|
Migration from Kodo: Any way to make it store foreign keys to later get already loaded objects from cache (for performance)?
23 messages
Hi I try to migrate a legacy application (on Kodo 3.4, develped over 10+ years). I now created all needed plugins so our very much not JDO compliant code runs. However, now that it works I have a mass
Hi I try to migrate a legacy application (on Kodo 3.4, develped over 10+ years). I now created all needed plugins so our very much not JDO compliant code runs. However, now that it works I have a mass
|
By
dosiwelldi
·
|
|
Any way to configure "development" mode for DataNucleus to force it to reload class metadata?
3 messages
I'm working on a fairly large, slow startup legacy application in which I am slowly trying to integrate DataNucleus. I am also leveraging JRebel, which allows me to modify most classes on the fly with
I'm working on a fairly large, slow startup legacy application in which I am slowly trying to integrate DataNucleus. I am also leveraging JRebel, which allows me to modify most classes on the fly with
|
By
ebenzacar@...
·
|
|
How do the Query/Result caches and the L1 cache work together?
2 messages
I've been encountering something I don't understand with the Query caches and the L1 cache. I've tried reading the DN docs a few times, but I am still confused by the results I am seeing. My persisten
I've been encountering something I don't understand with the Query caches and the L1 cache. I've tried reading the DN docs a few times, but I am still confused by the results I am seeing. My persisten
|
By
ebenzacar@...
·
|
|
JDBC Batch
5 messages
Hi, Are there any options to deactivate foreign-key constraints, then insert/update/delete table per table using batches, and then reactivate foreign-key at the commit ? I used a product with that fea
Hi, Are there any options to deactivate foreign-key constraints, then insert/update/delete table per table using batches, and then reactivate foreign-key at the commit ? I used a product with that fea
|
By
stephane
·
|
|
Problems with extra N+1 requests - likely due to poor mapping defns, but not sure how to rectify
10 messages
I'm having some strange RDBMS N+1 calls most likely due to my mappings, but am not sure if this is a DN Persistence configuration issue or a mapping issue. I'm using MSSQL. My problem is that I have a
I'm having some strange RDBMS N+1 calls most likely due to my mappings, but am not sure if this is a DN Persistence configuration issue or a mapping issue. I'm using MSSQL. My problem is that I have a
|
By
ebenzacar@...
·
|
|
Plugins branched for v6.0
For anyone developing any DN plugin, the majority are now branched so that "master" is for v6.0. Use the release branch for whichever version you are developing for
For anyone developing any DN plugin, the majority are now branched so that "master" is for v6.0. Use the release branch for whichever version you are developing for
|
By
Andy
·
|
|
Does JDO provide a hook/trigger to identify a transaction commit/boundary?
2 messages
I'm working on migrating legacy code that was using the OpenJPA Transaction Listener to identify a transaction boundary (commit) to trigger some post-commit functionality. The logic is a bit messy, bu
I'm working on migrating legacy code that was using the OpenJPA Transaction Listener to identify a transaction boundary (commit) to trigger some post-commit functionality. The logic is a bit messy, bu
|
By
ebenzacar@...
·
|
|
Problems with Java 16
5 messages
Hello all, I'm migrating from java 8 to Java 16, and building one of my Maven projects fails with the following message: ``` Failed to execute goal org.datanucleus:datanucleus-maven-plugin:6.0.0-m1:en
Hello all, I'm migrating from java 8 to Java 16, and building one of my Maven projects fails with the following message: ``` Failed to execute goal org.datanucleus:datanucleus-maven-plugin:6.0.0-m1:en
|
By
claudio_rosati@...
·
|
|
How to use PreparedStatements with the Persistence Manager?
3 messages
I have a few pieces of code that use native PreparedStatements, but am having trouble using them in conjunction with the PersistenceManager. The current approach is: Connection conn = (Connection)pers
I have a few pieces of code that use native PreparedStatements, but am having trouble using them in conjunction with the PersistenceManager. The current approach is: Connection conn = (Connection)pers
|
By
ebenzacar@...
·
|
|
How to use Queries that do not start with "SELECT" but return a data set?
2 messages
My DBA has prepared some custom SQL queries that he does not want to put into StoredProcs. So I want to execute them via a normal Query.executeResultList(). However, I noticed that if the query does n
My DBA has prepared some custom SQL queries that he does not want to put into StoredProcs. So I want to execute them via a normal Query.executeResultList(). However, I noticed that if the query does n
|
By
ebenzacar@...
·
|
|
ResultClass cannot inherit class with same field names?
Hi, I'm not sure if this is a bug or by design. I have raised an issue in the Datanucleus-rdbms project at https://github.com/datanucleus/datanucleus-rdbms/issues/384, ( https://github.com/datanucleus
Hi, I'm not sure if this is a bug or by design. I have raised an issue in the Datanucleus-rdbms project at https://github.com/datanucleus/datanucleus-rdbms/issues/384, ( https://github.com/datanucleus
|
By
ebenzacar@...
·
|