Andy Jefferson
Andy Jefferson
Support persisting of Java enums as database enums. PostgreSQL: http://www.postgresql.org/docs/9.3/static/datatype-enum.html MySQL: https://dev.mysql.com/doc/refman/5.0/en/enum.html Not supported by all DB's though. Firebird, H2, SQLServer, Oracle for example do not have enums. The preferred...
We currently just set the jdbc-type to the default for the java type. But if the datastore type is inconsistent with that then this leads to errors. Better option is...
The load of a Map currently can involve more than 1 SQL. This is embodied in `SCOUtils.populateMapDelegateWithStoreData()`. In this method we reads in the keys (if persistable), then the values...
AbstractMemberMetaData has "getMapsIdAttribute" from annotations/XML. Need to make use of it. Could be useful if fully supporting '@EmbeddedId', for example ``` @Entity public class Employee { @Id long id; }...
Oracle (for storing large amounts of data, offline, in a BLOB column) requires some whacky process of inserting EMPTY_BLOB() on an INSERT and then retrieving and setting the actual value...
If we have a JDOQL query like `SELECT FROM Person WHERE this.firstName == :value` then this becomes `SELECT P.* FROM PERSON P WHERE P.FIRST_NAME = ?` If a Person has...
> relation-discriminator-column should apply to n-1 join tables. Currently, only ElementContainerTable deals with it, which means that the parent must have a Collection of children for it to work. Since...
The RDBMSManager schema management process is embodied in the "ClassAdder" process. This operates in its own transaction using a separate connection. The structure of RDBMSManager is overly complex as a...
See also https://github.com/datanucleus/datanucleus-core/issues/189. In JPA when a FETCH JOIN is specified on a 1-N candidate relation then we use bulk-fetch. In this case in question it is FETCH JOIN via...
Currently when a query has JDOHelper.getObjectId it just considers the identity value and not the class. It should also have a mapping for the discriminator, or equivalent (when using union)....