2 new revisions:

Revision: b81bf4e84d46
Author:   Rick Shaw <[email protected]>
Date:     Fri Nov  4 20:25:07 2011
Log:      Fix issue #4...
http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/detail?r=b81bf4e84d46

Revision: 108e80b03b84
Author:   Rick Shaw <[email protected]>
Date:     Fri Nov  4 20:48:59 2011
Log:      Update CHANGES.txt
http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/detail?r=108e80b03b84

==============================================================================
Revision: b81bf4e84d46
Author:   Rick Shaw <[email protected]>
Date:     Fri Nov  4 20:25:07 2011
Log:      Fix issue #4

Delete 2 unused files: DriverRedsolverException.java,
InvalidUrlException.java
http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/detail?r=b81bf4e84d46

Deleted:
 /src/main/java/org/apache/cassandra/cql/jdbc/DriverResolverException.java
 /src/main/java/org/apache/cassandra/cql/jdbc/InvalidUrlException.java
Modified:
 /src/main/java/org/apache/cassandra/cql/jdbc/CResultSet.java

=======================================
--- /src/main/java/org/apache/cassandra/cql/jdbc/DriverResolverException.java Thu Oct 13 00:45:22 2011
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.cassandra.cql.jdbc;
-/**
- * Runtime exception handling in case of runtime error during Driver resolving.
- */
-public class DriverResolverException extends RuntimeException {
-
-       /**
-        * Default serial version UID.
-        */
-       private static final long serialVersionUID = 1L;
-
-       /**
-        * Constructor using fields.
-        * @param errMsg error message.
-        */
-       public DriverResolverException(String errMsg) {
-               super(errMsg);
-       }
-}
=======================================
--- /src/main/java/org/apache/cassandra/cql/jdbc/InvalidUrlException.java Thu Oct 13 00:45:22 2011
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-package org.apache.cassandra.cql.jdbc;
-
-/**
- * Runtime exception handling during incorrect connection url provided.
- */
-public class InvalidUrlException extends RuntimeException {
-
-       /**
-        *  Default serial version UID
-        */
-       private static final long serialVersionUID = 1L;
-
-       /**
-        * Constructor using fields.
-        * @param errMsg error message.
-        */
-       public InvalidUrlException(String errMsg) {
-               super(errMsg);
-       }
-
-}
=======================================
--- /src/main/java/org/apache/cassandra/cql/jdbc/CResultSet.java Thu Oct 13 00:45:22 2011 +++ /src/main/java/org/apache/cassandra/cql/jdbc/CResultSet.java Fri Nov 4 20:25:07 2011
@@ -349,7 +349,7 @@
     {
         checkIndex(index);
         checkNotClosed();
-        return values.get(index);
+        return values.get(index - 1);
     }

     public TypedColumn getColumn(String name) throws SQLException

==============================================================================
Revision: 108e80b03b84
Author:   Rick Shaw <[email protected]>
Date:     Fri Nov  4 20:48:59 2011
Log:      Update CHANGES.txt
http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/detail?r=108e80b03b84

Modified:
 /CHANGES.txt

=======================================
--- /CHANGES.txt        Mon Oct  3 14:23:39 2011
+++ /CHANGES.txt        Fri Nov  4 20:48:59 2011
@@ -1,5 +1,7 @@
 1.0.5
  * relocated project to Apache Extras (Google Code).
+ * add Issue #5 restructure directory to support Maven lifecycle as well as Ant lifecycle + * fix Issue #4 - error in CResltset#getColumn(int index) where index was not being "one-based".


 1.0.4

Reply via email to