当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
DataSourceDS - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.migration.bean
Class DataSourceDS
java.lang.Object
org.jboss.portal.migration.bean.DataSourceDS
- public class DataSourceDS
- extends java.lang.Object
Bean representation of fromDS and toDS.
- Author:
- Roy Russo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connectexists
public boolean connectexists
datasource22
public java.lang.String datasource22
datasource24
public java.lang.String datasource24
dialect22
public java.lang.String dialect22
dialect24
public java.lang.String dialect24
DataSourceDS
public DataSourceDS()
getDialect22
public java.lang.String getDialect22()
setDialect22
public void setDialect22(java.lang.String dialect22)
getDialect24
public java.lang.String getDialect24()
setDialect24
public void setDialect24(java.lang.String dialect24)
getDatasource24
public java.lang.String getDatasource24()
setDatasource24
public void setDatasource24(java.lang.String datasource24)
getDatasource22
public java.lang.String getDatasource22()
setDatasource22
public void setDatasource22(java.lang.String datasource22)
isConnectexists
public boolean isConnectexists()
setConnectexists
public void setConnectexists(boolean connectexists)
check22
public java.lang.String check22()
throws java.lang.Exception
- Throws:
java.lang.Exception
check24
public java.lang.String check24()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkConnection
private void checkConnection(java.lang.String version,
java.lang.String DSName)
throws java.lang.Exception
- Generic connection check and dialect setter based on given jndi name.
- Parameters:
version
- DSName
-
- Throws:
java.lang.Exception
getDatabaseMajorVersion
private int getDatabaseMajorVersion(java.sql.DatabaseMetaData meta)