I just started my intern position and am a bit overwhelmed by all the work I need to do. I never worked with databases and don't know how to start. My supervisor asked me to connect Spring data with an in-memory database, to write and delete objects (really anything). I am using eclipse and installed Spring (I think), but am stuck and don't know where to start and make it simple. I never worked in databases before, and my supervisor seems very busy all the time.
I came across this example, but don't know where to write which code, as it seems to be explained for seasoned programmers:
http://projects.spring.io/spring-data/#quick-start
Here is some of the code from the guide:
@Entity
public class Employee {
private @Id @GeneratedValue Long id;
private String firstName, lastName, description;
private Employee() {}
public Employee(String firstName, String lastName, String description) {
this.firstName = firstName;
this.lastName = lastName;
this.description = description;
}
}
This is at the Spring Data front page, and it's about getting started. But I am not sure what any of this means, nor how to run the code or what classes to build. If I try to write their code at the pam file it just shows errors and the entity doesn't work...