Class HibernatePresenceCondition

java.lang.Object
io.micronaut.jdbc.spring.HibernatePresenceCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

@Internal public final class HibernatePresenceCondition extends Object implements io.micronaut.context.condition.Condition
Disables the datasource configuration if Hibernate is present.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • HibernatePresenceCondition

      public HibernatePresenceCondition()
  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition