diff options
Diffstat (limited to 'java/demo/Database/library/SessionSQLRequestContext.java')
-rw-r--r-- | java/demo/Database/library/SessionSQLRequestContext.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/demo/Database/library/SessionSQLRequestContext.java b/java/demo/Database/library/SessionSQLRequestContext.java new file mode 100644 index 00000000000..799ce4a92f6 --- /dev/null +++ b/java/demo/Database/library/SessionSQLRequestContext.java @@ -0,0 +1,24 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +class SessionSQLRequestContext extends SQLRequestContext +{ + SessionSQLRequestContext(SessionI session, Ice.Logger logger, ConnectionPool pool) + { + super(logger, pool); + _session = session; + } + + SessionI getSession() + { + return _session; + } + + private SessionI _session; +} |