Question: I have a spring project. The following first one is my @Repository class, and the second one is my @Service class. The third one is
I have a spring project. The following first one is my @Repository class, and the second one is my @Service class. The third one is the class I define data in database. The question is, I have extends QuerydslPredicateExecutor
@Repository
public interface InventoryRepository extends MongoRepository
}
@Service
public class InventoryService {
@Autowired
private InventoryRepository InventoryRepository;
}
@Document()
public class InventoryTable {
@Id
String id;
String pid;
String serial_number;
String device_type;
String org_id;
String site_id;
String building_id;
String floor_id;
FloorPosition floor_position;
String model;
String mac;
String firmware_version;
Date claimed_on;
String claimed_by;
List
public InventoryTable() {
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
