Author: epbernard
Date: 2006-08-28 23:55:01 -0400 (Mon, 28 Aug 2006)
New Revision: 10367
Modified:
trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/CollectionBinder.java
Log:
EJB-148 better message
Modified:
trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/CollectionBinder.java
===================================================================
---
trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/CollectionBinder.java 2006-08-28
23:46:43 UTC (rev 10366)
+++
trunk/HibernateExt/metadata/src/java/org/hibernate/cfg/annotations/CollectionBinder.java 2006-08-29
03:55:01 UTC (rev 10367)
@@ -1110,7 +1110,7 @@
collValue.getFetchMode() == FetchMode.JOIN &&
collValue.getElement().getFetchMode() != FetchMode.JOIN ) {
throw new MappingException(
- "@ManyToMany defining filter or where without join fetching "
+ "@ManyToMany or @CollectionOfElements defining filter or where without join
fetching "
+ "not valid within collection using join fetching[" +
collValue.getRole() + "]"
);
}
Show replies by date