Version 1.4 of UPM has just been released.
The most important feature in this release is the support for multiple languages. It ships with English and French language bundles but I’d really appreciate help from anyone who can fix up the French bundle (I used Google to translate but I don’t think it worked out too [...]
Archive for November, 2006
UPM 1.4 Released
27Nov06This post is really a record for both myself and anyone else who ever comes across the same problem.
The Problem: Given two entities with a many-to-many association between them, the join table isn’t being populated when an association is made.
The Problem Set: Two persistent entities, “Group” and “ActivityType” with a many-to-many association between them. A [...]
If you’ve ever tried to reuse a session in Hibernate you may have come across this exception…
org.hibernate.SessionException: Session is closed!
at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1319)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:301)
at [...]


