Class MatchingNamingConvention

java.lang.Object
io.ebean.config.AbstractNamingConvention
io.ebean.config.MatchingNamingConvention
All Implemented Interfaces:
NamingConvention

The JPA naming convention where column names match property names and table names match entity names.

The JPA specification states that the in the case of no annotations the name of the class will be take as the table name and the name of a property will be taken as the name of the column.

Author:
emcgreal
  • Constructor Details

    • MatchingNamingConvention

      Create with a sequence format of "{table}_seq".
    • MatchingNamingConvention

      public MatchingNamingConvention(String sequenceFormat)
      Instantiates with a specific format for DB sequences.
      Parameters:
      sequenceFormat - the sequence format
  • Method Details