Revision 47598
Added by Antonis Lempesis almost 7 years ago
User.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.goldoa.domain; |
2 | 2 |
|
3 |
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
4 |
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable;
|
|
4 |
import org.hibernate.annotations.Cache;
|
|
5 | 5 |
import org.hibernate.annotations.CacheConcurrencyStrategy; |
6 |
import org.hibernate.engine.internal.Cascade; |
|
7 |
import org.hibernate.annotations.Cache; |
|
8 | 6 |
|
9 |
import java.io.Serializable;
|
|
7 |
import javax.persistence.*;
|
|
10 | 8 |
import java.util.ArrayList; |
11 | 9 |
import java.util.List; |
12 | 10 |
|
13 |
import javax.persistence.*; |
|
14 | 11 |
|
15 |
|
|
16 | 12 |
@Entity |
17 | 13 |
@Table(name="\"user\"") |
18 | 14 |
@Cache(usage= CacheConcurrencyStrategy.READ_WRITE,region = "user") |
19 |
public class User implements Serializable{
|
|
15 |
public class User implements IsSerializable {
|
|
20 | 16 |
private static final long serialVersionUID = 1L; |
21 | 17 |
|
22 | 18 |
@Id |
Also available in: Unified diff
- Fixed duplicate dependncies
- Fixed an error in eligibility checking
- Fixed an error in account activation
- Organized imports