summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Database/Sales.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Database/Sales.java')
-rw-r--r--odk/examples/DevelopersGuide/Database/Sales.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/Database/Sales.java b/odk/examples/DevelopersGuide/Database/Sales.java
index ef1be66ae4f2..ff1ec6555761 100644
--- a/odk/examples/DevelopersGuide/Database/Sales.java
+++ b/odk/examples/DevelopersGuide/Database/Sales.java
@@ -113,10 +113,6 @@ public class Sales
{
// example for a programmatic way to do updates.
XStatement stmt = con.createStatement();
-// stmt.executeUpdate("INSERT INTO SALES " +
-// "VALUES (4, 102, 5, 'FTOP Darjeeling tea', '2002-01-02',150)");
-//
-// stmt = con.createStatement();
XPropertySet xProp = UnoRuntime.queryInterface(XPropertySet.class,stmt);
xProp.setPropertyValue("ResultSetType", new java.lang.Integer(ResultSetType.SCROLL_INSENSITIVE));
xProp.setPropertyValue("ResultSetConcurrency", new java.lang.Integer(ResultSetConcurrency.UPDATABLE));