Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -169,8 +169,7 @@ public class SqlLobValue implements DisposableSqlTypeValue {
|
||||
* Set the specified content via the LobCreator.
|
||||
*/
|
||||
@Override
|
||||
public void setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName)
|
||||
throws SQLException {
|
||||
public void setTypeValue(PreparedStatement ps, int paramIndex, int sqlType, String typeName) throws SQLException {
|
||||
if (sqlType == Types.BLOB) {
|
||||
if (this.content instanceof byte[] || this.content == null) {
|
||||
this.lobCreator.setBlobAsBytes(ps, paramIndex, (byte[]) this.content);
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/**
|
||||
* Provides a stategy interface for Large OBject handling,
|
||||
* with implementations for various databases.
|
||||
*
|
||||
* <p>Can be used independently from jdbc.core and jdbc.object,
|
||||
* for example in custom JDBC access code.
|
||||
* Provides a strategy interface for Large OBject handling,
|
||||
* as well as a customizable default implementation.
|
||||
*/
|
||||
package org.springframework.jdbc.support.lob;
|
||||
|
||||
Reference in New Issue
Block a user