クラス DefaultTableNameMapper

    • コンストラクタの詳細

      • DefaultTableNameMapper

        public DefaultTableNameMapper()
    • メソッドの詳細

      • guessTableNameCandidates

        protected List<String> guessTableNameCandidates​(Class<?> objectClass)
        Guesses table name from the given object class.
        パラメータ:
        objectClass -
        戻り値:
      • convertToExactTableName

        protected Optional<TableName> convertToExactTableName​(DatabaseMetaData metaData,
                                                              List<String> tableNameCandidates)
                                                       throws SQLException
        Convert from the given table name candidates to the exact table name on the database.
        パラメータ:
        metaData -
        tableNameCandidates -
        戻り値:
        例外:
        SQLException
      • isMatch

        protected boolean isMatch​(List<String> candidates,
                                  String exactTableName)
        Returns success or not: the given table name is match the one of the given candidates. That is ignore case.
        パラメータ:
        candidates -
        exactTableName - is the table name on the database
        戻り値: