Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

io.github.firatgursoy:fluentquery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.github.firatgursoy:fluentquery

FluentQuery is a sql query builder by using java 8 functional interfaces and spring's JdbcTemplate.

  • 0.0.4
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

fluentquery

FluentQuery is a flexible SQL query builder which utilizes JAVA 8 Functional Interfaces and Spring's JdbcTemplate.

Main use-case is complex conditional query building situations. Benefits are high code readability, easy validation and easy to integrate SQL to java code.

<dependency>
  <groupId>io.github.firatgursoy</groupId>
  <artifactId>fluentquery</artifactId>
  <version>0.0.4</version>
</dependency>
@Configuration
public SpringConfiguration {

  @Bean
  FluentQueryFactory queryFactory(NamedParameterJdbcTemplate jdbcTemplate){
    return new JdbcTemplateFluentQueryFactoryImpl(jdbcTemplate);
  }
  
}

@Repository
public SampleUsageRepository {

  @Autowired
  FluentQueryFactory queryFactory;
  
  public List<SampleDto> getSampleDtos(){
    return queryFactory.newQuery()
    .append("select * from sample_dto")
    .list(SampleDto.class);
  }
  
}

FAQs

Package last updated on 11 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc