this class/method belongs to 11g SDK and is deprecated in 12c release.
Instances of this class contain information about how to query the runtime data from
various source and target objects associated with an interface. The query information can be
used to show or retrieve the data. Instances of this class
are created by an <@link IOdiInterfaceDataAccessHelper> instance.
public class DataAccessInfo
public DataAccessInfo(javax.sql.DataSource pDataSource,
Constructor for the data access info class. For internal use only.
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()
Retrieve the SQL query string that can be used to fetch source and target data
associated with the interface. The query may include the filters, joins, lookups
that are defined in the interface.
The SQL query string.
public boolean isJMS()
Return true if the source or target data is from a JMS (Java Messaging Service)
data server technology, else false.
The JMS data flag.
public java.sql.Connection getConnectionFromDataSource()
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.
FIXME remove this method when the UI doesn't use the Borland Grid anymore.
For internal use only.
The new jdbc connection used to access the runtime data.
public void executeSQL()
Execute the SQL query to fetch source and target data that is associated with an
interface. The connection data source is part of this object and does not
need to be provided for this call.