summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-18 20:24:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-19 13:38:45 +0000
commitaf9709c3cba8c386a30553c43a620320b15c65f4 (patch)
tree9577932ccec61d1bc10553092abba92af332f765 /odk
parent3b2b7be3b721a328b2cd32a34d0c03dd98a89a6c (diff)
remove adabas/adabasui
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Database/Sales.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/Database/Sales.java b/odk/examples/DevelopersGuide/Database/Sales.java
index efa3422e21f2..191ed9f586c5 100644
--- a/odk/examples/DevelopersGuide/Database/Sales.java
+++ b/odk/examples/DevelopersGuide/Database/Sales.java
@@ -118,7 +118,7 @@ public class Sales
// create a scrollable resultset.
public void retrieveSalesData2() throws com.sun.star.uno.Exception
{
- // example for a programmatic way to do updates. This doesn't work with adabas.
+ // example for a programmatic way to do updates.
XStatement stmt = con.createStatement();
XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class,stmt);
@@ -153,7 +153,7 @@ public class Sales
// inserts a row programmatically.
public void insertRow() throws com.sun.star.uno.Exception
{
- // example for a programmatic way to do updates. This doesn't work with adabas.
+ // 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)");
@@ -181,7 +181,7 @@ public class Sales
// deletes a row programmatically.
public void deleteRow() throws com.sun.star.uno.Exception
{
- // example for a programmatic way to do updates. This doesn't work with adabas.
+ // example for a programmatic way to do updates.
XStatement stmt = con.createStatement();
XPropertySet xProp = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class,stmt);
xProp.setPropertyValue("ResultSetType", new java.lang.Integer(ResultSetType.SCROLL_INSENSITIVE));
@@ -198,7 +198,7 @@ public class Sales
// refresh a row
public void refreshRow() throws com.sun.star.uno.Exception
{
- // example for a programmatic way to do updates. This doesn't work with adabas.
+ // example for a programmatic way to do updates.
// first we need the 4 row
insertRow();