Question #300605

Implement a standalone product search program in Java, using Hibernate that lists matching products for a user who is looking for T-shirts.


You are given 3 CSV files, each containing the T-shirts data for Nike, Puma and Adidas respectively. Use the same CSV files as provided in Assignment 1. You can add more data in existing files or can add more CSV files for another companies. The data from these files needs to be persisted in the database. All the search operations for the flights will be done on the database using hibernate.



Expert's answer

import java.util.Scanner;

public class Hibirnate{
  public static void main(String[] args){
    Scanner in = new Scanner(System.in);
    System.out.println("Select T-shirt:");
    String line = in.nextLine();
  }
}
LATEST TUTORIALS
APPROVED BY CLIENTS