public class T_Authorize
extends java.lang.Object
| Constructor and Description |
|---|
T_Authorize() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
verifyAccess(int k,
boolean shouldBeReadOnly)
Verify that the database enforces the expected access mode appropriatly.
|
static void |
verifyAccessRO(int k) |
static void |
verifyAccessRW(int k) |
private static void |
verifyExecute(java.sql.Connection c,
java.lang.String sText,
int paramCount,
int[] args,
boolean shouldBeReadOnly,
int expectRowCount) |
private static void |
verifyResult(java.sql.Connection c,
java.lang.String qText,
int paramCount,
int[] args,
boolean expectResult,
java.lang.String expect) |
public static void verifyAccessRW(int k)
throws java.lang.Exception
java.lang.Exceptionpublic static void verifyAccessRO(int k)
throws java.lang.Exception
java.lang.Exceptionprivate static void verifyAccess(int k,
boolean shouldBeReadOnly)
throws java.lang.Exception
k - A key for adding/deleting rows in table t.shouldBeReadOnly - true -> the connection should be ReadOnlyjava.lang.Exceptionprivate static void verifyExecute(java.sql.Connection c,
java.lang.String sText,
int paramCount,
int[] args,
boolean shouldBeReadOnly,
int expectRowCount)
throws java.lang.Exception
java.lang.Exceptionprivate static void verifyResult(java.sql.Connection c,
java.lang.String qText,
int paramCount,
int[] args,
boolean expectResult,
java.lang.String expect)
throws java.lang.Exception
java.lang.ExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.