Skip to content

ystankevych/25-hibernate-criteria-query

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hibernate Criteria Query

Imagine, that user has sent the request with URL: http://localhost:8080/phones?countryManufactured=China&producer=apple,nokia,samsung&color=white,red

Your task is to implement all PhoneDao methods.

Method findAll() has one input parameter - Map<String, String[]> params. It has following format:

Map<String, String[]> params = new HashMap<>();
params.put("countryManufactured", new String[]{"China"};
params.put("maker", new String[]{"apple", "nokia", "samsung"};
params.put("color", new String[]{"white", "red"};

You need to find all phones that match the specified parameters.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%