com.mysql.jdbc.util

Java Source Code / Java Documentation
1. JDK Core
2. JDK Modules
3. JDK Modules com.sun
4. JDK Modules com.sun.java
5. JDK Modules Platform
6. JDK Modules sun
7. Open Source Graphic Library
8. Open Source IDE Eclipse
9. Open Source J2EE
10. Open Source JBOSS
11. Open Source JDBC Driver
12. Open Source Library
13. Open Source Library Database
14. Open Source Net
15. Science
16. Sevlet Container
17. SUN GlassFish
18. Swing Library
19. Web Services apache cxf 2.0.1
20. Web Services AXIS2
21. XML
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Source Code / Java Documentation » Open Source JDBC Driver » mysql » com.mysql.jdbc.util 
com.mysql.jdbc.util
Java Source File NameTypeComment
BaseBugReport.javaClass Base class to help file bug reports for Connector/J.

MySQL AB

    really
appreciates repeatable testcases when reporting bugs, so we're giving you this class to make that job a bit easier (and standarized).

To create a testcase, create a class that inherits from this class (com.mysql.jdbc.util.BaseBugReport), and override the methods 'setUp', 'tearDown' and 'runTest'.

In the 'setUp' method, create code that creates your tables, and populates them with any data needed to demonstrate the bug.

In the 'runTest' method, create code that demonstrates the bug using the tables and data you created in the 'setUp' method.

In the 'tearDown' method, drop any tables you created in the 'setUp' method.

In any of the above three methods, you should use one of the variants of the 'getConnection' method to create a JDBC connection to MySQL, which will use the default JDBC URL of 'jdbc:mysql:///test'.

If you need to use a JDBC URL that is different than 'jdbc:mysql:///test', then override the method 'getUrl' as well.

Use the 'assertTrue' methods to create conditions that must be met in your testcase demonstrating the behavior you are expecting (vs.

ErrorMappingsDocGenerator.javaClass Creates XML file describing mapping of MySQL error #'s to SQL92 and X/Open states.
LRUCache.javaClass
PropertiesDocGenerator.javaClass Creates docbook table of connection properties from ConnectionProperties class.
ReadAheadInputStream.javaClass A non-blocking buffered input stream.
ResultSetUtil.javaClass Utilities for dealing with result sets (used in testcases and profiler).
ServerController.javaClass
TimezoneDump.javaClass Dumps the timezone of the MySQL server represented by the JDBC url given on the commandline (or localhost/test if none provided).
VersionFSHierarchyMaker.javaClass Creates output directory structure for multi-jvm, multi-url unit, regression and compliance tests.
w__w_w.j_a_v_a___2__s.c_o__m__
Home | Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.