Java Doc for JDBCConfig.java in  » J2EE » Expresso » com » jcorporate » expresso » core » db » config » 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 » J2EE » Expresso » com.jcorporate.expresso.core.db.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jcorporate.expresso.core.db.config.JDBCConfig

All known Subclasses:   com.jcorporate.expresso.core.misc.ConfigJdbc,
JDBCConfig
public class JDBCConfig (Code)
A Commons digester class for JDBC section of the standardmaessig Expresso Configuration XML file. This bean defines the conection characteristics to the database in this context

Documentation written by Peter Pilgrim @ Xenonsoft, Tue Feb 05 22:55:00 GMT 2002

All the 'bean' methods here are directly mapped to the <jdbc> section int the expresso-config.xml file. It is recommend that you also look at the Expresso config DTD for a better understanding of the relation of these various parameters.
author:
   Michael Nash, Yves AMAIZO, Peter Pilgrim, Michael Rimov
since:
   Expresso 5.1, its predecessor in the core.misc package since Expresso 4.0



Field Summary
protected  Stringcache
    
protected  StringcheckZeroUpdate
    
protected  StringconnectFormat
    
protected  StringcreateTableIndicies
    
protected  StringdateSelectFormat
    
protected  StringdateSelectFunction
    
protected  StringdateTimeSelectFormat
    
protected  StringdateTimeSelectFunction
    
protected  StringdateTimeUpdateFormat
    
protected  StringdateTimeUpdateFunction
    
protected  StringdateUpdateFormat
    
protected  StringdateUpdateFunction
    
protected  StringdbCatalogue
    
protected  StringdbSchema
    
protected  StringdbStats
    
protected  StringdbTest
    
protected  Stringdriver
    
protected  StringdriverType
    
protected  StringescapeHandler
    
protected  EscapeHandlerescapeHandlerInstance
    
protected  StringlimitationPosition
    
protected  StringlimitationSyntax
    
protected  Stringlogin
    
protected  StringnativeBlob
    
protected  StringnativeBool
    
protected  Stringpassword
    
protected  StringskipText
    
protected  StringstringNotTrim
    
protected  StringtimeSelectFormat
    
protected  StringtimeSelectFunction
    
protected  StringtimeUpdateFormat
    
protected  StringtimeUpdateFunction
    
protected  StringtransactionNotActive
    
protected  StringuniqueRowKeyword
    
protected  Stringurl
    
protected  StringuseNullOnCreate
    
protected  VectorwildCards
    

Constructor Summary
public  JDBCConfig()
    

Method Summary
public  voidaddTypeMapping(TypeMappingConfig newValue)
    
public  voidaddWildcard(String newWild)
    
public  booleancache()
    
public  booleancheckZeroUpdate()
    
public  booleancreateTableIndicies()
    
public  booleandbStats()
    
public  StringgetCheckZeroUpdate()
    
public  StringgetConnectFormat()
     Gets the JDBC connection format style.
public  StringgetDateSelectFormat()
    
public  StringgetDateSelectFunction()
    
public  StringgetDateTimeSelectFormat()
    
public  StringgetDateTimeSelectFunction()
    
public  StringgetDateTimeUpdateFormat()
    
public  StringgetDateTimeUpdateFunction()
    
public  StringgetDateUpdateFormat()
    
public  StringgetDateUpdateFunction()
    
public  StringgetDbCatalogue()
    
public  StringgetDbSchema()
    
public  StringgetDbTest()
    
public  StringgetDriver()
    
public  StringgetDriverType()
    
public  StringgetEscapeHandler()
    
public  EscapeHandlergetEscapeHandlerClass()
    
public  StringgetLimitationPosition()
    
public  StringgetLimitationSyntax()
    
public  StringgetLogin()
    
public  StringgetPassword()
    
public  StringgetStringNotTrim()
    
public  StringgetTimeSelectFormat()
    
public  StringgetTimeSelectFunction()
    
public  StringgetTimeUpdateFormat()
    
public  StringgetTimeUpdateFunction()
    
public  StringgetTransactionNotActive()
    
public  java.util.VectorgetTypeMappingVector()
     Old type mappings style for a Vector to help with migration.
public  java.util.ListgetTypeMappings()
     Retrieve a list of all type mappings available.
public  StringgetUniqueRowKeyword()
    
public  StringgetUrl()
    
public  VectorgetWildcards()
    
public  booleanisNativeBlob()
    
public  booleanisNativeBool()
    
public  booleanisStringNotTrim()
     Return whether this database persistence string will not be trimmed before store it and get it after.
public  booleanisTransactionNotActive()
    
public  voidsetCache(String newCache)
    
public  voidsetCheckZeroUpdate(String newCheckZeroUpdate)
    
public  voidsetConnectFormat(String newFormat)
     Sets the JDBC connection format style.
public  voidsetCreateTableIndicies(String newIndicies)
    
public  voidsetDateSelectFormat(String newFormat)
    
public  voidsetDateSelectFunction(String newFunction)
    
public  voidsetDateTimeSelectFormat(String newFormat)
    
public  voidsetDateTimeSelectFunction(String newFunction)
    
public  voidsetDateTimeUpdateFormat(String newFormat)
    
public  voidsetDateTimeUpdateFunction(String newFunction)
    
public  voidsetDateUpdateFormat(String newFormat)
    
public  voidsetDateUpdateFunction(String newFunction)
    
public  voidsetDbCatalogue(String newValue)
    
public  voidsetDbSchema(String newValue)
    
public  voidsetDbStats(String newStats)
    
public  voidsetDbTest(String newTest)
    
public  voidsetDriver(String newDriver)
    
public  voidsetDriverType(String newDriverType)
    
public  voidsetEscapeHandler(String newValue)
     Sets the escape handler for this jdbc connection.
public  voidsetHasBooleanType(String newValue)
     Sets whether or not this JDBC configuration supports a native boolean datatype.
public  voidsetLimitationPosition(String newPos)
     Sets the limitation position string
Parameters:
  newPos - The limitation syntax position string.
public  voidsetLimitationSyntax(String newLimit)
    
public  voidsetLogin(String newLogin)
    
public  voidsetNativeBlob(String newValue)
     Sets whether the database supports the native BLOB datatype, or whether you need binary streams.
public  voidsetPassword(String newPassword)
    
public  voidsetSkipText(String newSkip)
    
public  voidsetStringNotTrim(String newValue)
    
public  voidsetTimeSelectFormat(String newFormat)
    
public  voidsetTimeSelectFunction(String newFunction)
    
public  voidsetTimeUpdateFormat(String newFormat)
    
public  voidsetTimeUpdateFunction(String newFunction)
    
public  voidsetTransactionNotActive(String newValue)
    
public  voidsetTypeMappings(java.util.List newValue)
    
public  voidsetUniqueRowKeyword(String newKey)
    
public  voidsetUrl(String newUrl)
    
public  voidsetUseNullOnCreate(String newUseNull)
     Set the flag that specifies if we use the "null" keyword in the create table statement when setting a field which does allow nulls.
public  booleanskipText()
    
public  booleanuseNullOnCreate()
     Get the flag that specifies if we use the "null" keyword in the create table statement when setting a field which does allow nulls.

Field Detail
cache
protected String cache(Code)



checkZeroUpdate
protected String checkZeroUpdate(Code)



connectFormat
protected String connectFormat(Code)



createTableIndicies
protected String createTableIndicies(Code)



dateSelectFormat
protected String dateSelectFormat(Code)



dateSelectFunction
protected String dateSelectFunction(Code)



dateTimeSelectFormat
protected String dateTimeSelectFormat(Code)



dateTimeSelectFunction
protected String dateTimeSelectFunction(Code)



dateTimeUpdateFormat
protected String dateTimeUpdateFormat(Code)



dateTimeUpdateFunction
protected String dateTimeUpdateFunction(Code)



dateUpdateFormat
protected String dateUpdateFormat(Code)



dateUpdateFunction
protected String dateUpdateFunction(Code)



dbCatalogue
protected String dbCatalogue(Code)



dbSchema
protected String dbSchema(Code)



dbStats
protected String dbStats(Code)



dbTest
protected String dbTest(Code)



driver
protected String driver(Code)



driverType
protected String driverType(Code)



escapeHandler
protected String escapeHandler(Code)



escapeHandlerInstance
protected EscapeHandler escapeHandlerInstance(Code)



limitationPosition
protected String limitationPosition(Code)



limitationSyntax
protected String limitationSyntax(Code)



login
protected String login(Code)



nativeBlob
protected String nativeBlob(Code)



nativeBool
protected String nativeBool(Code)



password
protected String password(Code)



skipText
protected String skipText(Code)



stringNotTrim
protected String stringNotTrim(Code)



timeSelectFormat
protected String timeSelectFormat(Code)



timeSelectFunction
protected String timeSelectFunction(Code)



timeUpdateFormat
protected String timeUpdateFormat(Code)



timeUpdateFunction
protected String timeUpdateFunction(Code)



transactionNotActive
protected String transactionNotActive(Code)



uniqueRowKeyword
protected String uniqueRowKeyword(Code)



url
protected String url(Code)



useNullOnCreate
protected String useNullOnCreate(Code)



wildCards
protected Vector wildCards(Code)




Constructor Detail
JDBCConfig
public JDBCConfig()(Code)




Method Detail
addTypeMapping
public void addTypeMapping(TypeMappingConfig newValue)(Code)
Add a type mapping to the system
Parameters:
  newValue - a new TypeMappingConfig value.



addWildcard
public void addWildcard(String newWild)(Code)
Adds the specified wildcard entry
Parameters:
  newWild - a new string that denotes wildcard strings for thisdatabase



cache
public boolean cache()(Code)
Gets the cache enabled boolean flag true if this data context is true



checkZeroUpdate
public boolean checkZeroUpdate()(Code)
Gets the check zero update version as a boolean true if you are supposed to check for zero update



createTableIndicies
public boolean createTableIndicies()(Code)
Gets the create table indicies boolean value true if DBCreate should issue CREATE INDEX Statements



dbStats
public boolean dbStats()(Code)
Gets the database statistics flag boolean boolean



getCheckZeroUpdate
public String getCheckZeroUpdate()(Code)
Gets the check zero update version as a boolean java.lang.String



getConnectFormat
public String getConnectFormat()(Code)
Gets the JDBC connection format style. How does Expresso connect to the data source? java.lang.String



getDateSelectFormat
public String getDateSelectFormat()(Code)
Gets the date update function string java.lang.String



getDateSelectFunction
public String getDateSelectFunction()(Code)
Gets the date select format string java.lang.String



getDateTimeSelectFormat
public String getDateTimeSelectFormat()(Code)
Sets the date time select format string java.lang.String



getDateTimeSelectFunction
public String getDateTimeSelectFunction()(Code)
Sets the date time select function string java.lang.String



getDateTimeUpdateFormat
public String getDateTimeUpdateFormat()(Code)
Sets the date time update format string java.lang.String



getDateTimeUpdateFunction
public String getDateTimeUpdateFunction()(Code)
Sets the date time select function string java.lang.STring



getDateUpdateFormat
public String getDateUpdateFormat()(Code)
Gets the date update format string java.lang.String



getDateUpdateFunction
public String getDateUpdateFunction()(Code)
Gets the date update function string java.lang.String



getDbCatalogue
public String getDbCatalogue()(Code)



getDbSchema
public String getDbSchema()(Code)



getDbTest
public String getDbTest()(Code)
Retrieves the DB test string java.lang.String



getDriver
public String getDriver()(Code)
Gets the JDBC Driver class name java.lang.String



getDriverType
public String getDriverType()(Code)
Gets the JDBC Driver Type name java.lang.String



getEscapeHandler
public String getEscapeHandler()(Code)
Get the classname of the current escape handler for this data context Classname as java.lang.String



getEscapeHandlerClass
public EscapeHandler getEscapeHandlerClass()(Code)



getLimitationPosition
public String getLimitationPosition()(Code)
Gets the limitation syntax position string java.lang.String



getLimitationSyntax
public String getLimitationSyntax()(Code)
Gets the limitation syntax java.lang.String



getLogin
public String getLogin()(Code)
Gets the JDBC login account name getLogin



getPassword
public String getPassword()(Code)
Gets the JDBC login password java.lang.String



getStringNotTrim
public String getStringNotTrim()(Code)
Get the NoTrim parameter setting java.lang.String



getTimeSelectFormat
public String getTimeSelectFormat()(Code)
Gets the time select function string java.lang.String



getTimeSelectFunction
public String getTimeSelectFunction()(Code)
Gets the time select function string java.lang.String



getTimeUpdateFormat
public String getTimeUpdateFormat()(Code)
Gets the time update format string java.lang.String



getTimeUpdateFunction
public String getTimeUpdateFunction()(Code)
Gets the time update function string java.lang.String



getTransactionNotActive
public String getTransactionNotActive()(Code)
Get the transaction non action setting java.lang.String



getTypeMappingVector
public java.util.Vector getTypeMappingVector()(Code)
Old type mappings style for a Vector to help with migration. Will eventually be deprecated. java.util.Vector of type mapping objects.



getTypeMappings
public java.util.List getTypeMappings()(Code)
Retrieve a list of all type mappings available. java.util.List a list of TypeMappingConfig objects
since:
   Expresso 5.1



getUniqueRowKeyword
public String getUniqueRowKeyword()(Code)
Gets the unique keyword flag java.lang.String



getUrl
public String getUrl()(Code)
Gets the JDBC URL java.lang.String



getWildcards
public Vector getWildcards()(Code)
Gets a vector list of wildcard entries java.util.Vector of wildcard strings



isNativeBlob
public boolean isNativeBlob()(Code)
Return whether this database type supports native blob types boolean true if it supports native blob types.



isNativeBool
public boolean isNativeBool()(Code)
Returns whether or not this database supports native boolean datatypes true if the database supports boolean datatypes natively



isStringNotTrim
public boolean isStringNotTrim()(Code)
Return whether this database persistence string will not be trimmed before store it and get it after.

boolean true if database string column will not be trimmed before or after store or get.




isTransactionNotActive
public boolean isTransactionNotActive()(Code)
Return whether this database transaction is active or not boolean true if database transactive will not activate.



setCache
public void setCache(String newCache)(Code)
Sets the cache enabled boolean flag
Parameters:
  newCache - true if you want this data context cached



setCheckZeroUpdate
public void setCheckZeroUpdate(String newCheckZeroUpdate)(Code)
Set the check zero update version
Parameters:
  newCheckZeroUpdate - - a boolean value



setConnectFormat
public void setConnectFormat(String newFormat)(Code)
Sets the JDBC connection format style. How does Expresso connect to the data source?
Parameters:
  newFormat - number one through 5



setCreateTableIndicies
public void setCreateTableIndicies(String newIndicies)(Code)
Sets the create table indicies boolean value
Parameters:
  newIndicies - boolean string indicating that database CREATE INDEX statementsshould be issued to the underlying database on db creation.



setDateSelectFormat
public void setDateSelectFormat(String newFormat)(Code)
Sets the date select format string
Parameters:
  newFormat - The data select format string.



setDateSelectFunction
public void setDateSelectFunction(String newFunction)(Code)
Sets the date select functon string
Parameters:
  newFunction - the new format string to use for selecting date typesfrom the database



setDateTimeSelectFormat
public void setDateTimeSelectFormat(String newFormat)(Code)
Sets the date time select format string
Parameters:
  newFormat - the Date-Time Select format formatting string



setDateTimeSelectFunction
public void setDateTimeSelectFunction(String newFunction)(Code)
Sets the date time select function string
Parameters:
  newFunction - the new function for date time select statements



setDateTimeUpdateFormat
public void setDateTimeUpdateFormat(String newFormat)(Code)
Sets the date time update format string
Parameters:
  newFormat - the new date time format string for update statements



setDateTimeUpdateFunction
public void setDateTimeUpdateFunction(String newFunction)(Code)
Sets the date time update function string
Parameters:
  newFunction - the new date-type update funciton



setDateUpdateFormat
public void setDateUpdateFormat(String newFormat)(Code)
Sets the date update format string
Parameters:
  newFormat - the new Date Update format to use



setDateUpdateFunction
public void setDateUpdateFunction(String newFunction)(Code)
Sets the date update function string
Parameters:
  newFunction - the new date update function for UPDATE executionstatements



setDbCatalogue
public void setDbCatalogue(String newValue)(Code)

Parameters:
  string -



setDbSchema
public void setDbSchema(String newValue)(Code)

Parameters:
  string -



setDbStats
public void setDbStats(String newStats)(Code)
Sets the database statistics flag boolean
Parameters:
  newStats - true if you wish to get Database stats



setDbTest
public void setDbTest(String newTest)(Code)
Sets the database test
Parameters:
  newTest - java.lang.String



setDriver
public void setDriver(String newDriver)(Code)
Sets the JDBC driver class name
Parameters:
  newDriver - the new driver class name as spefied by the config file



setDriverType
public void setDriverType(String newDriverType)(Code)
Sets the JDBC driver Type name
Parameters:
  newDriverType - either "e;datasource"e; or "e;jdbc"e;



setEscapeHandler
public void setEscapeHandler(String newValue)(Code)
Sets the escape handler for this jdbc connection. ie. What class performs the filtering on the codes to properly process any special characters for the database.
Parameters:
  newValue - The new value to set for the escape handler. Must be a validclassname in your class path.



setHasBooleanType
public void setHasBooleanType(String newValue)(Code)
Sets whether or not this JDBC configuration supports a native boolean datatype.
Parameters:
  newValue - true if your database supports native boolean data types.



setLimitationPosition
public void setLimitationPosition(String newPos)(Code)
Sets the limitation position string
Parameters:
  newPos - The limitation syntax position string. See the DTD forpossible values



setLimitationSyntax
public void setLimitationSyntax(String newLimit)(Code)
Sets the limitation syntax string
Parameters:
  newLimit - the limitation syntax string



setLogin
public void setLogin(String newLogin)(Code)
Sets the JDBC login account name
Parameters:
  newLogin - the login to use for JDBC



setNativeBlob
public void setNativeBlob(String newValue)(Code)
Sets whether the database supports the native BLOB datatype, or whether you need binary streams.
Parameters:
  newValue - The new value to set.



setPassword
public void setPassword(String newPassword)(Code)
Sets the JDBC login password
Parameters:
  newPassword - the new password to connect to the database



setSkipText
public void setSkipText(String newSkip)(Code)
Sets the skip text flag
Parameters:
  newSkip - new Skip boolean value in sstring form



setStringNotTrim
public void setStringNotTrim(String newValue)(Code)
Set the NoTrim parameter setting
Parameters:
  string -



setTimeSelectFormat
public void setTimeSelectFormat(String newFormat)(Code)
Sets the time select format string
Parameters:
  newFormat - the new time select format string



setTimeSelectFunction
public void setTimeSelectFunction(String newFunction)(Code)
Sets the time select function string
Parameters:
  newFunction - the new function for formatting time strings fordatabase select statements



setTimeUpdateFormat
public void setTimeUpdateFormat(String newFormat)(Code)
Sets the time update format string
Parameters:
  newFormat - the new TimeUpdate format



setTimeUpdateFunction
public void setTimeUpdateFunction(String newFunction)(Code)
Sets the time update function string
Parameters:
  newFunction - the new Time Update function to execute for TIMEdatatypes for UPDATE execution statements.



setTransactionNotActive
public void setTransactionNotActive(String newValue)(Code)
Set the transaction non action parameter


Parameters:
  string -




setTypeMappings
public void setTypeMappings(java.util.List newValue)(Code)
Set the list of type mappings
Parameters:
  newValue - a list of TypeMappingConfig objects
since:
   Expresso 5.1



setUniqueRowKeyword
public void setUniqueRowKeyword(String newKey)(Code)
Sets the unique keyword flag
Parameters:
  newKey - the new string to use for 'unique row' as a keyword foryour database



setUrl
public void setUrl(String newUrl)(Code)
Sets the JDBC URL
Parameters:
  newUrl - the new URL for the JDBC connection



setUseNullOnCreate
public void setUseNullOnCreate(String newUseNull)(Code)
Set the flag that specifies if we use the "null" keyword in the create table statement when setting a field which does allow nulls. Some databases insist on this (sybase), others do not allow it (firebird)
Parameters:
  newUseNull - checks if we should use the null keyword in dealingwith table creation.



skipText
public boolean skipText()(Code)
Gets the skip text flag boolean



useNullOnCreate
public boolean useNullOnCreate()(Code)
Get the flag that specifies if we use the "null" keyword in the create table statement when setting a field which does allow nulls. Some databases insist on this (sybase), others do not allow it (firebird) boolean



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.