Java Doc for MysqlDefs.java in  » Database-JDBC-Connection-Pool » mysql-connector-java-5.1.3 » com » mysql » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » mysql connector java 5.1.3 » com.mysql.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.mysql.jdbc.MysqlDefs

MysqlDefs
final public class MysqlDefs (Code)
MysqlDefs contains many values that are needed for communication with the MySQL server.
author:
   Mark Matthews
version:
   $Id: MysqlDefs.java 6376 2007-04-05 21:56:05Z mmatthews $


Field Summary
final static  intCOM_BINLOG_DUMP
    
final static  intCOM_CHANGE_USER
    
final static  intCOM_CLOSE_STATEMENT
    
final static  intCOM_CONNECT_OUT
    
final static  intCOM_END
    
final static  intCOM_EXECUTE
    
final static  intCOM_FETCH
    
final static  intCOM_LONG_DATA
    
final static  intCOM_PREPARE
    
final static  intCOM_REGISTER_SLAVE
    
final static  intCOM_RESET_STMT
    
final static  intCOM_SET_OPTION
    
final static  intCOM_TABLE_DUMP
    
final static  intCONNECT
    
final static  intCREATE_DB
    
final static  intDEBUG
    
final static  intDELAYED_INSERT
    
final static  intDROP_DB
    
final static  intFIELD_LIST
    
final static  intFIELD_TYPE_BIT
    
final public static  intFIELD_TYPE_BLOB
    
final static  intFIELD_TYPE_DATE
    
final static  intFIELD_TYPE_DATETIME
    
final static  intFIELD_TYPE_DECIMAL
    
final static  intFIELD_TYPE_DOUBLE
    
final static  intFIELD_TYPE_ENUM
    
final static  intFIELD_TYPE_FLOAT
    
final static  intFIELD_TYPE_GEOMETRY
    
final static  intFIELD_TYPE_INT24
    
final static  intFIELD_TYPE_LONG
    
final static  intFIELD_TYPE_LONGLONG
    
final static  intFIELD_TYPE_LONG_BLOB
    
final static  intFIELD_TYPE_MEDIUM_BLOB
    
final static  intFIELD_TYPE_NEWDATE
    
final static  intFIELD_TYPE_NEW_DECIMAL
    
final static  intFIELD_TYPE_NULL
    
final static  intFIELD_TYPE_SET
    
final static  intFIELD_TYPE_SHORT
    
final static  intFIELD_TYPE_STRING
    
final static  intFIELD_TYPE_TIME
    
final static  intFIELD_TYPE_TIMESTAMP
    
final static  intFIELD_TYPE_TINY
    
final static  intFIELD_TYPE_TINY_BLOB
    
final static  intFIELD_TYPE_VARCHAR
    
final static  intFIELD_TYPE_VAR_STRING
    
final static  intFIELD_TYPE_YEAR
    
final static  intINIT_DB
    
final static  longLENGTH_BLOB
    
final static  longLENGTH_LONGBLOB
    
final static  longLENGTH_MEDIUMBLOB
    
final static  longLENGTH_TINYBLOB
    
final static  intMAX_ROWS
    
final public static  intNO_CHARSET_INFO
     Used to indicate that the server sent no field-level character set information, so the driver should use the connection-level character encoding instead.
final static  byteOPEN_CURSOR_FLAG
    
final static  intPING
    
final static  intPROCESS_INFO
    
final static  intPROCESS_KILL
    
final static  intQUERY
    
final static  intQUIT
    
final static  intRELOAD
    
final static  intSHUTDOWN
    
final static  intSLEEP
    
final static  intSTATISTICS
    
final static  intTIME
    


Method Summary
final static  voidappendJdbcTypeMappingQuery(StringBuffer buf, String mysqlTypeColumnName)
    
static  intmysqlToJavaType(int mysqlType)
     Maps the given MySQL type to the correct JDBC type.
static  intmysqlToJavaType(String mysqlType)
     Maps the given MySQL type to the correct JDBC type.
public static  StringtypeToName(int mysqlType)
    

Field Detail
COM_BINLOG_DUMP
final static int COM_BINLOG_DUMP(Code)



COM_CHANGE_USER
final static int COM_CHANGE_USER(Code)



COM_CLOSE_STATEMENT
final static int COM_CLOSE_STATEMENT(Code)



COM_CONNECT_OUT
final static int COM_CONNECT_OUT(Code)



COM_END
final static int COM_END(Code)



COM_EXECUTE
final static int COM_EXECUTE(Code)



COM_FETCH
final static int COM_FETCH(Code)



COM_LONG_DATA
final static int COM_LONG_DATA(Code)



COM_PREPARE
final static int COM_PREPARE(Code)



COM_REGISTER_SLAVE
final static int COM_REGISTER_SLAVE(Code)



COM_RESET_STMT
final static int COM_RESET_STMT(Code)



COM_SET_OPTION
final static int COM_SET_OPTION(Code)



COM_TABLE_DUMP
final static int COM_TABLE_DUMP(Code)



CONNECT
final static int CONNECT(Code)



CREATE_DB
final static int CREATE_DB(Code)



DEBUG
final static int DEBUG(Code)



DELAYED_INSERT
final static int DELAYED_INSERT(Code)



DROP_DB
final static int DROP_DB(Code)



FIELD_LIST
final static int FIELD_LIST(Code)



FIELD_TYPE_BIT
final static int FIELD_TYPE_BIT(Code)



FIELD_TYPE_BLOB
final public static int FIELD_TYPE_BLOB(Code)



FIELD_TYPE_DATE
final static int FIELD_TYPE_DATE(Code)



FIELD_TYPE_DATETIME
final static int FIELD_TYPE_DATETIME(Code)



FIELD_TYPE_DECIMAL
final static int FIELD_TYPE_DECIMAL(Code)



FIELD_TYPE_DOUBLE
final static int FIELD_TYPE_DOUBLE(Code)



FIELD_TYPE_ENUM
final static int FIELD_TYPE_ENUM(Code)



FIELD_TYPE_FLOAT
final static int FIELD_TYPE_FLOAT(Code)



FIELD_TYPE_GEOMETRY
final static int FIELD_TYPE_GEOMETRY(Code)



FIELD_TYPE_INT24
final static int FIELD_TYPE_INT24(Code)



FIELD_TYPE_LONG
final static int FIELD_TYPE_LONG(Code)



FIELD_TYPE_LONGLONG
final static int FIELD_TYPE_LONGLONG(Code)



FIELD_TYPE_LONG_BLOB
final static int FIELD_TYPE_LONG_BLOB(Code)



FIELD_TYPE_MEDIUM_BLOB
final static int FIELD_TYPE_MEDIUM_BLOB(Code)



FIELD_TYPE_NEWDATE
final static int FIELD_TYPE_NEWDATE(Code)



FIELD_TYPE_NEW_DECIMAL
final static int FIELD_TYPE_NEW_DECIMAL(Code)



FIELD_TYPE_NULL
final static int FIELD_TYPE_NULL(Code)



FIELD_TYPE_SET
final static int FIELD_TYPE_SET(Code)



FIELD_TYPE_SHORT
final static int FIELD_TYPE_SHORT(Code)



FIELD_TYPE_STRING
final static int FIELD_TYPE_STRING(Code)



FIELD_TYPE_TIME
final static int FIELD_TYPE_TIME(Code)



FIELD_TYPE_TIMESTAMP
final static int FIELD_TYPE_TIMESTAMP(Code)



FIELD_TYPE_TINY
final static int FIELD_TYPE_TINY(Code)



FIELD_TYPE_TINY_BLOB
final static int FIELD_TYPE_TINY_BLOB(Code)



FIELD_TYPE_VARCHAR
final static int FIELD_TYPE_VARCHAR(Code)



FIELD_TYPE_VAR_STRING
final static int FIELD_TYPE_VAR_STRING(Code)



FIELD_TYPE_YEAR
final static int FIELD_TYPE_YEAR(Code)



INIT_DB
final static int INIT_DB(Code)



LENGTH_BLOB
final static long LENGTH_BLOB(Code)



LENGTH_LONGBLOB
final static long LENGTH_LONGBLOB(Code)



LENGTH_MEDIUMBLOB
final static long LENGTH_MEDIUMBLOB(Code)



LENGTH_TINYBLOB
final static long LENGTH_TINYBLOB(Code)



MAX_ROWS
final static int MAX_ROWS(Code)



NO_CHARSET_INFO
final public static int NO_CHARSET_INFO(Code)
Used to indicate that the server sent no field-level character set information, so the driver should use the connection-level character encoding instead.



OPEN_CURSOR_FLAG
final static byte OPEN_CURSOR_FLAG(Code)



PING
final static int PING(Code)



PROCESS_INFO
final static int PROCESS_INFO(Code)



PROCESS_KILL
final static int PROCESS_KILL(Code)



QUERY
final static int QUERY(Code)



QUIT
final static int QUIT(Code)



RELOAD
final static int RELOAD(Code)



SHUTDOWN
final static int SHUTDOWN(Code)



SLEEP
final static int SLEEP(Code)



STATISTICS
final static int STATISTICS(Code)



TIME
final static int TIME(Code)





Method Detail
appendJdbcTypeMappingQuery
final static void appendJdbcTypeMappingQuery(StringBuffer buf, String mysqlTypeColumnName)(Code)



mysqlToJavaType
static int mysqlToJavaType(int mysqlType)(Code)
Maps the given MySQL type to the correct JDBC type.



mysqlToJavaType
static int mysqlToJavaType(String mysqlType)(Code)
Maps the given MySQL type to the correct JDBC type.



typeToName
public static String typeToName(int mysqlType)(Code)

Parameters:
  mysqlType -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.