|
Multi Tenancy : find fails with a NPE on DN 2.5.6
Hi, I'm testing datanucleus.TenantReadIds and receive a NullPointerException PersistenceNucleusContextImpl:getMultiTenancyReadIds line 1928 return new String[] {ec.getStringProperty(PropertyNames.PROP
Hi, I'm testing datanucleus.TenantReadIds and receive a NullPointerException PersistenceNucleusContextImpl:getMultiTenancyReadIds line 1928 return new String[] {ec.getStringProperty(PropertyNames.PROP
|
By
passignat@...
·
|
|
Multi Tenancy : user belonging to several tenant
2 messages
Hi, I'm looking again at how to segment data based on user "profile". An easy to understand concept is to imagine an organisation with subsidiaries, each having departments, departments organized in t
Hi, I'm looking again at how to segment data based on user "profile". An easy to understand concept is to imagine an organisation with subsidiaries, each having departments, departments organized in t
|
By
passignat@...
·
|
|
JPA @ManyToMany @ForeignKey name not used
2 messages
Hi, I'm trying to specify foreign-key names. This helps to reduce the effort on db schema comparison at the end of development, to prepare the schema upgrade script. Actually it works very well on mos
Hi, I'm trying to specify foreign-key names. This helps to reduce the effort on db schema comparison at the end of development, to prepare the schema upgrade script. Actually it works very well on mos
|
By
passignat@...
·
|
|
Envers-style Auditing in DataNucleus?
4 messages
I'm evaluating DataNucleus as a JDO implementation vs a Hibernate JPA implementation. On of the big selling points that Hibernate provides is the Hibernate-Envers ( https://hibernate.org/orm/envers/ )
I'm evaluating DataNucleus as a JDO implementation vs a Hibernate JPA implementation. On of the big selling points that Hibernate provides is the Hibernate-Envers ( https://hibernate.org/orm/envers/ )
|
By
ebenzacar@...
·
|
|
Add default value to column
3 messages
I would like to add the default value of a field to the database column definition, in order to have the SchemaTool generating it in the database. I tried like in the doc, but without success: <mappin
I would like to add the default value of a field to the database column definition, in order to have the SchemaTool generating it in the database. I tried like in the doc, but without success: <mappin
|
By
passignat@...
·
|
|
Table not found in MySQL8
3 messages
Hi, I'm facing some issue to use a fresh new mysql8 server. DN doesn't find the tables because of case sensitivity. Tables are created in lowercase while DN search for upper case. Debugging schema int
Hi, I'm facing some issue to use a fresh new mysql8 server. DN doesn't find the tables because of case sensitivity. Tables are created in lowercase while DN search for upper case. Debugging schema int
|
By
passignat@...
·
|
|
MYSQL 8 Index/candidate part #0
Hi, I faced issues to use the SchemaTool with MySQL 8 failing to upgrade the schema or to recreate it from scratch, with the error "Index/candidate part #0". In a debug session of the SchemaTool, I ob
Hi, I faced issues to use the SchemaTool with MySQL 8 failing to upgrade the schema or to recreate it from scratch, with the error "Index/candidate part #0". In a debug session of the SchemaTool, I ob
|
By
passignat@...
·
|
|
DN website
2 messages
Currently unavailable due to change of ISP. Use downloadable docs from sourceforge. Hopefully back soon
Currently unavailable due to change of ISP. Use downloadable docs from sourceforge. Hopefully back soon
|
By
Andy
·
|
|
datanucleus.query.resultSizeMethod of "COUNT" is only valid for use with JDOQL or JPQL currently
13 messages
Hello, I am migrating from 2.x to 5.x and getting below exception during runtime, please advice how to fix this issue. datanucleus.query.resultSizeMethod of "COUNT" is only valid for use with JDOQL or
Hello, I am migrating from 2.x to 5.x and getting below exception during runtime, please advice how to fix this issue. datanucleus.query.resultSizeMethod of "COUNT" is only valid for use with JDOQL or
|
By
mayank.chawla@...
·
|
|
How to use datanucleus.CurrentUserProvider?
6 messages
According to JDO Mapping Guide ( https://www.datanucleus.org/products/accessplatform_5_1/jdo/mapping.html#_defining_the_current_user ) , to support auditing @CreateUser, we could define an implementat
According to JDO Mapping Guide ( https://www.datanucleus.org/products/accessplatform_5_1/jdo/mapping.html#_defining_the_current_user ) , to support auditing @CreateUser, we could define an implementat
|
By
1919wang@...
·
|
|
DyadicExpression "OR" compiles into nested SQL expressions which exhausts the stack of the underlying DB
3 messages
Hi everyone, I use JDOQL with Datanucleus 4 and Spanner as backend. I use Spanner as a backend for some time and it works mostly fine. But recently I hit a problem when there are too many OR statement
Hi everyone, I use JDOQL with Datanucleus 4 and Spanner as backend. I use Spanner as a backend for some time and it works mostly fine. But recently I hit a problem when there are too many OR statement
|
By
yunus@...
·
|
|
Converter not working with datanucleus-mongodb
5 messages
When persisting this model with datanucleus-mongodb @PersistenceCapable public class Room implements Serializable { @PrimaryKey @Persistent(valueStrategy= IdGeneratorStrategy.IDENTITY) private String
When persisting this model with datanucleus-mongodb @PersistenceCapable public class Room implements Serializable { @PrimaryKey @Persistent(valueStrategy= IdGeneratorStrategy.IDENTITY) private String
|
By
qquantum@...
·
|
|
How to do range query with Datanucleus/JDO?
2 messages
What would be the Datanucleus/JDO implementation to this: Suppose I have a POJO, `Hub` which represents a place/location: ```java class Hub { List<Schedule> schedules; } ``` And a `Schedule` class to
What would be the Datanucleus/JDO implementation to this: Suppose I have a POJO, `Hub` which represents a place/location: ```java class Hub { List<Schedule> schedules; } ``` And a `Schedule` class to
|
By
qquantum@...
·
|
|
Ambiguous column names in subquery
3 messages
Hello, As part of migration from 2.x to 5.x, we are facing a error because the select statement is having ambiguous column name. Same code was working with previous version, looks like we have to chan
Hello, As part of migration from 2.x to 5.x, we are facing a error because the select statement is having ambiguous column name. Same code was working with previous version, looks like we have to chan
|
By
mayank.chawla@...
·
|
|
Object deletion with optimistic version field failed
4 messages
Hi, Since I added optimistic locking, with a numeric version attribute, the deletion doesn't work. ERROR DataNucleus.Persistence - Object with id "1" in table I18N_MESSAGE has no version set on the ob
Hi, Since I added optimistic locking, with a numeric version attribute, the deletion doesn't work. ERROR DataNucleus.Persistence - Object with id "1" in table I18N_MESSAGE has no version set on the ob
|
By
passignat@...
·
|
|
Change in enhanced classes implemented interface from PersistenceCapable to Persistable from version 4.x
2 messages
Hello, I am migrating from 2.x to 5.x and all my old code is around javax.jdo.spi.PersistenceCapable(types casting from object type etc). But now when I enhanced my classes using latest version, I can
Hello, I am migrating from 2.x to 5.x and all my old code is around javax.jdo.spi.PersistenceCapable(types casting from object type etc). But now when I enhanced my classes using latest version, I can
|
By
mayank.chawla@...
·
|
|
To set length of Datanucleus db2 column of type CLOB to 1M
6 messages
Hello, I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns i
Hello, I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns i
|
By
mayank.chawla@...
·
|
|
How to alter a column length
3 messages
Hello all, I have defined a java class using the default attributes: @PersistenceCapable(detachable = "true") public class PropertyTemplate { ... private String description; ... } And stared using the
Hello all, I have defined a java class using the default attributes: @PersistenceCapable(detachable = "true") public class PropertyTemplate { ... private String description; ... } And stared using the
|
By
claudio_rosati@...
·
|
|
Can someone point me where I can find a working example to call stored procedure from DN apis
2 messages
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
|
By
ab.jaipur@...
·
|
|
Datanucleus and Android
7 messages
I have seen rumours of Datanucleus running on Android. I assumed it would because of SQLite support, but this was a mistake. Before I switch to a different persistence method, is there any way that Da
I have seen rumours of Datanucleus running on Android. I assumed it would because of SQLite support, but this was a mistake. Before I switch to a different persistence method, is there any way that Da
|
By
steve@...
·
|