Author: epbernard
Date: 2008-01-15 18:52:45 -0500 (Tue, 15 Jan 2008)
New Revision: 14279
Modified:
entitymanager/trunk/src/java/org/hibernate/ejb/Ejb3Configuration.java
Log:
comments typo
Modified: entitymanager/trunk/src/java/org/hibernate/ejb/Ejb3Configuration.java
===================================================================
--- entitymanager/trunk/src/java/org/hibernate/ejb/Ejb3Configuration.java 2008-01-15
23:15:54 UTC (rev 14278)
+++ entitymanager/trunk/src/java/org/hibernate/ejb/Ejb3Configuration.java 2008-01-15
23:52:45 UTC (rev 14279)
@@ -752,7 +752,7 @@
cfg.configure( cfgFileName );
}
- cfg.addProperties( preparedProperties ); //persistence.xml has priority over
hibernate.Cfg.xml
+ cfg.addProperties( preparedProperties ); //persistence.xml has priority over
hibernate.cfg.xml
addClassesToSessionFactory( workingVars );
@@ -952,7 +952,7 @@
private Properties prepareProperties(Properties properties, Map workingVars) {
Properties preparedProperties = new Properties();
- //defaults different to Hibernate
+ //defaults different from Hibernate
preparedProperties.setProperty( Environment.RELEASE_CONNECTIONS, "auto" );
preparedProperties.setProperty( Environment.JPAQL_STRICT_COMPLIANCE, "true"
);
//settings that always apply to a compliant EJB3
@@ -964,7 +964,7 @@
//override the new defaults with the user defined ones
//copy programmatically defined properties
if ( cfg.getProperties() != null ) preparedProperties.putAll( cfg.getProperties() );
- //copy them co;ing from configuration
+ //copy them coping from configuration
if ( properties != null ) preparedProperties.putAll( properties );
//note we don't copy cfg.xml properties, since they have to be overriden