Record Class HibernateDataSourceInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateDataSourceInfo
- Record Components:
name- datasource namejdbcUrl- JDBC URLjdbcDriver- JDBC driverdialect- Hibernate dialectdialectVersion- dialect database versioncatalog- connection catalogschema- connection schemaautoCommitMode- autocommit modeisolationLevel- transaction isolation levelpoolMinSize- connection pool minimum sizepoolMaxSize- connection pool maximum sizejdbcFetchSize- JDBC fetch sizesupportsSchemas- whether the database supports schemassupportsCatalogs- whether the database supports catalogssupportsNamedParameters- whether JDBC named parameters are supportedsupportsScrollableResults- whether scrollable results are supportedsupportsBatchUpdates- whether JDBC batch updates are supportedsupportsGetGeneratedKeys- whether generated keys are supportedproperties- selected datasource properties
public record HibernateDataSourceInfo(String name, String jdbcUrl, String jdbcDriver, String dialect, String dialectVersion, String catalog, String schema, String autoCommitMode, String isolationLevel, String poolMinSize, String poolMaxSize, String jdbcFetchSize, boolean supportsSchemas, boolean supportsCatalogs, boolean supportsNamedParameters, boolean supportsScrollableResults, boolean supportsBatchUpdates, boolean supportsGetGeneratedKeys, Map<String,String> properties)
extends Record
Hibernate datasource and JDBC metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateDataSourceInfo(String name, String jdbcUrl, String jdbcDriver, String dialect, String dialectVersion, String catalog, String schema, String autoCommitMode, String isolationLevel, String poolMinSize, String poolMaxSize, String jdbcFetchSize, boolean supportsSchemas, boolean supportsCatalogs, boolean supportsNamedParameters, boolean supportsScrollableResults, boolean supportsBatchUpdates, boolean supportsGetGeneratedKeys, Map<String, String> properties) Creates an instance of aHibernateDataSourceInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theautoCommitModerecord component.catalog()Returns the value of thecatalogrecord component.dialect()Returns the value of thedialectrecord component.Returns the value of thedialectVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisolationLevelrecord component.Returns the value of thejdbcDriverrecord component.Returns the value of thejdbcFetchSizerecord component.jdbcUrl()Returns the value of thejdbcUrlrecord component.name()Returns the value of thenamerecord component.Returns the value of thepoolMaxSizerecord component.Returns the value of thepoolMinSizerecord component.Returns the value of thepropertiesrecord component.schema()Returns the value of theschemarecord component.booleanReturns the value of thesupportsBatchUpdatesrecord component.booleanReturns the value of thesupportsCatalogsrecord component.booleanReturns the value of thesupportsGetGeneratedKeysrecord component.booleanReturns the value of thesupportsNamedParametersrecord component.booleanReturns the value of thesupportsSchemasrecord component.booleanReturns the value of thesupportsScrollableResultsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HibernateDataSourceInfo
public HibernateDataSourceInfo(String name, String jdbcUrl, String jdbcDriver, String dialect, String dialectVersion, String catalog, String schema, String autoCommitMode, String isolationLevel, String poolMinSize, String poolMaxSize, String jdbcFetchSize, boolean supportsSchemas, boolean supportsCatalogs, boolean supportsNamedParameters, boolean supportsScrollableResults, boolean supportsBatchUpdates, boolean supportsGetGeneratedKeys, Map<String, String> properties) Creates an instance of aHibernateDataSourceInforecord class.- Parameters:
name- the value for thenamerecord componentjdbcUrl- the value for thejdbcUrlrecord componentjdbcDriver- the value for thejdbcDriverrecord componentdialect- the value for thedialectrecord componentdialectVersion- the value for thedialectVersionrecord componentcatalog- the value for thecatalogrecord componentschema- the value for theschemarecord componentautoCommitMode- the value for theautoCommitModerecord componentisolationLevel- the value for theisolationLevelrecord componentpoolMinSize- the value for thepoolMinSizerecord componentpoolMaxSize- the value for thepoolMaxSizerecord componentjdbcFetchSize- the value for thejdbcFetchSizerecord componentsupportsSchemas- the value for thesupportsSchemasrecord componentsupportsCatalogs- the value for thesupportsCatalogsrecord componentsupportsNamedParameters- the value for thesupportsNamedParametersrecord componentsupportsScrollableResults- the value for thesupportsScrollableResultsrecord componentsupportsBatchUpdates- the value for thesupportsBatchUpdatesrecord componentsupportsGetGeneratedKeys- the value for thesupportsGetGeneratedKeysrecord componentproperties- the value for thepropertiesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
jdbcUrl
-
jdbcDriver
Returns the value of thejdbcDriverrecord component.- Returns:
- the value of the
jdbcDriverrecord component
-
dialect
-
dialectVersion
Returns the value of thedialectVersionrecord component.- Returns:
- the value of the
dialectVersionrecord component
-
catalog
-
schema
-
autoCommitMode
Returns the value of theautoCommitModerecord component.- Returns:
- the value of the
autoCommitModerecord component
-
isolationLevel
Returns the value of theisolationLevelrecord component.- Returns:
- the value of the
isolationLevelrecord component
-
poolMinSize
Returns the value of thepoolMinSizerecord component.- Returns:
- the value of the
poolMinSizerecord component
-
poolMaxSize
Returns the value of thepoolMaxSizerecord component.- Returns:
- the value of the
poolMaxSizerecord component
-
jdbcFetchSize
Returns the value of thejdbcFetchSizerecord component.- Returns:
- the value of the
jdbcFetchSizerecord component
-
supportsSchemas
public boolean supportsSchemas()Returns the value of thesupportsSchemasrecord component.- Returns:
- the value of the
supportsSchemasrecord component
-
supportsCatalogs
public boolean supportsCatalogs()Returns the value of thesupportsCatalogsrecord component.- Returns:
- the value of the
supportsCatalogsrecord component
-
supportsNamedParameters
public boolean supportsNamedParameters()Returns the value of thesupportsNamedParametersrecord component.- Returns:
- the value of the
supportsNamedParametersrecord component
-
supportsScrollableResults
public boolean supportsScrollableResults()Returns the value of thesupportsScrollableResultsrecord component.- Returns:
- the value of the
supportsScrollableResultsrecord component
-
supportsBatchUpdates
public boolean supportsBatchUpdates()Returns the value of thesupportsBatchUpdatesrecord component.- Returns:
- the value of the
supportsBatchUpdatesrecord component
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()Returns the value of thesupportsGetGeneratedKeysrecord component.- Returns:
- the value of the
supportsGetGeneratedKeysrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-