[Hibernate-JIRA] Created: (HHH-3140) Region prefix ignored for entities and collections
by Brian Stansberry (JIRA)
Region prefix ignored for entities and collections
--------------------------------------------------
Key: HHH-3140
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3140
Project: Hibernate3
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.3
Reporter: Brian Stansberry
Fix For: 3.3
The way hibernate handles hibernate.cache.region_prefix varies between the Region types. When RegionFactory.buildQueryResultsRegion() and buildTimestampsRegion() are called, any region_prefix is prepended to the passed regionName. With entities and collection's it is not.
(01:45:56 PM) besYIM: well, I looked in hibernate-core for usages of Settings.getCacheRegionPrefix() and the only usage was in the StandardQueryCache and UpdateTimestampsCache classes
(01:48:48 PM) steve_ebersole78613: oh, i think i just missed that for entity and collections
(01:49:02 PM) steve_ebersole78613: it used to be handled by a class no longer there
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years
[Hibernate-JIRA] Created: (EJB-324) Deployed Maven POM incorrectly excludes transitive dependency
by Joe Germuska (JIRA)
Deployed Maven POM incorrectly excludes transitive dependency
-------------------------------------------------------------
Key: EJB-324
URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-324
Project: Hibernate Entity Manager
Issue Type: Bug
Affects Versions: 3.3.1.GA
Environment: Maven 2
Reporter: Joe Germuska
Priority: Trivial
The deployed Maven POM for Hibernate Entity Manager 3.3.1.ga incorrectly excludes the dependency upon the oswego-concurrent libraries (see below). This leads to a NoClassDefFound error:
nested exception is java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
Caused by:
java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
at org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)
I haven't yet determined how the Maven POMs are being managed by the Hibernate team, but they don't seem to be in Subversion; therefore, I've marked this trivial, although it is a little more than that for someone who is trying to use the Maven repository.
In any case, it should be easy to fix. More generally, it might be more correct to employ Maven's ranged version dependency syntax, instead of explicitly excluding other dependencies.
excerpt from http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.3.1...
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>2.0.4.GA</version>
<exclusions>
...
<exclusion>
<groupId>oswego-concurrent</groupId>
<artifactId>concurrent</artifactId>
</exclusion>
...
</exclusions>
</dependency>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years