Shruti
Shruti
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
yes i did that already
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
pom
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
thank you so much
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
No description
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
Yeah I used lombok.. previously it was giving mvn not found then I reinstalled everything..then it gave jdk not found because it was pointing to older version..I resolved that and now this ..
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
No description
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
No description
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
data.sql INSERT INTO Product (id, name, description, brand, price, category, release_date, available, quantity) VALUES (1, 'Smartphone', 'Latest model with high performance', 'Samsung', 69999.99, 'Electronics', '2025-04-01', true, 50), (2, 'Laptop', 'Ultra-fast gaming laptop', 'Asus', 129999.99, 'Computers', '2025-03-15', true, 20), (3, 'Headphones', 'Noise-cancelling wireless headphones', 'Sony', 14999.50, 'Accessories', '2025-02-20', true, 100), (4, 'Smartwatch', 'Feature-rich smartwatch with health tracking', 'Apple', 39999.00, 'Wearables', '2025-01-10', true, 30);
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
application properties spring.application.name=EcomTutDemo11 server.port=9092 spring.datasource.url=jdbc:h2:mem:ecom sspring.datasource.driver-class-name=org.h2.Driver spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.defer-datasource-initialization=true
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
i added this @GeneratedValue(strategy = GenerationType.IDENTITY) but no difference
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
i am using h2 only
82 replies
JCHJava Community | Help. Code. Learn.
Created by Shruti on 4/1/2025 in #java-help
Issue: API Returning Empty JSON Objects {}
product repo
82 replies