You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2016/11/09 00:44:27 UTC
svn commit: r1768808 - in
/ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity:
jdbc/SQLProcessor.java util/SequenceUtil.java
Author: paulfoxworthy
Date: Wed Nov 9 00:44:27 2016
New Revision: 1768808
URL: http://svn.apache.org/viewvc?rev=1768808&view=rev
Log:
Fixed typo in error messages
Modified:
ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java
ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/SequenceUtil.java
Modified: ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java?rev=1768808&r1=1768807&r2=1768808&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java (original)
+++ ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java Wed Nov 9 00:44:27 2016
@@ -260,12 +260,12 @@ public class SQLProcessor {
_connection = TransactionFactoryLoader.getInstance().getConnection(helperInfo);
if (Debug.verboseOn()) Debug.logVerbose("SQLProcessor:connection() : manualTx=" + _manualTX, module);
} catch (SQLException sqle) {
- throw new GenericDataSourceException("Unable to esablish a connection with the database.", sqle);
+ throw new GenericDataSourceException("Unable to establish a connection with the database.", sqle);
}
// make sure we actually did get a connection
if (_connection == null) {
- throw new GenericDataSourceException("Unable to esablish a connection with the database. Connection was null!");
+ throw new GenericDataSourceException("Unable to establish a connection with the database. Connection was null!");
}
// test the connection
Modified: ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/SequenceUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/SequenceUtil.java?rev=1768808&r1=1768807&r2=1768808&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/SequenceUtil.java (original)
+++ ofbiz/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/util/SequenceUtil.java Wed Nov 9 00:44:27 2016
@@ -194,14 +194,14 @@ public class SequenceUtil {
try {
connection = TransactionFactoryLoader.getInstance().getConnection(SequenceUtil.this.helperInfo);
} catch (SQLException sqle) {
- Debug.logWarning("Unable to esablish a connection with the database. Error was:" + sqle.toString(), module);
+ Debug.logWarning("Unable to establish a connection with the database. Error was:" + sqle.toString(), module);
throw sqle;
} catch (GenericEntityException e) {
- Debug.logWarning("Unable to esablish a connection with the database. Error was: " + e.toString(), module);
+ Debug.logWarning("Unable to establish a connection with the database. Error was: " + e.toString(), module);
throw e;
}
if (connection == null) {
- throw new GenericEntityException("Unable to esablish a connection with the database, connection was null...");
+ throw new GenericEntityException("Unable to establish a connection with the database, connection was null...");
}
try {