From fcd6f1b330f0bd4e9df05e52b043df4464ce5b4a Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Tue, 17 Dec 2013 14:28:48 -0500 Subject: [PATCH] HHH-2298 WARN if using build-in conn pool --- .../src/main/java/org/hibernate/internal/CoreMessageLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java index 3d400ee2a2..16c0f54b2f 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java @@ -1411,7 +1411,7 @@ public interface CoreMessageLogger extends BasicLogger { void usingDriver(String driverClassName, String url); - @LogMessage(level = INFO) + @LogMessage(level = WARN) @Message(value = "Using Hibernate built-in connection pool (not for production use!)", id = 402) void usingHibernateBuiltInConnectionPool();