I have a entity class called Customer, I am using this entity object in another class to set the data. When I use this object below like
@Autowired
Customer customer
Spring is complaining that please configure the bean in your classes.
Can we use auto wiring with entity objects?