|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
"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@...
·
|
|
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
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|
|
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@...
·
|