cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r894639 - in /cayenne/main/trunk: docs/doc/src/main/resources/ framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/
Date Wed, 30 Dec 2009 15:06:09 GMT
Author: aadamchik
Date: Wed Dec 30 15:06:08 2009
New Revision: 894639

URL: http://svn.apache.org/viewvc?rev=894639&view=rev
Log:
CAY-1336 Oracle specific type support (oracle.sql.*), add handlers.

some minor changes to follow Cayenne informal coding patterns:

* added @since 3.1 annotation
* made the new types non-public
* mention of the jira # in release notes

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleBLOBType.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCLOBType.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCharType.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleDateType.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=894639&r1=894638&r2=894639&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Wed Dec 30 15:06:08 2009
@@ -22,6 +22,7 @@
 CAY-1323 oracle.sql.TIMESTAMP in Result of query
 CAY-1329 DI-based cayenne-project module
 CAY-1331 hessian upgrade stops rop
+CAY-1336 Oracle specific type support (oracle.sql.*), add handlers.
 CAY-1338 Move CayenneUserDir to the Modeler
 CAY-1340 Implement ConfigurationNode / ConfigurationNodeVisitor for the Cayenne project tree,
including DataMap objects.
 CAY-1342 Remove wocompat package from Cayenne core

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleBLOBType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleBLOBType.java?rev=894639&r1=894638&r2=894639&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleBLOBType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleBLOBType.java
Wed Dec 30 15:06:08 2009
@@ -21,12 +21,14 @@
 import org.apache.cayenne.access.types.ByteArrayType;
 
 /**
- * This is handler for Oracle specific type "oracle.sql.BLOB" Oracle official JDBC
- * Driver is mapping SQL BLOB to this type.
+ * This is handler for Oracle specific type "oracle.sql.BLOB" Oracle official JDBC Driver
+ * is mapping SQL BLOB to this type.
+ * 
+ * @since 3.1
  */
-public class OracleBLOBType extends ByteArrayType {
+class OracleBLOBType extends ByteArrayType {
 
-    public OracleBLOBType(boolean trimmingBytes) {
+    OracleBLOBType(boolean trimmingBytes) {
         super(trimmingBytes, true);
     }
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCLOBType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCLOBType.java?rev=894639&r1=894638&r2=894639&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCLOBType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCLOBType.java
Wed Dec 30 15:06:08 2009
@@ -21,12 +21,14 @@
 import org.apache.cayenne.access.types.CharType;
 
 /**
- * This is handler for Oracle specific type "oracle.sql.CLOB" Oracle official JDBC
- * Driver is mapping SQL CLOB to this type.
+ * This is handler for Oracle specific type "oracle.sql.CLOB" Oracle official JDBC Driver
+ * is mapping SQL CLOB to this type.
+ * 
+ * @since 3.1
  */
-public class OracleCLOBType extends CharType {
+class OracleCLOBType extends CharType {
 
-    public OracleCLOBType(boolean trimingChars) {
+    OracleCLOBType(boolean trimingChars) {
         super(trimingChars, true);
     }
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCharType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCharType.java?rev=894639&r1=894638&r2=894639&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCharType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleCharType.java
Wed Dec 30 15:06:08 2009
@@ -21,12 +21,14 @@
 import org.apache.cayenne.access.types.CharType;
 
 /**
- * This is handler for Oracle specific type "oracle.sql.CHAR" Oracle official JDBC
- * Driver is mapping SQL CHAR to this type.
+ * This is handler for Oracle specific type "oracle.sql.CHAR" Oracle official JDBC Driver
+ * is mapping SQL CHAR to this type.
+ * 
+ * @since 3.1
  */
-public class OracleCharType extends CharType {
+class OracleCharType extends CharType {
 
-    public OracleCharType(boolean trimingChars) {
+    OracleCharType(boolean trimingChars) {
         super(trimingChars, false);
     }
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleDateType.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleDateType.java?rev=894639&r1=894638&r2=894639&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleDateType.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleDateType.java
Wed Dec 30 15:06:08 2009
@@ -19,14 +19,15 @@
 package org.apache.cayenne.dba.oracle;
 
 /**
- * This is handler for Oracle specific type "oracle.sql.DATE" Oracle official JDBC
- * Driver is mapping SQL DATE to this type.
+ * This is handler for Oracle specific type "oracle.sql.DATE" Oracle official JDBC Driver
+ * is mapping SQL DATE to this type.
+ * 
+ * @since 3.1
  */
-public class OracleDateType extends OracleUtilDateType {
+class OracleDateType extends OracleUtilDateType {
 
     @Override
     public String getClassName() {
         return "oracle.sql.DATE";
     }
-
 }



Mime
View raw message