List of usage examples for org.springframework.jdbc.support.lob LobHandler getBlobAsBytes
@Nullable byte[] getBlobAsBytes(ResultSet rs, int columnIndex) throws SQLException;
From source file:org.sakaiproject.orm.ibatis.support.BlobByteArrayTypeHandler.java
protected Object getResultInternal(ResultSet rs, int index, LobHandler lobHandler) throws SQLException { return lobHandler.getBlobAsBytes(rs, index); }
From source file:ch.iceage.icedms.persistence.jdbc.rowmapper.AbstractGenericRowMapper.java
@Override public void mapContentRow(Content content, String tableAlias, ResultSet rs, int rowNum) throws SQLException, LockedResourceException { LobHandler lobHandler = new DefaultLobHandler(); content.setContent(lobHandler.getBlobAsBytes(rs, tableAlias + "_content")); }