http://jira.jboss.org/jira/browse/JBSEAM-1404
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051813#4051813
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051813
___
jboss-user
Should all be fixed in current CVS, please test it for us.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051869#4051869
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051869
___
seam generate-entities is failing for me with the latest CVS tree because
ehcache is missing from the lib directory. It reports a
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4050774#4050774
After supplying the ehcache jar, generate-entities fails with a new error:
anonymous wrote :
| BUILD FAILED
| java.lang.IllegalAccessError: tried to access field
org.hibernate.cfg.Collection
| SecondPass.collection from class
org.hibernate.cfg.JDBCBinder$JDBCCollectionSecondPass
View the
org.hibernate.cache is just a wrapper wround the underlying cache provider,
which provides consistency semantics. It is not an actual cache.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3992036#3992036
Reply to the post :
Why are you using Persistence.createEntityManagerFactory()? By doing this, you
bypass the settings in default.persistence.properties.
Well, the fix is to edit persistence.xml and set the cache provider to
something other than EHCache, or to add ehcache to the classpath.
View the original
Gavin, thanks for the reply.
Some background.
I am attempting to write a unit test for an Entity Bean with the intention of
unit testing that named queries function as expected. I have followed the test
code from the dvdstore example (specifically ProductUnitTest). Any additional
pointers as