|
From: <hib...@li...> - 2006-07-24 10:37:03
|
Author: max...@jb...
Date: 2006-07-24 06:36:54 -0400 (Mon, 24 Jul 2006)
New Revision: 10134
Modified:
trunk/Hibernate3/src/org/hibernate/loader/hql/QueryLoader.java
Log:
mingled order of types in exception message
Modified: trunk/Hibernate3/src/org/hibernate/loader/hql/QueryLoader.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/loader/hql/QueryLoader.java 2006-07-24 10:35:25 UTC (rev 10133)
+++ trunk/Hibernate3/src/org/hibernate/loader/hql/QueryLoader.java 2006-07-24 10:36:54 UTC (rev 10134)
@@ -519,8 +519,8 @@
catch( ClassCastException cce ) {
throw new TypeMismatchException(
"named parameter [" + name + "] not of expected type; expected = " +
- typedval.getValue().getClass().getName() + "; but was =" +
- typedval.getType().getReturnedClass()
+ typedval.getType().getReturnedClass() + "; but was =" +
+ typedval.getValue().getClass().getName()
);
}
}
|