My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package ru.intr13.example.springTransactionalTest;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Data implements Serializable {

private static final long serialVersionUID = 5244126323984055240L;

private Long id;

private String text;

public Data() {
super();
}

public Data(String text) {
super();
this.text = text;
}

@Id
@GeneratedValue(strategy = GenerationType.TABLE)
public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}

public String getText() {
return text;
}

public void setText(String text) {
this.text = text;
}

}

Change log

r16 by kiselev on Sep 12, 2009   Diff
[No log message]
Go to: 

Older revisions

r11 by kiselev on Sep 10, 2009   Diff
Share project
"springTransactionalTest" into "https:
//intr13-examples.googlecode.com/svn"
All revisions of this file

File info

Size: 785 bytes, 46 lines

File properties

svn:mime-type
text/plain
Powered by Google Project Hosting