|
DN 6.0.0-M1 released
6 messages
DN v6.0.0.m1 is released. Notable changes are Minimum Java requirement v11. Upgraded ASM to v9.1 to provide for all current bytecode. Support for Jakarta Persistence v3.0+ API. The JPA API is effectiv
DN v6.0.0.m1 is released. Notable changes are Minimum Java requirement v11. Upgraded ASM to v9.1 to provide for all current bytecode. Support for Jakarta Persistence v3.0+ API. The JPA API is effectiv
|
By
Andy
·
|
|
"No such database row" error when lazily loading a field of an entity
8 messages
I'm getting the below error (rather "randomly') when loading certain fields of my entities. I don't know where to start looking. Any kind of advice is appreciated. On DN 5.2 with SQL Server. Let me kn
I'm getting the below error (rather "randomly') when loading certain fields of my entities. I don't know where to start looking. Any kind of advice is appreciated. On DN 5.2 with SQL Server. Let me kn
|
By
mwhesse@...
·
|
|
Lazy loaded objects fetching from cache even cache is off
4 messages
Hi, I have two tables Like User and Location and they are mapped by one to many (Location is lazy loaded) Here are the operations performed (Same persistence manager for both requests) Ist request-> f
Hi, I have two tables Like User and Location and they are mapped by one to many (Location is lazy loaded) Here are the operations performed (Same persistence manager for both requests) Ist request-> f
|
By
pavansailendra04@...
·
|
|
Anyone using Redis or Hazelcast as a distributed L2 caching solution?
I need a distributed L2 caching solution and I've narrowed my options down to the big 3: - Redis - HazelCast - EhCache/Teracotta Although I've used Teracotta several years ago, I've somewhat eliminate
I need a distributed L2 caching solution and I've narrowed my options down to the big 3: - Redis - HazelCast - EhCache/Teracotta Although I've used Teracotta several years ago, I've somewhat eliminate
|
By
ebenzacar@...
·
|
|
JDOQL Subquery failing
4 messages
I'm trying to get a complex query working with a subquery in the filter which is failing in the JDOQL Parser. I have diluted it to a very simple use case with a subselect which is failing as well. Ple
I'm trying to get a complex query working with a subquery in the filter which is failing in the JDOQL Parser. I have diluted it to a very simple use case with a subselect which is failing as well. Ple
|
By
ebenzacar@...
·
|
|
javax.jdo (JDO API) 3.2.0-release
3 messages
With JDO API v3.2 pretty much feature complete finally (and DataNucleus v5.2 and 6.0 passing the JDO TCK, as they have at all points in its development) we have now released *v3.2.0-release* of our ve
With JDO API v3.2 pretty much feature complete finally (and DataNucleus v5.2 and 6.0 passing the JDO TCK, as they have at all points in its development) we have now released *v3.2.0-release* of our ve
|
By
Andy
·
|
|
the multi-morph feature of JPQL is not support when using jdoAPI?
7 messages
We have : @PersistenceCapable @Inheritance(strategy= InheritanceStrategy.SUBCLASS_TABLE) @DatastoreIdentity(strategy= IdGeneratorStrategy.SEQUENCE, sequence="jdoid_seq", column="ID") @Version(strategy
We have : @PersistenceCapable @Inheritance(strategy= InheritanceStrategy.SUBCLASS_TABLE) @DatastoreIdentity(strategy= IdGeneratorStrategy.SEQUENCE, sequence="jdoid_seq", column="ID") @Version(strategy
|
By
WeiMing.Tang@...
·
|
|
Custom Value Generator is not working in 5.2
8 messages
The Datanucleus Guide for Value Generator is old and does not correspond to 5.2 API https://www.datanucleus.org/products/accessplatform_5_2/extensions/extensions.html#store_valuegenerator There is no
The Datanucleus Guide for Value Generator is old and does not correspond to 5.2 API https://www.datanucleus.org/products/accessplatform_5_2/extensions/extensions.html#store_valuegenerator There is no
|
By
ponssaran@...
·
|
|
cascade-update not working in my case
5 messages
Class log { private int id; @Persistent(column = "userId", defaultFetchGroup = "true") @Extensions({@Extension(vendorName = "datanucleus", key = "cascade-update", value = "false")}) private User user;
Class log { private int id; @Persistent(column = "userId", defaultFetchGroup = "true") @Extensions({@Extension(vendorName = "datanucleus", key = "cascade-update", value = "false")}) private User user;
|
By
pavansailendra04@...
·
|
|
AttributeConverter, column type mapping (DN5.2 + JPA + Rdbms)
2 messages
Hello, I'm mapping a field using a AttributeConverter. The data stored is a string (json format). AttributeConverter<xxx,byte[]> Works great on MySQL. It's mapped on a medium blob. AttributeConverter<
Hello, I'm mapping a field using a AttributeConverter. The data stored is a string (json format). AttributeConverter<xxx,byte[]> Works great on MySQL. It's mapped on a medium blob. AttributeConverter<
|
By
stephane
·
|
|
Problem with "IS EMPTY" in JPQL queries
4 messages
Hi, I believe I have found a bug in the JPQLParser class, but I'm not entirely sure. Considering a User class, with a nullable 1-1 link to a UserAccount class, and a collection of Contract objects in
Hi, I believe I have found a bug in the JPQLParser class, but I'm not entirely sure. Considering a User class, with a nullable 1-1 link to a UserAccount class, and a collection of Contract objects in
|
By
william.martel@...
·
|
|
Problems avoiding cascade deletion in a N-1 relation
3 messages
Hi all, I've followed the Unidirectional ForeignKey example for N-1 relations: public class Account { ... @Column(name="USER_ID") User user; } public class User { ... } I create the User, then the Acc
Hi all, I've followed the Unidirectional ForeignKey example for N-1 relations: public class Account { ... @Column(name="USER_ID") User user; } public class User { ... } I create the User, then the Acc
|
By
claudio_rosati@...
·
|
|
How to create a BLOB column for a List<byte[]>
3 messages
Hello all, I a persisted class I have the following two instance variables: private List<File> referenceFiles = new ArrayList<>(); private List<byte[]> referenceFilesContent = new ArrayList<>(); where
Hello all, I a persisted class I have the following two instance variables: private List<File> referenceFiles = new ArrayList<>(); private List<byte[]> referenceFilesContent = new ArrayList<>(); where
|
By
claudio_rosati@...
·
|
|
How to record all the changes made in a transaction?
2 messages
We would like to do data trail with DN. That is , for every transaction, we want to record all the changes made in the transaction and log them in log file. We find that DN has interface org.datanucle
We would like to do data trail with DN. That is , for every transaction, we want to record all the changes made in the transaction and log them in log file. We find that DN has interface org.datanucle
|
By
WeiMing.Tang@...
·
|
|
Still problems with BLOB and LONG VARCHAR FOR BIT DATA columns
3 messages
Hello, I have an exception when I execute the following code: ```java private static void exportLibrary(PersistenceManagerFactory from, PersistenceManagerFactory to) { JDOReplicationManager replicator
Hello, I have an exception when I execute the following code: ```java private static void exportLibrary(PersistenceManagerFactory from, PersistenceManagerFactory to) { JDOReplicationManager replicator
|
By
claudio_rosati@...
·
|
|
Accessing originally loaded object during a Event Listener?
3 messages
I'm using DN 5.2 with JDO & MSSQL RDBMS. During a preStore event listener, how can I get access to the original state of the object when it was loaded? I found the following field `org.datanucleus.sta
I'm using DN 5.2 with JDO & MSSQL RDBMS. During a preStore event listener, how can I get access to the original state of the object when it was loaded? I found the following field `org.datanucleus.sta
|
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@...
·
|
|
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@...
·
|
|
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
·
|
|
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@...
·
|