クラス JdbcSchemaUtils
java.lang.ObjectSE
org.springframework.session.jdbc.util.JdbcSchemaUtils
スキーマファイルのユーティリティクラス。
- 導入:
- 3.1
メソッドのサマリー
修飾子と型メソッド説明static org.springframework.core.io.Resource
replaceDefaultTableName
(org.springframework.core.io.Resource schemaResource, StringSE tableName) 指定されたスキーマリソースのコンテンツをロードし、JdbcIndexedSessionRepository.DEFAULT_TABLE_NAME
を指定されたテーブル名に置き換えます。
メソッドの詳細
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