[cvs]
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/config
JDBCConfig.java
JCorporate Ltd
jcorp at jcorp2.servlets.net
Mon Sep 20 13:09:44 PDT 2004
Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/config
In directory jcorp2.servlets.net:/tmp/cvs-serv4994
Modified Files:
JDBCConfig.java
Log Message:
<Aucun commentaire entré>
Index: JDBCConfig.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/config/JDBCConfig.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** JDBCConfig.java 20 Sep 2004 19:21:25 -0000 1.7
--- JDBCConfig.java 20 Sep 2004 20:09:42 -0000 1.8
***************
*** 122,125 ****
--- 122,127 ----
protected String useNullOnCreate = "n";
protected String nativeBool = "y";
+ protected String transactionNotActive = "n";
+ protected String stringNotTrim = "n";
protected String checkZeroUpdate = null;
protected String escapeHandler =
***************
*** 129,132 ****
--- 131,136 ----
protected String nativeBlob = "n";
+ protected String dbSchema = null;
+ protected String dbCatalogue = null;
***************
*** 759,762 ****
--- 763,854 ----
typeMappings.add(newValue);
}
+
+ /**
+ * Get the NoTrim parameter setting
+ *
+ * @return java.lang.String
+ */
+ public String getStringNotTrim() {
+ return stringNotTrim;
+ }
+
+ /**
+ * Get the transaction non action setting
+ *
+ * @return java.lang.String
+ */
+ public String getTransactionNotActive() {
+ return transactionNotActive;
+ }
+
+ /**
+ * Set the NoTrim parameter setting
+ *
+ * @param string
+ */
+ public void setStringNotTrim(String newValue) {
+ StringUtil.assertBoolean(newValue,
+ "You must specify a boolean value for stringNoTrim attribute");
+ this.stringNotTrim = newValue;
+ }
+
+ /**
+ * Set the transaction non action parameter
+
+ * * @param string
+ */
+ public void setTransactionNotActive(String newValue) {
+ StringUtil.assertBoolean(newValue,
+ "You must specify a boolean value for transactionNotActive attribute");
+ transactionNotActive = newValue;
+ }
+
+ /**
+ * Return whether this database persistence string will not be trimmed before store it
+ * and get it after.
+ *
+ * * @return boolean true if database string column will not be trimmed before or after store or get.
+ */
+ public boolean isStringNotTrim() {
+ return StringUtil.toBoolean(this.stringNotTrim);
+ }
+
+ /**
+ * Return whether this database transaction is active or not
+ *
+ * @return boolean true if database transactive will not activate.
+ */
+ public boolean isTransactionNotActive() {
+ return StringUtil.toBoolean(this.transactionNotActive);
+ }
+
+
+ /**
+ * @return
+ */
+ public String getDbCatalogue() {
+ return dbCatalogue;
+ }
+
+ /**
+ * @return
+ */
+ public String getDbSchema() {
+ return dbSchema;
+ }
+
+ /**
+ * @param string
+ */
+ public void setDbCatalogue(String newValue) {
+ this.dbCatalogue = newValue;
+ }
+
+ /**
+ * @param string
+ */
+ public void setDbSchema(String newValue) {
+ this.dbSchema = newValue;
+ }
}
More information about the cvs
mailing list