Dave wrote:
Here's some status of the work in the roller_4.0 branch: a) Datamapper / JPA backend has been promoted - It's been moved from sandbox and into main source directories b) Datamapper / JPA passing all but one test and UI is working - And I'll be working to keep it in-sync with the Hibernate implementation - Open issue: JPA wants weblogcategory.websiteid to be nullable
I refuse to believe this is a JPA thing. it has to be something with the way you are using weblogs and categories which is broken because it's obvious that the websiteid for a category should never be null. We have other associations which are exactly like this (folder, weblog entry) which should be broken as well if this was really a JPA issue.
- Open issue: some parameterized queries should be cleaned up
In general, my feeling about the new Datamapper/JPA backend is that it's more confusing and difficult to understand and work on than the current Hibernate backend. Parameterized queries are definitely one part of the problem.
c) Roller-Weblogger UI updated to work with new Roller-Planet data model - Roller UI now assumes that there is one default Planet object - Roller UI now uses Planet PropertiesManager instead of PlanetConfigData
This one actually scares me a little bit. I have been operating under the assumption that the Planet application can be worked on and progress on a different schedule than the Weblogger application and they don't need to be tied together.
I think we need to be a little careful about promoting the changes in the Planet app to be used by Weblogger until things have stabalized.
-- Allen
d) components/core Module created - For code that is shared in both Roller-Planet and Roller-Weblogger - Right now this is only the core persistence classes - Like Planet, we build core separately and commit the jar to SVN - (see tools/roller-core/roller-core.jar and tools/roller-planet/roller-planet.jar) e) roller_4.0 branch is in sync with trunk as of today - And I'll be working to keep it in sync until we're done with 3.x releases - Beware: createdb and 3xx-to-400 migration scripts are in flux right now f) Started Struts2 migration, in anticipation of Struts2 UI work in 4.0 - Struts2 jars now included in build - Struts2 filter now included and mapped Comments, objections and suggestions are welcome... Next I plan to work on open issues in (b) and do some JMeter testing (and possibly some profiling) to compare the JPA and Hibernate implementations. - Dave
