-
Notifications
You must be signed in to change notification settings - Fork 6
Getting Started
Steve Forsyth edited this page Mar 16, 2016
·
6 revisions
<dependency>
<groupId>com.savoirtech.hecate</groupId>
<artifactId>hecate-core</artifactId>
<version>2.0.10</version>
</dependency>
<dependency>
<groupId>com.savoirtech.hecate</groupId>
<artifactId>hecate-pojo</artifactId>
<version>2.0.10</version>
</dependency>
<dependency>
<groupId>com.savoirtech.hecate</groupId>
<artifactId>hecate-annotation</artifactId>
<version>2.0.10</version>
</dependency>
<dependency>
<groupId>com.savoirtech.hecate</groupId>
<artifactId>hecate-test</artifactId>
<version>2.0.10</version>
<scope>test</scope>
</dependency>
Pojo annotations come with defaults so that you do not have to do much other than to list your Primary Key. They do however have default overrides and cover Composite Keys with Partition Keys and Clustering Keys.
Simple Pojo using defaults:
Public class User {
@Id
String id;
String firstName;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
}