From 9c2eb65d2f8df2bc909364c6a1b693c9d3c60c99 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 3 Oct 2007 02:12:41 +0000 Subject: [PATCH] HHH-2849 : IdentifierGeneratorFactory error logging git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14041 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../main/java/org/hibernate/id/IdentifierGeneratorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/hibernate/id/IdentifierGeneratorFactory.java b/core/src/main/java/org/hibernate/id/IdentifierGeneratorFactory.java index 2c646797d4..08ff96a7ed 100644 --- a/core/src/main/java/org/hibernate/id/IdentifierGeneratorFactory.java +++ b/core/src/main/java/org/hibernate/id/IdentifierGeneratorFactory.java @@ -95,7 +95,7 @@ public final class IdentifierGeneratorFactory { return idgen; } catch (Exception e) { - throw new MappingException("could not instantiate id generator", e); + throw new MappingException("could not instantiate id generator [entity-name=" + params.get( IdentifierGenerator.ENTITY_NAME ) + "]", e); } }