Class H2
java.lang.Object
io.micronaut.starter.feature.testresources.EaseTestingFeature
io.micronaut.starter.feature.database.DatabaseDriverFeature
io.micronaut.starter.feature.database.H2
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,DatabaseDriverFeatureDependencies,Feature,OneOfFeature,TestResourcesAdditionalModulesProvider
@Requires(property="micronaut.starter.feature.h2.enabled",
value="true",
defaultValue="true")
@Singleton
@Primary
public class H2
extends DatabaseDriverFeature
-
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanembedded()@NonNull String@NonNull Optional<Dependency.Builder>@NonNull StringgetName()The name of the feature.@NonNull Optional<Dependency.Builder>getTitle()Methods inherited from class io.micronaut.starter.feature.database.DatabaseDriverFeature
apply, dependenciesForHibernateReactive, getAdditionalConfig, getCategory, getDbType, getFeatureClass, getTestResourcesAdditionalModules, getTestResourcesDependencies, parseDependencies, processSelectedFeatures, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.starter.feature.database.DatabaseDriverFeatureDependencies
getHibernateReactiveJavaClientDependencyMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.starter.feature.Feature
getMicronautDocumentation, getOrder, getThirdPartyDocumentation, isCommunity, isPreview, isVisible
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
H2
public H2()
-
-
Method Details
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique.- Returns:
- the name of the feature
-
getTitle
- Returns:
- The title of the feature
-
getDescription
-
getJdbcUrl
- Specified by:
getJdbcUrlin classDatabaseDriverFeature
-
getR2dbcUrl
- Specified by:
getR2dbcUrlin classDatabaseDriverFeature
-
getDriverClass
- Specified by:
getDriverClassin classDatabaseDriverFeature
-
getDefaultUser
- Specified by:
getDefaultUserin classDatabaseDriverFeature
-
getDefaultPassword
- Specified by:
getDefaultPasswordin classDatabaseDriverFeature
-
getDataDialect
- Specified by:
getDataDialectin classDatabaseDriverFeature
-
embedded
public boolean embedded()- Specified by:
embeddedin classDatabaseDriverFeature
-
getR2DbcDependency
-
getJavaClientDependency
-