com.cvent.dropwizard.mybatis.mappers.HealthCheckMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-mybatis Show documentation
Show all versions of dropwizard-mybatis Show documentation
An open source bridge layer so that you can use mybatis with dropwizard + other useful utility methods often used within an enterprise.
package com.cvent.dropwizard.mybatis.mappers;
import org.apache.ibatis.annotations.Select;
/**
* A mybatis mapper for performing healthchecks
*/
public interface HealthCheckMapper {
/**
* Perform a healthcheck using provided select
*
* @return
*/
@Select("/* MyBatis Health Check */ SELECT 1")
int healthCheck();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy