public class DataAccessInfo
extends java.lang.Object
| Constructor and Description |
|---|
DataAccessInfo(javax.sql.DataSource pDataSource,
java.lang.String pSql,
boolean pJMS)
Deprecated.
Constructor for the data access info class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeSQL()
Deprecated.
Execute the SQL query to fetch source and target data that is associated with an
interface.
|
java.sql.Connection |
getConnectionFromDataSource()
Deprecated.
This method is only here to avoid a complex UI refactoring, and musn't be used otherwise.
In general it is discouraged to work on a Connection. |
java.lang.String |
getSQL()
Deprecated.
Retrieve the SQL query string that can be used to fetch source and target data
associated with the interface.
|
boolean |
isJMS()
Deprecated.
Return true if the source or target data is from a JMS (Java Messaging Service)
data server technology, else false.
|
public DataAccessInfo(javax.sql.DataSource pDataSource,
java.lang.String pSql,
boolean pJMS)
pDataSource - The java data source instance used to get a connection to the runtime data.pSql - The SQL query string used to access the runtime data.pJMS - True if the runtime data is accessed from the JMS technology.public java.lang.String getSQL()
public boolean isJMS()
public java.sql.Connection getConnectionFromDataSource()
throws java.sql.SQLException
Connection.
FIXME remove this method when the UI doesn't use the Borland Grid anymore.
For internal use only.java.sql.SQLExceptionpublic void executeSQL()
throws java.sql.SQLException
java.sql.SQLException