クラス JdbcSchemaUtils

java.lang.ObjectSE
org.springframework.session.jdbc.util.JdbcSchemaUtils

public final class JdbcSchemaUtils extends ObjectSE
スキーマファイルのユーティリティクラス。
導入:
3.1
  • メソッドの詳細

    • replaceDefaultTableName

      public static org.springframework.core.io.Resource replaceDefaultTableName(org.springframework.core.io.Resource schemaResource, StringSE tableName) throws IOExceptionSE
      指定されたスキーマリソースのコンテンツをロードし、JdbcIndexedSessionRepository.DEFAULT_TABLE_NAME を指定されたテーブル名に置き換えます。
      パラメーター:
      schemaResource - スキーマリソース
      tableName - 置換するテーブル名
      戻り値:
      テーブル名が置換されたスキーマリソース
      例外:
      IOExceptionSE