Java Doc for Types.java in  » Database-DBMS » hsql » org » hsqldb » 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 DBMS » hsql » org.hsqldb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.hsqldb.Types

Types
public class Types (Code)
Defines the constants that are used to identify SQL types for HSQLDB JDBC inteface type reporting. The actual type constant values are equivalent to those defined in the latest java.sql.Types, where available, or those defined by ansi/iso SQL 200n otherwise. A type sub-identifer has been added to differentiate HSQLDB-specific type specializations.
author:
   boucherb@users
version:
   1.7.2
since:
   1.7.2


Field Summary
final static  int[][]ALL_TYPES
     Every (type,type-sub) combination known in the HSQLDB context.
final public static  intARRAY
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.
final public static  intBIGINT
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.

final public static  intBINARY
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.

final public static  intBLOB
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.
final public static  intBOOLEAN
     The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.
final public static  intCHAR
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.

final public static  intCLOB
    
final public static  intDATALINK
     The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK.
final public static  intDATE
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.

final public static  intDECIMAL
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.

final public static  intDISTINCT
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.
final public static  intDOUBLE
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.

final public static  StringDateClassName
    
final public static  StringDecimalClassName
     Names of types.
final public static  intFLOAT
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.

final public static  intINTEGER
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.

final public static  intJAVA_OBJECT
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.
final public static  intLONGVARBINARY
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.

final public static  intLONGVARCHAR
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.

final public static  intMAX_CHAR_OR_VARCHAR_DISPLAY_SIZE
     A reasonable/customizable number to avoid the shortcomings/defects associated with doing a dynamic scan of results to determine the value.
final public static  intNULL
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NULL.

final public static  intNUMERIC
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.

final public static  intOTHER
     The constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.
final public static  intREAL
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.

final public static  intREF
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.
final public static  intSMALLINT
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.

final static  intSQL_ALL_TYPES
    
final static  intSQL_ARRAY
    
final static  intSQL_ARRAY_LOCATOR
    
final static  intSQL_BIGINT
    
final static  intSQL_BINARY_LARGE_OBJECT
    
final static  intSQL_BIT_VARYING
    
final static  intSQL_BLOB
    
final static  intSQL_BLOB_LOCATOR
    
final static  intSQL_BOOLEAN
    
final static  intSQL_CHAR
    
final static  intSQL_CHARACTER
    
final static  intSQL_CHARACTER_LARGE_OBJECT
    
final static  intSQL_CHARACTER_VARYING
    
final static  intSQL_CHAR_VARYING
    
final static  intSQL_CLOB
    
final static  intSQL_CLOB_LOCATOR
    
final static  intSQL_DATALINK
    
final static  intSQL_DATE
    
final static  intSQL_DATETIME
    
final static  intSQL_DEC
    
final static  intSQL_DECIMAL
    
final static  intSQL_DISTINCT
    
final static  intSQL_DOUBLE
    
final static  intSQL_FLOAT
    
final static  intSQL_INT
    
final static  intSQL_INTEGER
    
final static  intSQL_INTERVAL
    
final static  intSQL_INTERVAL_DAY
    
final static  intSQL_INTERVAL_DAY_TO_HOUR
    
final static  intSQL_INTERVAL_DAY_TO_MINUTE
    
final static  intSQL_INTERVAL_DAY_TO_SECOND
    
final static  intSQL_INTERVAL_HOUR
    
final static  intSQL_INTERVAL_HOUR_TO_MINUTE
    
final static  intSQL_INTERVAL_HOUR_TO_SECOND
    
final static  intSQL_INTERVAL_MINUTE
    
final static  intSQL_INTERVAL_MINUTE_TO_SECOND
    
final static  intSQL_INTERVAL_MONTH
    
final static  intSQL_INTERVAL_SECOND
    
final static  intSQL_INTERVAL_YEAR
    
final static  intSQL_INTERVAL_YEAR_TO_MONTH
    
final static  intSQL_MULTISET
    
final static  intSQL_MULTISET_LOCATOR
    
final static  intSQL_NUMERIC
    
final static  intSQL_REAL
    
final static  intSQL_REF
    
final static  intSQL_ROW
    
final static  intSQL_SCTRUCTURED
    
final static  intSQL_SMALLINT
    
final static  intSQL_TIME
    
final static  intSQL_TIMESTAMP
    
final static  intSQL_TIMESTAMP_WITH_TIME_ZONE
    
final static  intSQL_TIME_WITH_TIME_ZONE
    
final static  intSQL_UDT
    
final static  intSQL_UDT_LOCATOR
    
final static  intSQL_USER_DEFINED_TYPE
    
final static  intSQL_VARCHAR
    
final static  intSQL_XML
    
final public static  intSTRUCT
     The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.
final public static  intTIME
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.

final public static  intTIMESTAMP
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.

final public static  intTINYINT
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.

final public static  intTYPE_SUB_DEFAULT
     The default HSQLODB type sub-identifier.
final public static  intTYPE_SUB_IGNORECASE
     The IGNORECASE type sub-identifier.
final public static  StringTimeClassName
    
final public static  StringTimestampClassName
    
final public static  intVARBINARY
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.

final public static  intVARCHAR
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR.

final public static  intVARCHAR_IGNORECASE
    
final public static  intXML
    

The constant in the Java programming language, sometimes referred to as a type code, that identifies the recent SQL 200n SQL type XML.

static  HashMapjavaTypeNames
    
static  IntValueHashMaptypeAliases
    
static  IntKeyHashMaptypeNames
    


Method Summary
public static  booleanacceptsPrecisionCreateParam(int type)
     Types that accept precition params in column definition or casts. We ignore the parameter in many cases but accept it for compatibility with other engines.
public static  booleanacceptsScaleCreateParam(int type)
    
public static  StringgetColStClsName(int type)
    
static  StringgetFunctionReturnClassName(String methodReturnType)
    
public static  intgetMaxDisplaySize(int type)
    
static  intgetParameterTypeNr(Class c)
     Retieves the type number corresponding to the class of an IN, IN OUT or OUT parameter.
public static  intgetPrecision(int type)
    
public static  StringgetTypeName(int type)
    
static  intgetTypeNr(String type)
    
public static  StringgetTypeString(int type)
    
public static  StringgetTypeString(int type, int precision, int scale)
    
public static  BooleanisCaseSensitive(int type)
    
public static  booleanisCharacterType(int type)
    
static  booleanisDatetimeType(int type)
    
public static  booleanisNumberType(int type)
    
public static  booleanisSearchable(int type)
    
public static  BooleanisUnsignedAttribute(int type)
    
public static  intnumericPrecisionCreateParamRadix(int type)
    

Field Detail
ALL_TYPES
final static int[][] ALL_TYPES(Code)
Every (type,type-sub) combination known in the HSQLDB context. Not every combination need be supported as a table or procedure column type -- such determinations are handled in DITypeInfo.



ARRAY
final public static int ARRAY(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.
since:
   JDK 1.2



BIGINT
final public static int BIGINT(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.




BINARY
final public static int BINARY(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.




BLOB
final public static int BLOB(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.
since:
   JDK 1.2



BOOLEAN
final public static int BOOLEAN(Code)
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.
since:
   JDK 1.4



CHAR
final public static int CHAR(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.




CLOB
final public static int CLOB(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB
since:
   JDK 1.2



DATALINK
final public static int DATALINK(Code)
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK.
since:
   JDK 1.4



DATE
final public static int DATE(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.




DECIMAL
final public static int DECIMAL(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.




DISTINCT
final public static int DISTINCT(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.
since:
   JDK 1.2



DOUBLE
final public static int DOUBLE(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.




DateClassName
final public static String DateClassName(Code)



DecimalClassName
final public static String DecimalClassName(Code)
Names of types. Used for external, JDBC reporting Used for library and user function arguments



FLOAT
final public static int FLOAT(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.




INTEGER
final public static int INTEGER(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.




JAVA_OBJECT
final public static int JAVA_OBJECT(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.
since:
   JDK 1.2



LONGVARBINARY
final public static int LONGVARBINARY(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.




LONGVARCHAR
final public static int LONGVARCHAR(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.




MAX_CHAR_OR_VARCHAR_DISPLAY_SIZE
final public static int MAX_CHAR_OR_VARCHAR_DISPLAY_SIZE(Code)
A reasonable/customizable number to avoid the shortcomings/defects associated with doing a dynamic scan of results to determine the value. In practice, it turns out that single query yielding widely varying values for display size of CHAR and VARCHAR columns on repeated execution results in patently poor usability, as some fairly high-profile, otherwise "enterprise-quality" RAD tools depend on on the first value returned to lay out forms and limit the size of single line edit controls, set corresponding local datastore storage sizes, etc. In practice, It also turns out that many tools (due to the original lack of PreparedStatement.getMetaData() in JDK 1.1) emulate a SQL_DESCRIBE by executing a query hopefully guaranteed to return no or very few rows for example: select ... from ... where 1=0. Using the dynamic scan of 1.7.2 RC5 and previous, therefore, the minimum display size value (1) was often being generated during a tool's describe phase. Upon subsequent "real" retrievals, some tools complain that CHAR and VARCHAR result values exceeded the originally reported display size and refused to fetch further values.



NULL
final public static int NULL(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NULL.




NUMERIC
final public static int NUMERIC(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.




OTHER
final public static int OTHER(Code)
The constant in the Java programming language that indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.



REAL
final public static int REAL(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.




REF
final public static int REF(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.
since:
   JDK 1.2



SMALLINT
final public static int SMALLINT(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.




SQL_ALL_TYPES
final static int SQL_ALL_TYPES(Code)



SQL_ARRAY
final static int SQL_ARRAY(Code)



SQL_ARRAY_LOCATOR
final static int SQL_ARRAY_LOCATOR(Code)



SQL_BIGINT
final static int SQL_BIGINT(Code)



SQL_BINARY_LARGE_OBJECT
final static int SQL_BINARY_LARGE_OBJECT(Code)



SQL_BIT_VARYING
final static int SQL_BIT_VARYING(Code)



SQL_BLOB
final static int SQL_BLOB(Code)



SQL_BLOB_LOCATOR
final static int SQL_BLOB_LOCATOR(Code)



SQL_BOOLEAN
final static int SQL_BOOLEAN(Code)



SQL_CHAR
final static int SQL_CHAR(Code)



SQL_CHARACTER
final static int SQL_CHARACTER(Code)



SQL_CHARACTER_LARGE_OBJECT
final static int SQL_CHARACTER_LARGE_OBJECT(Code)



SQL_CHARACTER_VARYING
final static int SQL_CHARACTER_VARYING(Code)



SQL_CHAR_VARYING
final static int SQL_CHAR_VARYING(Code)



SQL_CLOB
final static int SQL_CLOB(Code)



SQL_CLOB_LOCATOR
final static int SQL_CLOB_LOCATOR(Code)



SQL_DATALINK
final static int SQL_DATALINK(Code)



SQL_DATE
final static int SQL_DATE(Code)



SQL_DATETIME
final static int SQL_DATETIME(Code)



SQL_DEC
final static int SQL_DEC(Code)



SQL_DECIMAL
final static int SQL_DECIMAL(Code)



SQL_DISTINCT
final static int SQL_DISTINCT(Code)



SQL_DOUBLE
final static int SQL_DOUBLE(Code)



SQL_FLOAT
final static int SQL_FLOAT(Code)



SQL_INT
final static int SQL_INT(Code)



SQL_INTEGER
final static int SQL_INTEGER(Code)



SQL_INTERVAL
final static int SQL_INTERVAL(Code)



SQL_INTERVAL_DAY
final static int SQL_INTERVAL_DAY(Code)



SQL_INTERVAL_DAY_TO_HOUR
final static int SQL_INTERVAL_DAY_TO_HOUR(Code)



SQL_INTERVAL_DAY_TO_MINUTE
final static int SQL_INTERVAL_DAY_TO_MINUTE(Code)



SQL_INTERVAL_DAY_TO_SECOND
final static int SQL_INTERVAL_DAY_TO_SECOND(Code)



SQL_INTERVAL_HOUR
final static int SQL_INTERVAL_HOUR(Code)



SQL_INTERVAL_HOUR_TO_MINUTE
final static int SQL_INTERVAL_HOUR_TO_MINUTE(Code)



SQL_INTERVAL_HOUR_TO_SECOND
final static int SQL_INTERVAL_HOUR_TO_SECOND(Code)



SQL_INTERVAL_MINUTE
final static int SQL_INTERVAL_MINUTE(Code)



SQL_INTERVAL_MINUTE_TO_SECOND
final static int SQL_INTERVAL_MINUTE_TO_SECOND(Code)



SQL_INTERVAL_MONTH
final static int SQL_INTERVAL_MONTH(Code)



SQL_INTERVAL_SECOND
final static int SQL_INTERVAL_SECOND(Code)



SQL_INTERVAL_YEAR
final static int SQL_INTERVAL_YEAR(Code)



SQL_INTERVAL_YEAR_TO_MONTH
final static int SQL_INTERVAL_YEAR_TO_MONTH(Code)



SQL_MULTISET
final static int SQL_MULTISET(Code)



SQL_MULTISET_LOCATOR
final static int SQL_MULTISET_LOCATOR(Code)



SQL_NUMERIC
final static int SQL_NUMERIC(Code)



SQL_REAL
final static int SQL_REAL(Code)



SQL_REF
final static int SQL_REF(Code)



SQL_ROW
final static int SQL_ROW(Code)



SQL_SCTRUCTURED
final static int SQL_SCTRUCTURED(Code)



SQL_SMALLINT
final static int SQL_SMALLINT(Code)



SQL_TIME
final static int SQL_TIME(Code)



SQL_TIMESTAMP
final static int SQL_TIMESTAMP(Code)



SQL_TIMESTAMP_WITH_TIME_ZONE
final static int SQL_TIMESTAMP_WITH_TIME_ZONE(Code)



SQL_TIME_WITH_TIME_ZONE
final static int SQL_TIME_WITH_TIME_ZONE(Code)



SQL_UDT
final static int SQL_UDT(Code)



SQL_UDT_LOCATOR
final static int SQL_UDT_LOCATOR(Code)



SQL_USER_DEFINED_TYPE
final static int SQL_USER_DEFINED_TYPE(Code)



SQL_VARCHAR
final static int SQL_VARCHAR(Code)



SQL_XML
final static int SQL_XML(Code)



STRUCT
final public static int STRUCT(Code)
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.
since:
   JDK 1.2



TIME
final public static int TIME(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.




TIMESTAMP
final public static int TIMESTAMP(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.




TINYINT
final public static int TINYINT(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.




TYPE_SUB_DEFAULT
final public static int TYPE_SUB_DEFAULT(Code)
The default HSQLODB type sub-identifier. This indicates that an HSQLDB type with this sub-type, if supported, is the very closest thing HSQLDB offerers to the JDBC/SQL200n type



TYPE_SUB_IGNORECASE
final public static int TYPE_SUB_IGNORECASE(Code)
The IGNORECASE type sub-identifier. This indicates that an HSQLDB type with this sub-type, if supported, is the closest thing HSQLDB offerers to the JDBC/SQL200n type, except that case is ignored in comparisons



TimeClassName
final public static String TimeClassName(Code)



TimestampClassName
final public static String TimestampClassName(Code)



VARBINARY
final public static int VARBINARY(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.




VARCHAR
final public static int VARCHAR(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR.




VARCHAR_IGNORECASE
final public static int VARCHAR_IGNORECASE(Code)



XML
final public static int XML(Code)

The constant in the Java programming language, sometimes referred to as a type code, that identifies the recent SQL 200n SQL type XML.
since:
   SQL 200n




javaTypeNames
static HashMap javaTypeNames(Code)



typeAliases
static IntValueHashMap typeAliases(Code)



typeNames
static IntKeyHashMap typeNames(Code)





Method Detail
acceptsPrecisionCreateParam
public static boolean acceptsPrecisionCreateParam(int type)(Code)
Types that accept precition params in column definition or casts. We ignore the parameter in many cases but accept it for compatibility with other engines. CHAR, VARCHAR and VARCHAR_IGNORECASE params are used when the sql.enforce_strict_types is true.



acceptsScaleCreateParam
public static boolean acceptsScaleCreateParam(int type)(Code)



getColStClsName
public static String getColStClsName(int type)(Code)



getFunctionReturnClassName
static String getFunctionReturnClassName(String methodReturnType)(Code)
Translates a type name returned from a method into the name of type returned in a ResultSet



getMaxDisplaySize
public static int getMaxDisplaySize(int type)(Code)



getParameterTypeNr
static int getParameterTypeNr(Class c) throws HsqlException(Code)
Retieves the type number corresponding to the class of an IN, IN OUT or OUT parameter.

This method extends getTypeNr to return OTHER for primitive arrays, classes that directly implement java.io.Serializable and non-primitive arrays whose base component implements java.io.Serializable, allowing, for instance, arguments and return types of primitive arrays, Serializable objects and arrays, of Serializable objects. Direct primitive types other than those mapping directly to the internal wrapper form are not yet handled. That is, HSQLDB cannot yet properly deal with CALLs involving methods with primitive byte, short, float or their corresponding wrappers, due to the way internal conversion works and lack of detection and narrowing code in Function to allow this. In other words, passing in or retrieving any of the mentioned types always causes conversion to a wider internal wrapper which is genrally incompatible under reflective invocation, resulting in an IllegalArgumentException.
Parameters:
  c - a Class instance java.sql.Types int value
throws:
  HsqlException -




getPrecision
public static int getPrecision(int type)(Code)



getTypeName
public static String getTypeName(int type)(Code)



getTypeNr
static int getTypeNr(String type) throws HsqlException(Code)
`
Parameters:
  type - string java.sql.Types int value
throws:
  HsqlException -



getTypeString
public static String getTypeString(int type)(Code)
Returns SQL type string for a java.sql.Types int value



getTypeString
public static String getTypeString(int type, int precision, int scale)(Code)
Returns SQL type string for a java.sql.Types int value



isCaseSensitive
public static Boolean isCaseSensitive(int type)(Code)



isCharacterType
public static boolean isCharacterType(int type)(Code)



isDatetimeType
static boolean isDatetimeType(int type)(Code)



isNumberType
public static boolean isNumberType(int type)(Code)



isSearchable
public static boolean isSearchable(int type)(Code)



isUnsignedAttribute
public static Boolean isUnsignedAttribute(int type)(Code)



numericPrecisionCreateParamRadix
public static int numericPrecisionCreateParamRadix(int type)(Code)



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.