Index: /trunk/ippToPsps/jython/mysql.py
===================================================================
--- /trunk/ippToPsps/jython/mysql.py	(revision 31819)
+++ /trunk/ippToPsps/jython/mysql.py	(revision 31820)
@@ -112,4 +112,17 @@
         except: pass
             #self.logger.warn("Index already in place on '" + column + "' for table '" + table + "'")
+
+    '''
+    Alters a column to be the primary key
+    '''
+    def makeColumnPrimaryKey(self, table, column):
+
+        self.logger.debug("Making '"+column+"' the primary key on table '"+table+"'")
+
+        sql = "ALTER TABLE " + table + " ADD PRIMARY KEY (" + column + ")"
+        try:
+            self.execute(sql)
+        except: pass
+            #self.logger.warn("Index already in place on '" + column + "' for table '" + table + "'")
     '''
     Adds an index to the supplied table and column
@@ -143,4 +156,13 @@
         return rs
 
+    '''
+    TODO
+    '''
+    def executeUpdatableQuery(self, sql):
+
+        stmt = self.con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE)
+        rs = stmt.executeQuery(sql)
+        #stmt.close()
+        return rs
     '''
     Returns a list of column names for this table
