
Closed
Posted
Paid on delivery
My product-search endpoint is supposed to return only items that belong to the requested category, yet it keeps leaking products from other categories. That “incorrect categories in results” behaviour is the single biggest pain point I need solved. You’ll get the relevant Spring Boot project (Java 17, Spring Data JPA, PostgreSQL). Your job is to reproduce the bug, trace the root cause—whether it sits in the JPQL query, a CriteriaBuilder clause, or an overlooked join—and patch it without disturbing existing pagination or sorting logic. Once the fix is in place, I expect: • All category filters to work consistently, including cases that return zero rows • Existing page/size and sort parameters to remain fully functional • A concise regression test proving the fix (JUnit + Spring Test) • A short comment or doc block summarising what was wrong and how you corrected it This is a small, self-contained task—no new features, just the repair and a test. Let me know about similar filtering issues you’ve handled, plus your estimated cost and turnaround time, and I’ll share the repository link so you can dive straight in.
Project ID: 40769649
246 proposals
Remote project
Active 6 hours ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
246 freelancers are bidding on average $120 USD for this job

Hello, I can trace the category filter from the Spring Data JPA repository through the generated SQL to identify why products from unrelated categories are appearing. I will check the JPQL or CriteriaBuilder conditions, joins, and parameter handling, then make the smallest targeted fix without changing existing pagination or sorting behavior. I'll add a focused JUnit/Spring Test regression test covering the requested category, unrelated categories, and a category with no matching products. I'll also document the root cause and correction. I have several years of Java experience and will keep the repair self-contained, with no unnecessary changes to the existing code. Estimated turnaround: 1 day after reviewing the repository. Fixed-price cost: $38.53, subject to confirming the scope. Could you share the repository link so I can inspect the implementation and get started?\ Thanks.
$38.53 USD in 1 day
7.4
7.4

Category leaks in a Spring Data JPA search usually mean a keyword OR sits outside the category AND. 1. Nothing in my portfolio shows this exact bug, though ungrouped OR predicates and stray category joins cause most cases. 2. The amount I've bid is my full price for the fix, test and doc comment. 3. Fixed, tested and documented within 1 day of getting the repository link. With the repo, Hibernate's SQL log shows the generated WHERE clause within minutes. The regression test covers mixed categories, zero rows and a second sorted page. You fund the repair as one milestone and release it once the test passes for you. Paste one search request that returns a wrong-category product, and I'll test that cause first.
$100 USD in 1 day
6.9
6.9

I have extensive experience in Java, Spring Boot, Spring Data JPA, and PostgreSQL that aligns well with your project needs. I will investigate the Spring Boot project to identify and address the category filtering issue in the product-search endpoint efficiently. I will fix the problem in the JPQL query or CriteriaBuilder without disrupting existing functionality, ensuring reliable category filtering even when no results are found. I will maintain pagination, sorting parameters, and overall logic seamlessly. I will create a regression test using JUnit and Spring Test frameworks to validate the fixes and provide clear documentation on the identified issue and the steps taken to resolve it. Past experiences in similar projects have equipped me to enhance system accuracy and performance effectively. Please share the repository link for me to start working on the task. Any specific constraints, integration requirements, scalability considerations, and the estimated timeline would be helpful for planning. I am eager to collaborate on this project and deliver a tailored solution that meets your immediate needs and sets the stage for future enhancements.
$225 USD in 5 days
6.8
6.8

Hi there, I hope this message finds you well. I understand you're facing a critical issue with your product-search endpoint in Spring Boot, where items from incorrect categories are being returned. This can certainly disrupt user experience, and I'm here to help resolve it. With extensive experience in Java and Spring Boot, particularly in developing and debugging complex systems, I have successfully tackled similar filtering issues in the past. I am adept at using Spring Data JPA and PostgreSQL to craft precise queries that ensure accurate data retrieval. My approach will involve reproducing the bug, conducting a thorough analysis to pinpoint whether the issue lies within the JPQL query, a CriteriaBuilder clause, or a missing join, and implementing a robust fix to prevent future occurrences. I will ensure that the category filters operate flawlessly, even in edge cases, while maintaining your existing pagination and sorting functionalities. Additionally, I will develop a concise regression test using JUnit and Spring Test to validate the effectiveness of the solution. A brief documentation will accompany the fix, summarizing the issue and the steps taken to resolve it. I am eager to bring my skills to your project and ensure your product-search endpoint performs as intended. Looking forward to the opportunity to work together. Best Regards, Efanntyo
$30 USD in 5 days
6.6
6.6

Hi, I can fix this search endpoints I would like to apply for this opportunity to contribute to your project. I am a Java Spring Boot developer with 18+ years of experience in designing, developing, and architecting scalable backend solutions for fintech, e-commerce, enterprise, and cloud-based applications. Along with strong backend expertise, I also work with AI-assisted development tools and modern AI workflows, including Claude Desktop, Codex, and RAG-based solutions. This helps me build smarter, more efficient applications and improve development productivity where AI integration is needed. My technical expertise includes: Spring Boot, Spring Security, Spring Batch, Spring Cloud, Spring MVC Microservices architecture and RESTful API development AI tools and workflows: Claude Desktop, Codex, RAG AWS cloud services including ECS Fargate, EC2, S3, ALB, and RDS SQL databases such as MySQL, PostgreSQL, Oracle, and MS SQL Server Docker, Jenkins, CI/CD, and containerized deployments Legacy system integration and modernization Elasticsearch, Redis, and caching solutions Testing and quality assurance using JUnit, Selenium, and JMeter
$140 USD in 5 days
6.6
6.6

Hello Greetings, After reviewing your project description, I feel confident and excited to work on this project for you. But I have some crucial questions to clarify. Please leave a message in the chat so we can discuss this, and I can share my recent work similar to your requirements. Thanks for your time! I look forward to hearing from you soon. Best Regards.
$250 USD in 4 days
6.8
6.8

I would start by running your existing test suite and reproducing the category leak with a few manual queries, then trace the SQL that Spring Data JPA generates for the search endpoint. Most category filter bugs I have seen live in an incomplete WHERE clause, a missing join condition, or a CriteriaBuilder predicate that was never applied to the final query. I will step through the repository method, the JPQL or Specification code, and the actual SQL logged by Hibernate to pinpoint exactly where products from other categories slip through. Once I have the root cause I will patch the query or join logic, verify that pagination and sorting parameters still work as expected, and write a JUnit test that asserts correct category filtering for a known dataset, including an edge case that returns zero rows. I will add a short comment in the code explaining what was broken and how the fix ensures only the requested category appears in results. I have worked with Spring Data JPA and PostgreSQL on backend projects that required precise query logic, so I am comfortable navigating repository layers and Criteria API code. How many product records and categories does your test database currently hold, so I can set up realistic test data if needed?
$120 USD in 2 days
6.4
6.4

hi there, i am java hub , i can provide you quality work on time will this today soon, can you please come to the chat box so we can easily discuss in details, Thank you
$185 USD in 1 day
6.1
6.1

Leaks like this usually mean an ungrouped OR beside the category predicate or a fan-out join; I'd check the generated SQL first, not the Java. Day 1: a failing test that seeds a leaking product and captures the SQL via Hibernate logging to pin the exact predicate. Day 2: patch, rerun your existing suite. Day 3: regression test covering the zero-row case, plus the doc block. 1. Can a product sit in more than one category (join table), or is it a single category_id column? 2. Is Docker available for a Testcontainers Postgres, or should the test run on H2? Send the repo link and I can start today.
$115 USD in 3 days
6.2
6.2

Ready to start now --- I will fix your Search fix of your Spring Boot project surely. Give me opportunity to show you 100% result. Thanks
$50 USD in 1 day
5.7
5.7

Hi, I'm Denis, a full-stack developer, and I have debugged and fixed filtering and query issues in Spring Boot applications using JPA and PostgreSQL. Your search endpoint is returning products from categories it should exclude, which breaks trust in the results and hurts the user experience. The bug is in the query layer somewhere—either the JPQL, a CriteriaBuilder clause, or a missing join—and needs to be isolated and fixed without breaking pagination or sorting. I would start by setting up your project locally and reproducing the bug with test cases that show the leak. Then I would trace through the query logic step by step, checking the JPQL query, any CriteriaBuilder predicates, and the joins to find where the category filter is being bypassed or ignored. Once I identify the root cause, I would apply the fix and verify that pagination and sorting still work as expected. The critical part is the query itself. I would write focused JUnit tests using Spring Test that prove the fix works for edge cases like empty result sets and multi-page results. This prevents the bug from coming back. The main risk is that the repository structure or query logic might be more complex than expected, so I would ask clarifying questions early if the code is unclear. I can start working right away. Let's connect and discuss the details. Thanks, Denis.
$30 USD in 3 days
5.5
5.5

Hello, I am a Java/JEE developer with more than 15 years of experience building and maintaining enterprise applications. My background is focused on Java, Spring Boot, Spring Data JPA, Hibernate, PostgreSQL, and enterprise backend systems. Over the years, I have worked on many JPA/Hibernate applications and have resolved multiple issues related to query logic, CriteriaBuilder usage, JPQL filters, and performance optimization. I have fixed many criteria issues by tracing the root cause in the query layer and ensuring the filtering logic is applied correctly without breaking pagination or sorting. This project matches exactly the kind of issue I have solved many times. The problem you described—products from other categories appearing in the search results—is typically caused by an incorrect join, a missing category condition, or a CriteriaBuilder/JPQL predicate that does not fully constrain the result set. I can reproduce the bug, identify the root cause, fix it cleanly, and validate the fix with unit test as well as integration tests Please feel free to share the project repository, and I’ll be happy to dive in right away. Regards, Danushka
$150 USD in 7 days
5.4
5.4

I can investigate and repair the Spring Boot product-search filtering defect without changing the existing pagination or sorting behavior. I’ll reproduce the category leakage using the provided Java 17, Spring Data JPA, and PostgreSQL project, then trace the filtering path across JPQL, CriteriaBuilder predicates, and joins. After identifying the root cause, I’ll apply a focused fix and verify that: • Matching categories return only their own products • Categories with no matches correctly return zero rows • Existing page, size, and sort parameters remain intact • A JUnit and Spring Test regression case prevents recurrence • A concise code comment or documentation block records the issue and correction I’ve handled similar repository-query and dynamic-filtering issues, including predicate composition and join-related result leakage. This is well suited to a contained repository review followed by a targeted patch and test.
$100 USD in 2 days
5.4
5.4

Hello I checked your project and the main point is to stop the Spring Boot product search from returning items outside the requested category while keeping pagination and sorting unchanged. I have experience tracing backend filtering issues across JPQL, CriteriaBuilder predicates, and JPA joins, with PostgreSQL data and JUnit regression coverage. I would first reproduce the issue with the supplied repository, inspect the generated query and entity relationships, then patch the smallest affected clause. I’ll also verify zero-result categories, page and size parameters, sorting, and add a focused Spring Test with clear documentation of the root cause. Could you share whether the category relationship is a direct entity field or handled through a join table? The repository will also help confirm whether the endpoint uses JPQL or CriteriaBuilder. Best regards
$999 USD in 10 days
5.1
5.1

I can help you solve your filtering issues. I can do it fast in 1 day. Let’s discuss more details in private.
$35 USD in 1 day
5.2
5.2

Greetings, I see that you're dealing with a frustrating issue where your product-search endpoint is returning items from incorrect categories. To tackle this, I would start by reproducing the bug in your Spring Boot project. From there, I’d dive into your JPQL queries and any related logic to pinpoint the root cause of the problem, ensuring I maintain the existing pagination and sorting functionality. My experience with Spring Data JPA and PostgreSQL has equipped me to handle similar filtering issues effectively. Once I identify the problem, I'll implement a fix and create a regression test with JUnit and Spring Test to verify that everything is working as expected. I’ll also provide a concise summary of the issue and the solution for your reference. Best regards, Saba Ehsan
$70 USD in 2 days
4.8
4.8

My price is $250 USD and I can have the fix and regression test back to you within 1 day of getting the repo. I've fixed filtering bugs similar to this before, including a pricing system refactor where a wrong condition was mixing records that should've stayed separate, so contact me if you'd like more detailed experience. I understand your search endpoint returns products from other categories, and you want it fixed without breaking paging or sorting, with a test proving it stays fixed. I have experience with Java 17, Spring Boot, Spring Data JPA, the Criteria API and PostgreSQL, plus JUnit and Spring Test. From experience, leaks like this usually come from one of three things. One is a keyword OR with no parentheses, so "category AND name OR description" matches any product whose description fits. Another is a Specification built with where().or() that drops the category condition. The third is a join on a many-to-many category table returning a product through a different category. I'd reproduce it first with a failing test, then fix the actual cause. The regression test would run on Testcontainers PostgreSQL rather than H2, since this kind of bug can behave differently across databases. It would cover a matching category, a category with zero rows, and paging and sorting together. I can start work right away and contact me to discuss more details. Thanks. Smit
$250 USD in 7 days
4.9
4.9

**Free to start today and fix that category leak in your product search** I am Anand, a full-stack developer working with Spring Boot and PostgreSQL, and I can reproduce the bug first, then trace whether the fault is in the JPQL, the CriteriaBuilder clause, or an unfiltered join before patching only that logic. All category filters will be checked consistently, including categories that correctly return zero rows. Existing page, size, and sort parameters will be left untouched and retested after the fix. A concise JUnit and Spring Test regression test will prove results stay within the requested category. A short comment or doc block will summarise what was wrong and how I corrected it. Recent work: Fixed a Spring Data JPA search where a left join dropped category filters on empty results, and repaired a CriteriaBuilder query leaking products across tenant categories. Estimated cost is $90 with turnaround within 24 hours of receiving access. Could you share the repository link and one example category request that returns the wrong products?
$90 USD in 7 days
4.9
4.9

Do you want to ensure that your product-search endpoint only returns items from the requested category? I can help you fix the bug that causes incorrect categories to appear in the results, addressing your main pain point effectively. Based on my past work experience as a Full Stack Developer, I've successfully resolved similar filtering issues while maintaining pagination and sorting logic. My expertise in Java, Spring Boot, and PostgreSQL will ensure a comprehensive solution for your project. I will reproduce the bug in your Spring Boot project, identify the root cause, and implement a fix without disrupting existing functionality. Afterward, I'll create a regression test using JUnit to confirm the fix and provide documentation summarizing the issue and resolution. Please feel free to reach out to me. I look forward to working with you. Best regards, Billy Bryan
$120 USD in 3 days
5.0
5.0

Category leakage usually comes from a filter being applied too late—or a join/predicate that isn’t scoped to the requested category. I’ll reproduce it in your Spring Boot project, trace the query path through Spring Data JPA, and make the smallest safe change so pagination and sorting stay intact. I’ll also add a focused JUnit/Spring Test regression case that checks both matching results and a category with zero matches, then document the cause and fix in a concise code comment. I’ll verify the existing page, size, and sort parameters as part of the change. I can take this on for a fixed $100, with turnaround within one business day after I receive the repository and can run the project. I’m happy to discuss similar filtering bugs I’ve debugged; I won’t guess at the root cause before reviewing your code. Send over the repo link and any steps you use to reproduce the issue, and I’ll get started.
$188 USD in 15 days
4.7
4.7

Los Angeles, United States
Payment method verified
Member since Oct 15, 2026
$30-250 USD
$30-250 USD
₹100-400 INR / hour
$250-750 USD
$30-250 USD
$30-250 USD
$15-25 USD / hour
$750-1500 USD
$30-250 USD
$750-1500 USD
₹750-1250 INR / hour
₹750-1250 INR / hour
$30-250 USD
$250-1000 USD
₹600-1500 INR
₹12500-37500 INR
$30-250 USD
$15-25 USD / hour
$250-750 USD
₹12500-37500 INR
₹1500-12500 INR