Fun/Little Gotchas with JDO Typesafe queries.... Mon, Apr 25. 2011
(Update: me happy ... DataNucleus Platform 3.0M4 released ...
"RDBMS : Support JDOQL String.equalsIgnoreCase()")
I have been hacking around with JDO Typesafe for a private litte project - it's pretty nice. Actually, JDO typesafe isn't part of the standard -yet.
I hit an issue with this query utilizing equalsIgnoreCase - I posted a message on the Datanucleus bulletin board
I guess it simply isn't implemented yet
I have to prepare for an exam therefore I didn't have time to take a closer look at the code.
But I did take a glance at the code. All in all, the code quality of the Data Nucleus platform seems to be lightyears ahead of hibernate. Not to mention one other word: bugs.
Another small problem
On the downside, it's pretty hard to get Spring 3.0X support for one particular feature- which is a convenience feature, not critical: org.springframework.orm.jdo.TransactionAwarePersistenceManagerFactoryProxy, mentioned on this page .
Basically, for JDO Typesafe you need a JDOPersistenceManager, not a PersistenceManager - it's a DataNucleus feature right now, not part of the standard yet. This sounds like a solveable problem, with pure OO you can use covariance - but here we are dealing with a proxy thats created with CGlib at runtime, and its built to mimic PersistenceManager (of course!). You can't get away with simply extending TransactionAwarePersistenceManagerFactoryProxy and overriding some methods. Therefore I don't use TransactionAwarePersistenceManagerFactoryProxy - Its convenience anyway.
"RDBMS : Support JDOQL String.equalsIgnoreCase()")
I have been hacking around with JDO Typesafe for a private litte project - it's pretty nice. Actually, JDO typesafe isn't part of the standard -yet.
I hit an issue with this query utilizing equalsIgnoreCase - I posted a message on the Datanucleus bulletin board
I guess it simply isn't implemented yet
I have to prepare for an exam therefore I didn't have time to take a closer look at the code.
But I did take a glance at the code. All in all, the code quality of the Data Nucleus platform seems to be lightyears ahead of hibernate. Not to mention one other word: bugs.
Another small problem
On the downside, it's pretty hard to get Spring 3.0X support for one particular feature- which is a convenience feature, not critical: org.springframework.orm.jdo.TransactionAwarePersistenceManagerFactoryProxy, mentioned on this page .
Basically, for JDO Typesafe you need a JDOPersistenceManager, not a PersistenceManager - it's a DataNucleus feature right now, not part of the standard yet. This sounds like a solveable problem, with pure OO you can use covariance - but here we are dealing with a proxy thats created with CGlib at runtime, and its built to mimic PersistenceManager (of course!). You can't get away with simply extending TransactionAwarePersistenceManagerFactoryProxy and overriding some methods. Therefore I don't use TransactionAwarePersistenceManagerFactoryProxy - Its convenience anyway.
Cleaning up my homepage Sat, Apr 2. 2011
Back to basic, a simple, plain and clean page.
Reason: Small is beautiful. And this blog is powerful enough for dynamic content.
Good bye, old page:

Reason: Small is beautiful. And this blog is powerful enough for dynamic content.
Good bye, old page:

« previous page
(Page 1 of 1, totaling 2 entries)
next page »