ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/owl/trunk/tools/MySQLConnection.java
Links to HEAD: (view) (annotate)
Sticky Revision:
(Current path doesn't exist after revision 950)
Sort logs by:
Revision 80 - (view) (annotate) - [select for diffs]
Modified Wed Apr 12 14:59:37 2006 UTC (18 years, 5 months ago) by duarte
File length: 16310 byte(s)
Diff to previous 64
Introduced better javadoc comments in constructors.
Revision 64 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 14:47:09 2006 UTC (18 years, 5 months ago) by duarte
File length: 16015 byte(s)
Diff to previous 63
Added method getCreateIndex4Table
Revision 63 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 12:18:18 2006 UTC (18 years, 5 months ago) by duarte
File length: 14400 byte(s)
Diff to previous 62
Fixed bug in getAllIndexes4Table, the SELECT needed a DISTINCT
Revision 62 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 12:15:37 2006 UTC (18 years, 5 months ago) by duarte
File length: 14391 byte(s)
Diff to previous 61
Got rid of method dbExists. Was useless and not working.
Revision 61 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 10:07:22 2006 UTC (18 years, 5 months ago) by duarte
File length: 15633 byte(s)
Diff to previous 60
Added method setSqlMode, to set sql_mode server variable
Revision 60 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 09:24:28 2006 UTC (18 years, 5 months ago) by duarte
File length: 15009 byte(s)
Diff to previous 59
Added method dbExists to check whether database exists in server, used in constructor that passes a dbName
Moved all the private methods to the beginning of methods section
Revision 59 - (view) (annotate) - [select for diffs]
Modified Thu Apr 6 08:24:15 2006 UTC (18 years, 5 months ago) by duarte
File length: 13690 byte(s)
Diff to previous 58
Changed comments in constructors
Changed in method readConnectionFile:
- variable to count mandatory parameters to paramCount
- number of mandatory parameters now 4, dbname is also mandatory
Revision 58 - (view) (annotate) - [select for diffs]
Modified Wed Apr 5 08:45:23 2006 UTC (18 years, 5 months ago) by duarte
File length: 13503 byte(s)
Diff to previous 57
Now executeSQL method throws exception instead of catching it. Thought it was better than the calling class deals with these exceptions.
Revision 57 - (view) (annotate) - [select for diffs]
Modified Wed Apr 5 07:38:32 2006 UTC (18 years, 5 months ago) by duarte
File length: 12564 byte(s)
Diff to previous 55
Added getConnectionObject
Added printDbSizeInfo and 2 getRange methods from utils4DB
Made private the loadMySQLDriver and readConnectionFile methods

Revision 55 - (view) (annotate) - [select for diffs]
Added Tue Apr 4 15:27:49 2006 UTC (18 years, 5 months ago) by duarte
File length: 8697 byte(s)
Initial commit.
Class to create a connection to mysql db with basic functionality.
Cann take parameters for connection as argument in constructor or from connection file (passing the filename to the constructor)
Using code from both DBConnection (henning) and mySQLConnect (ioannis)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a