Borland posted JBuilder roadmap outlining future development of JBuilder including previously announced JBuilder 2007 codenamed “Peloton”. It is expected to be released in Q4 of 2006 and will be based on Eclipse for its core IDE features. Features will include:
Support for new Java standards including Java SE 6 and the latest JSRs
Visual GUI development [...]
Full story »
Blojsom 3.0 employing Hibernate and Spring has been announced. That’s great news for everybody who was concerned about Blojsom performance and scalability related to using plain text to store blog entries instead of employing some kind of database backend.
Full story »
Planned release of Java SE 6, known as Mustang, slips to Autumn 2006 as indicated in this blog.
Full story »
If you are getting the following exception:
org.hibernate.HibernateException: Wrong column type…
when Hibernate 3.1 validates your MySQL 4.1 database schema using
<property name=”hbm2ddl.auto”>validate</property>
in your hibernate.cfg.xml check whether you have custom sql-type in your Hibernate mappings and whether it is written in lower case as in example below (sql-type=”mediumblob”):
<component name=”photo” class=”com.mpxsys.sample.model.user.BinaryData”>
<property name=”data” type=”binary”>
<column [...]
Full story »
We seem to be affected by java.lang.NoSuchMethodError problem described more in Hibernate forum and Hibernate Jira.
The solution that works for us is switching to the server VM using -server switch while starting Tomcat. It works for our production VM, which is:
java version “1.5.0_06″Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)Java HotSpot(TM) Server VM (build 1.5.0_06-b05, [...]
Full story »
The best references for Hibernate lazy fetching with Tapestry are Open Session in View pattern and, if you use Hibernate 3.1, generic DAO pattern with the latest Caveat Emptor constantly updated for Hibernate in Action 2nd edition, covering Hibernate 3.0 and 3.1
It is up to you to choose between session-per-request and session-per-conversation approach, but with [...]
Full story »
If you enabled read-only second-level cache in Hibernate and have the following error:
Stack Trace:
* org.hibernate.cache.ReadOnlyCache.lock(ReadOnlyCache.java:43)
* org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:69)
* org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
* org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
* org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:137)
* org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
* org.hibernate.event.def.DefaultFlushEventListener.onFlushefaultFlushEventListener.java:27)
* org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
[...]
Full story »
JBuilder 2006 will be Eclipse-based. This is the most exciting news I’ve heard in a while. Now it explains why Borland decided to throw so much weight behind Eclipse. Interesting questions now are how much this will influence projects like MyEclipseand how much stuff Borland will be willing to contribute outside of [...]
Full story »
On Monday, MyEclipse 4.0M1 finally got released. Now in addition to Struts, JSF, and Hibernate, it supports Tapestry via Spindle integration and UML modeling. The next milestone should have Spring integration and graphical JSP designer. Well, let’s see how it goes.
Full story »
Starting this week we started looking at Jakarta Tapestry. The main motivation behind this is the fact that it relies on ordinary HTML tags so we can clearly separate the roles of designer, HTML programmer, and Java developer. It’s been painful to use Struts in graphically rich Web applications and JSF didn’t make it better [...]
Full story »