mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-22 00:52:16 -05:00
Fix for java6
This commit is contained in:
parent
05ac1d3f84
commit
9f00f4924f
@ -8,6 +8,10 @@ import java.sql.SQLException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
//IFJAVA8_START
|
||||
import java.util.stream.Stream;
|
||||
//IFJAVA8_END
|
||||
|
||||
@JdbcMapper.Mapper(
|
||||
cachePreparedStatements = JdbcMapper.OptionalBool.FALSE
|
||||
, allowReflection = JdbcMapper.OptionalBool.TRUE
|
||||
@ -160,7 +164,7 @@ public interface QmDao extends JdbcMapper {
|
||||
//IFJAVA8_START
|
||||
|
||||
@SQL(selectThreePeople)
|
||||
java.util.stream.Stream<FieldPerson> getThreePeopleStream(long personNo1, long personNo2, long personNo3) throws SQLException;
|
||||
Stream<FieldPerson> getThreePeopleStream(long personNo1, long personNo2, long personNo3) throws SQLException;
|
||||
|
||||
//IFJAVA8_END
|
||||
}
|
||||
|
@ -12,6 +12,10 @@ import java.sql.SQLException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
//IFJAVA8_START
|
||||
import java.util.stream.Stream;
|
||||
//IFJAVA8_END
|
||||
|
||||
import static com.moparisthebest.jdbc.TryClose.tryClose;
|
||||
|
||||
public class QueryMapperQmDao implements QmDao {
|
||||
|
Loading…
Reference in New Issue
Block a user