|
JPA schema creation : Unique index on foreign-keys
2 messages
Hi, The schema tool is creating unique indexes on every foreign-key. I'm trying to reproduce the case on a shareable application, but I can't reproduce. The index name pattern is <Target table>_U<numb
Hi, The schema tool is creating unique indexes on every foreign-key. I'm trying to reproduce the case on a shareable application, but I can't reproduce. The index name pattern is <Target table>_U<numb
|
By
passignat@...
·
|
|
JPA native query parsing
2 messages
Hi, It seems DN parse the native queries before execution. I found 2 cases: -1- Query with * projection on flat inheritance model The model (ex: Client -|> Person) mapped on one single table PERSON (I
Hi, It seems DN parse the native queries before execution. I found 2 cases: -1- Query with * projection on flat inheritance model The model (ex: Client -|> Person) mapped on one single table PERSON (I
|
By
passignat@...
·
|
|
JPA schema creation : column name capitalized
2 messages
Hi, In the orm.xml files all names are lower case, but they are created in upper case in the database. How to make schema tool to keep unchanged the case of column names ? thanks -- Stephane
Hi, In the orm.xml files all names are lower case, but they are created in upper case in the database. How to make schema tool to keep unchanged the case of column names ? thanks -- Stephane
|
By
passignat@...
·
|
|
One Model mapped on several database type (JPA)
7 messages
Hello, Is it possible to have one mapping (file I guess) per database type, which are chosen at runtime "automatically" ? ex: orm-mysql.xml orm-h2.xml ... My need is I'm running the same application o
Hello, Is it possible to have one mapping (file I guess) per database type, which are chosen at runtime "automatically" ? ex: orm-mysql.xml orm-h2.xml ... My need is I'm running the same application o
|
By
passignat@...
·
|
|
Possible optimization when query candidate is a class with no base class
5 messages
When a candidate class for a query is a class that has no base class then, in an RDBMS datastore at least, there should be no need to specify discriminators because they don't need to be part of any f
When a candidate class for a query is a class that has no base class then, in an RDBMS datastore at least, there should be no need to specify discriminators because they don't need to be part of any f
|
By
Page bloom
·
|
|
Datanucleus 5 informix 11 Failed initialising database
3 messages
I am trying to connect to informix with no success. Here is the staketrace: Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/p
I am trying to connect to informix with no success. Here is the staketrace: Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/p
|
By
vthokonya@...
·
|
|
Warning about BigInteger after switching to MySQL Connector J version 8.0.15 from 5.1.40
The following error says I should report this to the DataNucleus developers so just doing my duty :) 22:54:15.392 [main] WARN DataNucleus.Datastore - Default type for java type of java.math.BigInteger
The following error says I should report this to the DataNucleus developers so just doing my duty :) 22:54:15.392 [main] WARN DataNucleus.Datastore - Default type for java type of java.math.BigInteger
|
By
Page bloom
·
|
|
Data nucleus with springboot
4 messages
Hi Guys, I would like to ask some help regarding the issue below. DataNucleus.Persistence : Error : Could not find API definition for name "JDO". Perhaps you dont have the requisite datanucleus-api-XX
Hi Guys, I would like to ask some help regarding the issue below. DataNucleus.Persistence : Error : Could not find API definition for name "JDO". Perhaps you dont have the requisite datanucleus-api-XX
|
By
rommeldsumpo@...
·
|
|
Experience with use of detachAllOnCommit
2 messages
To all my fellow DNers out there you might find this useful: I was experimenting with detachAllOnCommit and noticed that while it can be convenient by: Avoiding explicit code to carefully perform deta
To all my fellow DNers out there you might find this useful: I was experimenting with detachAllOnCommit and noticed that while it can be convenient by: Avoiding explicit code to carefully perform deta
|
By
Page bloom
·
|
|
Cassandra AutoAdd Column Fails Due to Wrong Syntax in Generated Query
2 messages
Hi, It looks like the CassandraSchemaHandler in the 5.1.0-release build does not have the appropriate cassandra CSQL for adding a column to the table. I am getting a sql error when the auto column cre
Hi, It looks like the CassandraSchemaHandler in the 5.1.0-release build does not have the appropriate cassandra CSQL for adding a column to the table. I am getting a sql error when the auto column cre
|
By
Mark F
·
|
|
Datanucleus. Occasional javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field “linkedObject”
3 messages
Hi Guys, I have posted this question here https://stackoverflow.com/questions/51088208/datanucleus-occasional-javax-jdo-jdodetachedfieldaccessexception-you-have-just. We get occasional exception while
Hi Guys, I have posted this question here https://stackoverflow.com/questions/51088208/datanucleus-occasional-javax-jdo-jdodetachedfieldaccessexception-you-have-just. We get occasional exception while
|
By
alex.khlystov@...
·
|
|
Mapping native query results to POJO
2 messages
Hello, I found out that I can map native query results to POJOs without any additional configuration: ```java public class Person { private int id; private String name; // getters/setters } List<Perso
Hello, I found out that I can map native query results to POJOs without any additional configuration: ```java public class Person { private int id; private String name; // getters/setters } List<Perso
|
By
@Mogaba
·
|
|
Apart from Prepared Statement Is there way to Prevent SQL Injection ?
2 messages
Hi, I would like to know, Is there a way to prevent SQl injection by setting some properties in datanucleus / JDO side. We are heavily using JDO in our product , Our Security team saying that Product
Hi, I would like to know, Is there a way to prevent SQl injection by setting some properties in datanucleus / JDO side. We are heavily using JDO in our product , Our Security team saying that Product
|
By
enataraj@...
·
|
|
Problems with DataNucleus JDO and MS Sql Server 2012
4 messages
When I try to read data from a very simple database table on the MS Sql Server 2012 by a DataNucleus JDO query, I get the following error message: Exception in thread "main" javax.jdo.JDODataStoreExce
When I try to read data from a very simple database table on the MS Sql Server 2012 by a DataNucleus JDO query, I get the following error message: Exception in thread "main" javax.jdo.JDODataStoreExce
|
By
Max Treptow
·
|
|
Possible optimization for "startsWith" in JDOQL (MySQL implementation)
2 messages
I noticed that if a JDOQL query filter has something like: firstNameLow.startsWith("fred") it gets translated to a LOCATE in the where clause where LOCATE('fred',a0.first_name_low) = 1; In MySQL (test
I noticed that if a JDOQL query filter has something like: firstNameLow.startsWith("fred") it gets translated to a LOCATE in the where clause where LOCATE('fred',a0.first_name_low) = 1; In MySQL (test
|
By
Page bloom
·
|
|
Calling PostgreSQL functions with StoredProcedureQuery
2 messages
Hello, I have problems with calling PostgreSQL functions with StoredProcedureQuery. My persistence.xml file: ```xml <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://xmlns.jcp.org/xml
Hello, I have problems with calling PostgreSQL functions with StoredProcedureQuery. My persistence.xml file: ```xml <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://xmlns.jcp.org/xml
|
By
@Mogaba
·
|
|
Custom keys and models with objectIdClass, cause an exception when quering using mongo
3 messages
Hello, I've some classes with a custom key which I believe satisfy datanucleus-JDO requirements; the key class is as follows: public final class Key implements Serializable { static final long serialV
Hello, I've some classes with a custom key which I believe satisfy datanucleus-JDO requirements; the key class is as follows: public final class Key implements Serializable { static final long serialV
|
By
Manuel Castillo
·
|
|
Application identity ("custom keys") might be breaking queries for inheritance classes
3 messages
Hello, I'm having a trouble when performing any kind of queries into collections mapped to classes with inheritance. I'm using datanucleus JDO with MongoDB. The key class I'm are using is like this: p
Hello, I'm having a trouble when performing any kind of queries into collections mapped to classes with inheritance. I'm using datanucleus JDO with MongoDB. The key class I'm are using is like this: p
|
By
Manuel Castillo
·
|
|
Exception when retrieving items modeled by inheritance classes from MongoDB using Datanucleus
me and my team are working on an upgrade of our company's system which as getting kind of forgotten and was running old versions of everything it uses; so developing newer features was becoming a pain
me and my team are working on an upgrade of our company's system which as getting kind of forgotten and was running old versions of everything it uses; so developing newer features was becoming a pain
|
By
Manuel Castillo
·
|
|
PersistentClassROF#getObject method performs a shallow search so not finding all subclasses
4 messages
We've noticed a problem where, during object retrieval of an object with a class that is 2 levels derived from an abstract base class, DN displays the message: > > [WARN ] 05:33:20.915 Retrieve - Foun
We've noticed a problem where, during object retrieval of an object with a class that is 2 levels derived from an abstract base class, DN displays the message: > > [WARN ] 05:33:20.915 Retrieve - Foun
|
By
Page bloom
·
|