Shruti
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
i added this @Override
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
controller package com.example.EcomTutDemo11.controller;
import com.example.EcomTutDemo11.model.Product;
import com.example.EcomTutDemo11.service.ProdcutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@RestController
@RequestMapping("/api")
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
model package com.example.EcomTutDemo11.model;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.*;
import java.math.BigDecimal;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Entity
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
service package com.example.EcomTutDemo11.service;
import com.example.EcomTutDemo11.model.Product;
import com.example.EcomTutDemo11.repo.ProductRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
package com.example.EcomTutDemo11.repo;
import com.example.EcomTutDemo11.model.Product;
import jakarta.persistence.criteria.CriteriaBuilder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
package com.example.EcomTutDemo11.service;
import com.example.EcomTutDemo11.model.Product;
import com.example.EcomTutDemo11.repo.ProductRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
82 replies
JCHJava Community | Help. Code. Learn.
•Created by Kale Vivi on 3/29/2025 in #java-help
Hexagonal architecture question
ok so let's assume both products have the exact same things you want to expose.
Then you might have a new requirement in the future for one product but not the other. What are you doing now?
186 replies
JCHJava Community | Help. Code. Learn.
•Created by Hype_the_Time (PING ON REPLY) on 3/27/2025 in #java-help
can not launch external service.
118 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 3/19/2025 in #java-help
Issues with Contract Work Percentage Constraint in Employee Scheduling
Finally its working :3 thank you for your help
154 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 3/19/2025 in #java-help
Issues with Contract Work Percentage Constraint in Employee Scheduling
154 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 3/19/2025 in #java-help
Issues with Contract Work Percentage Constraint in Employee Scheduling
154 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 3/19/2025 in #java-help
Issues with Contract Work Percentage Constraint in Employee Scheduling
"shifts": [
154 replies
JCHJava Community | Help. Code. Learn.
•Created by dghf on 3/19/2025 in #java-help
Issues with Contract Work Percentage Constraint in Employee Scheduling
154 replies
JCHJava Community | Help. Code. Learn.
•Created by Suika on 2/18/2025 in #java-help
Spring Boot, JavaScript fetching Endpoint
and send it:
const csrfToken = getCsrfToken();
222 replies
JCHJava Community | Help. Code. Learn.
•Created by userexit on 2/16/2025 in #java-help
Help designin products model spring boot
@startuml
ProductVariant::product_id --> Product::id
ProductVariant::design_id --> Design::id
ProductVariant::size_id --> Size::id
Design2Character::design_id --> Design::id
Design2Character::character_id --> Character::id
@enduml
74 replies
JCHJava Community | Help. Code. Learn.
•Created by userexit on 2/16/2025 in #java-help
Help designin products model spring boot
74 replies
JCHJava Community | Help. Code. Learn.
•Created by fhaedl on 2/13/2025 in #java-help
SPRING SECURITY
@Bean
6 replies
JCHJava Community | Help. Code. Learn.
•Created by ysemoo_ on 2/9/2025 in #java-help
I keep getting this error when i try run JDK installer
6 replies
JCHJava Community | Help. Code. Learn.
•Created by red on 2/8/2025 in #java-help
@MapsId not works
The User abstract entity: @Getter
@Setter
@Entity
@NoArgsConstructor
@Inheritance(strategy = InheritanceType.JOINED)
37 replies
JCHJava Community | Help. Code. Learn.
•Created by MeetnotFound | 12400f - 3070 on 2/6/2025 in #java-help
Javafx Not importing
585 replies