|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.generator.source.SourceImpl
org.apache.torque.generator.source.jdbc.JdbcMetadataSource
public class JdbcMetadataSource
A source which reads the data from JDBC Metadata.
| Constructor Summary | |
|---|---|
JdbcMetadataSource(String driver,
String url,
String username,
String password,
String schema)
Constructor. |
|
| Method Summary | |
|---|---|
protected SourceElement |
createRootElement()
Reads the root element and the whole untransformed source tree. |
String |
getDescription()
Gets a description of this source for debugging purposes. |
File |
getSourceFile()
Returns the source file, if it exists. |
| Methods inherited from class org.apache.torque.generator.source.SourceImpl |
|---|
getRootElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcMetadataSource(String driver,
String url,
String username,
String password,
String schema)
driver - the database driver class, not null.url - the connection url, not null.username - the username of the database user.password - the password of the database user.schema - the schema to read.| Method Detail |
|---|
protected SourceElement createRootElement()
throws SourceException
SourceImpl
createRootElement in class SourceImplSourceException - if the SourceElement cannot be created.public String getDescription()
Source
public File getSourceFile()
Source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||