mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2025-02-16 15:10:19 -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.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
//IFJAVA8_START
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
//IFJAVA8_END
|
||||||
|
|
||||||
@JdbcMapper.Mapper(
|
@JdbcMapper.Mapper(
|
||||||
cachePreparedStatements = JdbcMapper.OptionalBool.FALSE
|
cachePreparedStatements = JdbcMapper.OptionalBool.FALSE
|
||||||
, allowReflection = JdbcMapper.OptionalBool.TRUE
|
, allowReflection = JdbcMapper.OptionalBool.TRUE
|
||||||
@ -160,7 +164,7 @@ public interface QmDao extends JdbcMapper {
|
|||||||
//IFJAVA8_START
|
//IFJAVA8_START
|
||||||
|
|
||||||
@SQL(selectThreePeople)
|
@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
|
//IFJAVA8_END
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,10 @@ import java.sql.SQLException;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
//IFJAVA8_START
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
//IFJAVA8_END
|
||||||
|
|
||||||
import static com.moparisthebest.jdbc.TryClose.tryClose;
|
import static com.moparisthebest.jdbc.TryClose.tryClose;
|
||||||
|
|
||||||
public class QueryMapperQmDao implements QmDao {
|
public class QueryMapperQmDao implements QmDao {
|
||||||
|
Loading…
Reference in New Issue
Block a user