java.lang.Object
org.apache.derbyTesting.functionTests.tests.largedata.lobLengthTests
- public class lobLengthTests
- extends java.lang.Object
This test is part of the "largedata" suite because the use of
very large LOBs can require extra memory for the server JVM.
If this test was run as part of the normal 'derbyall' suite,
it would require that any developer running the derbyall suite
have a machine with a good deal of memory. And since _every_
developer is encouraged to run 'derbyall' before submitting
any patches, that would mean that _every_ developer would
need a machine with lots of memory--and that's something we
do NOT want to require.
The specific JVM memory requirements for this test are set in the
properties file for this test (lobLengthTests_app.properties).
It started out as -mx128M -ms128M, but that could change in the
future as more test cases are added to this class. If it's not
at least 128M, the result will be OutOfMemory exceptions when
running against Network Server.
|
Method Summary |
private static void |
derby_121Test(java.sql.Connection conn)
There was a defect (DERBY-121) where the server and client
were processing lob lengths incorrectly. |
void |
go(java.lang.String[] args)
Create a JDBC connection using the arguments passed
in from the harness, and then run the LOB length
tests. |
static void |
main(java.lang.String[] args)
Create an instance of this class and do the test. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lobLengthTests
public lobLengthTests()
main
public static void main(java.lang.String[] args)
- Create an instance of this class and do the test.
go
public void go(java.lang.String[] args)
- Create a JDBC connection using the arguments passed
in from the harness, and then run the LOB length
tests.
derby_121Test
private static void derby_121Test(java.sql.Connection conn)
throws java.sql.SQLException
- There was a defect (DERBY-121) where the server and client
were processing lob lengths incorrectly. For lob lengths
that are represented by 24 or more bits, the server and
Derby client were doing incorrect bit-shifting. This
test makes sure that problem no longer occurs.