Java Doc for SQLConnectionInfo.java in » Database-ORM » XORM » org » xorm » datastore » sql » 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 ORM
»
XORM
»
org.xorm.datastore.sql
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.xorm.datastore
.ConnectionInfo
org.xorm.datastore.sql
.SQLConnectionInfo
SQLConnectionInfo
public
class SQLConnectionInfo extends
ConnectionInfo
implements
I15d
(Code)
Field Summary
final
public
static
String
OPTION_AUTO_INCREMENT_PRIMARY_KEYS
final
public
static
String
OPTION_SEQUENCE_NAME_PATTERN
protected
static
Logger
logger
Method Summary
public
synchronized void
close
()
Releases the data source associated with this connection info.
public
Table
describeTable
(
String
tableName)
public
void
finalize
()
Calls close() to release any lingering resources.
public
boolean
getCheckReturnedConnection
()
public
synchronized
DataSource
getDataSource
()
Returns the DataSource configured with the settings above. The DataSource is acquired in the following order:
Casting the ConnectionFactory object to javax.sql.DataSource
Using JNDI to lookup the ConnectionFactoryName object, and casting it to javax.sql.DataSource.
public
DatastoreDriver
getDriver
()
public
boolean
getExecuteBatch
()
public
long
getIdleCheck
()
public
String
getIdleCheckSQL
()
public
String
getLastIDStatement
()
public
String
getNextIDStatement
()
public
void
setCheckReturnedConnection
(boolean check)
public
void
setExecuteBatch
(boolean value)
public
void
setIdleCheck
(long idle)
public
void
setIdleCheckSQL
(
String
sql)
public
void
setIsolationLevelString
(
String
level)
public
void
setLastIDStatement
(
String
lastIDStatement)
public
void
setNextIDStatement
(
String
nextIDStatement)
public
void
setProperties
(
Properties
properties)
Field Detail
OPTION_AUTO_INCREMENT_PRIMARY_KEYS
final
public
static
String
OPTION_AUTO_INCREMENT_PRIMARY_KEYS
(Code)
OPTION_SEQUENCE_NAME_PATTERN
final
public
static
String
OPTION_SEQUENCE_NAME_PATTERN
(Code)
logger
protected
static
Logger
logger
(Code)
Method Detail
close
public
synchronized void close()
(Code)
Releases the data source associated with this connection info.
describeTable
public
Table
describeTable(
String
tableName)
(Code)
finalize
public
void finalize()
(Code)
Calls close() to release any lingering resources.
getCheckReturnedConnection
public
boolean getCheckReturnedConnection()
(Code)
getDataSource
public
synchronized
DataSource
getDataSource()
(Code)
Returns the DataSource configured with the settings above. The DataSource is acquired in the following order:
Casting the ConnectionFactory object to javax.sql.DataSource
Using JNDI to lookup the ConnectionFactoryName object, and casting it to javax.sql.DataSource.
Creating a XORM PooledDataSource instance and configuring it with the other properties (connectionDriverName is required).
If no DataSource can be acquired using any of the above techniques, returns null.
getDriver
public
DatastoreDriver
getDriver()
(Code)
getExecuteBatch
public
boolean getExecuteBatch()
(Code)
getIdleCheck
public
long getIdleCheck()
(Code)
getIdleCheckSQL
public
String
getIdleCheckSQL()
(Code)
getLastIDStatement
public
String
getLastIDStatement()
(Code)
getNextIDStatement
public
String
getNextIDStatement()
(Code)
setCheckReturnedConnection
public
void setCheckReturnedConnection(boolean check)
(Code)
setExecuteBatch
public
void setExecuteBatch(boolean value)
(Code)
setIdleCheck
public
void setIdleCheck(long idle)
(Code)
setIdleCheckSQL
public
void setIdleCheckSQL(
String
sql)
(Code)
setIsolationLevelString
public
void setIsolationLevelString(
String
level)
(Code)
setLastIDStatement
public
void setLastIDStatement(
String
lastIDStatement)
(Code)
setNextIDStatement
public
void setNextIDStatement(
String
nextIDStatement)
(Code)
setProperties
public
void setProperties(
Properties
properties)
(Code)
Fields inherited from
org.xorm.datastore.ConnectionInfo
protected
String
connectionDriverName
(Code)
(Java Doc)
protected
Object
connectionFactory
(Code)
(Java Doc)
protected
Object
connectionFactory2
(Code)
(Java Doc)
protected
String
connectionFactory2Name
(Code)
(Java Doc)
protected
String
connectionFactoryName
(Code)
(Java Doc)
protected
String
connectionPassword
(Code)
(Java Doc)
protected
String
connectionURL
(Code)
(Java Doc)
protected
String
connectionUserName
(Code)
(Java Doc)
protected
InterfaceManagerFactory
factory
(Code)
(Java Doc)
protected
int maxPool
(Code)
(Java Doc)
protected
int minPool
(Code)
(Java Doc)
protected
int msWait
(Code)
(Java Doc)
protected
Properties
properties
(Code)
(Java Doc)
Methods inherited from
org.xorm.datastore.ConnectionInfo
public
void close()
(Code)
(Java Doc)
public
Table
describeTable(
String
tableName)
(Code)
(Java Doc)
public
String
getConnectionDriverName()
(Code)
(Java Doc)
public
Object
getConnectionFactory()
(Code)
(Java Doc)
public
Object
getConnectionFactory2()
(Code)
(Java Doc)
public
String
getConnectionFactory2Name()
(Code)
(Java Doc)
public
String
getConnectionFactoryName()
(Code)
(Java Doc)
public
String
getConnectionURL()
(Code)
(Java Doc)
public
String
getConnectionUserName()
(Code)
(Java Doc)
abstract
public
DatastoreDriver
getDriver()
(Code)
(Java Doc)
public
int getMaxPool()
(Code)
(Java Doc)
public
int getMinPool()
(Code)
(Java Doc)
public
int getMsWait()
(Code)
(Java Doc)
public
Properties
getProperties()
(Code)
(Java Doc)
public
static
Object
resolveJNDI(
String
name)
(Code)
(Java Doc)
public
void setConnectionDriverName(
String
s)
(Code)
(Java Doc)
public
void setConnectionFactory(
Object
o)
(Code)
(Java Doc)
public
void setConnectionFactory2(
Object
o)
(Code)
(Java Doc)
public
void setConnectionFactory2Name(
String
s)
(Code)
(Java Doc)
public
void setConnectionFactoryName(
String
s)
(Code)
(Java Doc)
public
void setConnectionPassword(
String
s)
(Code)
(Java Doc)
public
void setConnectionURL(
String
s)
(Code)
(Java Doc)
public
void setConnectionUserName(
String
s)
(Code)
(Java Doc)
public
void setFactory(
InterfaceManagerFactory
factory)
(Code)
(Java Doc)
public
void setMaxPool(int i)
(Code)
(Java Doc)
public
void setMinPool(int i)
(Code)
(Java Doc)
public
void setMsWait(int i)
(Code)
(Java Doc)
public
void setProperties(
Properties
properties)
(Code)
(Java Doc)
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.