diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-08-18 14:22:36 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-08-18 14:22:36 -0230 |
commit | c9423fa34639713ca1b248551efca97e7f0eea12 (patch) | |
tree | 94808ca61debcd0bf29f622264b09eb4a0c91b53 /java/demo/Database/library/LibraryI.java | |
parent | SQL setup is now more automatic. (diff) | |
download | ice-c9423fa34639713ca1b248551efca97e7f0eea12.tar.bz2 ice-c9423fa34639713ca1b248551efca97e7f0eea12.tar.xz ice-c9423fa34639713ca1b248551efca97e7f0eea12.zip |
minor cleanups.
Diffstat (limited to 'java/demo/Database/library/LibraryI.java')
-rw-r--r-- | java/demo/Database/library/LibraryI.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/demo/Database/library/LibraryI.java b/java/demo/Database/library/LibraryI.java index 8c9e21cb7fc..6c2a4ddeeb8 100644 --- a/java/demo/Database/library/LibraryI.java +++ b/java/demo/Database/library/LibraryI.java @@ -26,7 +26,7 @@ class LibraryI extends _LibraryDisp } session.reapQueries(); - RequestContext context = RequestContext.getCurrentContext(); + SQLRequestContext context = SQLRequestContext.getCurrentContext(); assert context != null; try @@ -42,7 +42,7 @@ class LibraryI extends _LibraryDisp first.value = BookI.extractDescription(context, rs, current.adapter); if(rs.next()) { - // The RequestContext is now owned by the query + // The SQLRequestContext is now owned by the query // implementation. context.obtain(); BookQueryResultI impl = new BookQueryResultI(_logger, context, rs); @@ -72,7 +72,7 @@ class LibraryI extends _LibraryDisp } session.reapQueries(); - RequestContext context = RequestContext.getCurrentContext(); + SQLRequestContext context = SQLRequestContext.getCurrentContext(); assert context != null; try @@ -115,7 +115,7 @@ class LibraryI extends _LibraryDisp first.value = BookI.extractDescription(context, rs, current.adapter); if(rs.next()) { - // The RequestContext is now owned by the query + // The SQLRequestContext is now owned by the query // implementation. context.obtain(); BookQueryResultI impl = new BookQueryResultI(_logger, context, rs); @@ -137,7 +137,7 @@ class LibraryI extends _LibraryDisp createBook(String isbn, String title, java.util.List<String> authors, Ice.Current current) throws BookExistsException { - RequestContext context = RequestContext.getCurrentContext(); + SQLRequestContext context = SQLRequestContext.getCurrentContext(); assert context != null; try { |