Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change JdbcDialect.validateFetchSize to be protected.
  • Loading branch information
fuwhu committed Oct 23, 2019
commit b6f3cae11dea3f6524203e4f65520fb855921eed
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ abstract class JdbcDialect extends Serializable {
* requirement of different dialects.
* @param properties The connection properties. This is passed through from the relation.
*/
def validateFetchSize(properties: Map[String, String]): Unit = {
protected def validateFetchSize(properties: Map[String, String]): Unit = {
val size = properties.getOrElse(JDBCOptions.JDBC_BATCH_FETCH_SIZE, "0").toInt
require(size >= 0,
s"Invalid value `${size.toString}` for parameter " +
Expand Down