Class SnakeCaseColumnNameMatcher

java.lang.Object
org.jdbi.v3.core.mapper.reflect.AbstractSeparatorCharColumnNameMatcher
org.jdbi.v3.core.mapper.reflect.SnakeCaseColumnNameMatcher
All Implemented Interfaces:
ColumnNameMatcher

public class SnakeCaseColumnNameMatcher extends AbstractSeparatorCharColumnNameMatcher
Matches snake case column names to java camel case names, ignoring case. This matcher is prefix aware and will try multiple strategies to match a case name to a java name. Java names can be prefixed and separated with "."

foo_bar_baz can be mapped to fooBarBaz, foo.barBaz or foo.bar.baz

  • Constructor Details

    • SnakeCaseColumnNameMatcher

      public SnakeCaseColumnNameMatcher()
  • Method Details