Author: thomas.heute(a)jboss.com
Date: 2009-01-05 10:36:47 -0500 (Mon, 05 Jan 2009)
New Revision: 12426
Modified:
branches/JBoss_Portal_Branch_2_7/jems/src/main/org/jboss/portal/jems/hibernate/SessionFactoryBinder.java
Log:
JBEPP-21: WARN a user when using HSQL in portal
Modified:
branches/JBoss_Portal_Branch_2_7/jems/src/main/org/jboss/portal/jems/hibernate/SessionFactoryBinder.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/jems/src/main/org/jboss/portal/jems/hibernate/SessionFactoryBinder.java 2009-01-03
00:50:20 UTC (rev 12425)
+++
branches/JBoss_Portal_Branch_2_7/jems/src/main/org/jboss/portal/jems/hibernate/SessionFactoryBinder.java 2009-01-05
15:36:47 UTC (rev 12426)
@@ -240,7 +240,11 @@
}
}
log.debug("Using dialect " + dialectName);
-
+ if ("org.hibernate.dialect.HSQLDialect".equals(dialectName))
+ {
+ log.warn("You are using the file based HSQL database, this is not
recommended on a production environment and will not work properly on a clustered
environment.");
+ }
+
//
createSessionFactory();
Show replies by date