public class JdbcConnection extends FoundationObject implements JdbcConnectionFactory
internalId, internalName, log, TIMESTAMP_FORMAT
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
JdbcConnection() |
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, closeConnection, wrap, wrap, wrap, wrap, wrap
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties
public JdbcConnectionListener getListener()
public JdbcConnection setListener(JdbcConnectionListener listener)
public String getName()
public JdbcConnection setName(String name)
public JdbcConnectionFactory getConnectionFactory()
public JdbcConnection setConnectionFactory(JdbcConnectionFactory connectionFactory)
public String getDriverClassName()
public JdbcConnection setDriverClassName(String driverClassName)
public String getUrl()
public JdbcConnection setUrl(String url)
public String getUsername()
public JdbcConnection setUsername(String username)
public String getEncodedPassword()
public JdbcConnection setEncodedPassword(String password)
public String getPlainTextPassword()
public JdbcConnection setPlainTextPassword(String password)
public JdbcConnection setPasswordEncoder(Encoder<String,String> passwordEncoder)
public boolean isUseCatalog()
public JdbcConnection setUseCatalog(boolean useCatalog)
public JdbcConnection addProperty(Property property)
public JdbcConnection addProperty(String name, String value)
public List<JdbcTable> getTablesSorted()
public List<JdbcTable> getTablesSortedTopologically()
public JdbcConnection addTable(JdbcTable table)
public JdbcConnection addQuery(JdbcQuery query)
public JdbcConnection addQuery(String name, String query)
public JdbcConnection setJavaTypeOverride(String databaseTypeName, Class<?> javaType)
public JdbcValueReader getSqlToJavaTypeMapper()
public JdbcConnection setSqlToJavaTypeMapper(JdbcValueReader sqlToJavaTypeMapper)
public Boolean getIsCatalogAtStart()
public Boolean getSupportsCatalogsInDataManipulation()
public Boolean getSupportsCatalogsInTableDefinitions()
public Boolean getSupportsCatalogsInPrivilegeDefinitions()
public JdbcConnection addSchema(JdbcSchema jdbcSchema)
public List<JdbcSchema> getSchemas()
public Connection createConnection()
createConnection
in interface JdbcConnectionFactory
public JdbcConnection loadTables()
public JdbcConnection loadTables(String catalog, String schemaPattern, String tableNamePattern, String... types)
public JdbcConnection loadTables(LoadTablesRequest request)
public JdbcConnection loadQueries()
public static List<JdbcQueryColumn> getQueryColumns(ResultSetMetaData resultSetMetaData, JdbcConnection jdbcConnection)
public JdbcConnection loadCatalogAndSchemas()
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public JdbcConnection fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.