File tree Expand file tree Collapse file tree 13 files changed +195
-272
lines changed
main/java/org/apache/ibatis
test/java/org/apache/ibatis/submitted/repeatable Expand file tree Collapse file tree 13 files changed +195
-272
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
44
41
@ Retention (RetentionPolicy .RUNTIME )
45
42
@ Target (ElementType .METHOD )
46
43
@ Repeatable (Delete .List .class )
47
- @ StatementAnnotationMetadata (commandType = SqlCommandType .DELETE )
48
44
public @interface Delete {
49
45
/**
50
46
* Returns an SQL for deleting record(s).
67
63
@ Documented
68
64
@ Retention (RetentionPolicy .RUNTIME )
69
65
@ Target (ElementType .METHOD )
70
- @ StatementAnnotationMetadata (commandType = SqlCommandType .DELETE )
71
66
@interface List {
72
67
Delete [] value ();
73
68
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
52
49
@ Retention (RetentionPolicy .RUNTIME )
53
50
@ Target (ElementType .METHOD )
54
51
@ Repeatable (DeleteProvider .List .class )
55
- @ StatementAnnotationMetadata (commandType = SqlCommandType .DELETE )
56
52
public @interface DeleteProvider {
57
53
58
54
/**
111
107
@ Documented
112
108
@ Retention (RetentionPolicy .RUNTIME )
113
109
@ Target (ElementType .METHOD )
114
- @ StatementAnnotationMetadata (commandType = SqlCommandType .DELETE )
115
110
@interface List {
116
111
DeleteProvider [] value ();
117
112
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
44
41
@ Retention (RetentionPolicy .RUNTIME )
45
42
@ Target (ElementType .METHOD )
46
43
@ Repeatable (Insert .List .class )
47
- @ StatementAnnotationMetadata (commandType = SqlCommandType .INSERT )
48
44
public @interface Insert {
49
45
/**
50
46
* Returns an SQL for inserting record(s).
67
63
@ Documented
68
64
@ Retention (RetentionPolicy .RUNTIME )
69
65
@ Target (ElementType .METHOD )
70
- @ StatementAnnotationMetadata (commandType = SqlCommandType .INSERT )
71
66
@interface List {
72
67
Insert [] value ();
73
68
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
52
49
@ Retention (RetentionPolicy .RUNTIME )
53
50
@ Target (ElementType .METHOD )
54
51
@ Repeatable (InsertProvider .List .class )
55
- @ StatementAnnotationMetadata (commandType = SqlCommandType .INSERT )
56
52
public @interface InsertProvider {
57
53
58
54
/**
111
107
@ Documented
112
108
@ Retention (RetentionPolicy .RUNTIME )
113
109
@ Target (ElementType .METHOD )
114
- @ StatementAnnotationMetadata (commandType = SqlCommandType .INSERT )
115
110
@interface List {
116
111
InsertProvider [] value ();
117
112
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
44
41
@ Retention (RetentionPolicy .RUNTIME )
45
42
@ Target (ElementType .METHOD )
46
43
@ Repeatable (Select .List .class )
47
- @ StatementAnnotationMetadata (commandType = SqlCommandType .SELECT )
48
44
public @interface Select {
49
45
/**
50
46
* Returns an SQL for retrieving record(s).
67
63
@ Documented
68
64
@ Retention (RetentionPolicy .RUNTIME )
69
65
@ Target (ElementType .METHOD )
70
- @ StatementAnnotationMetadata (commandType = SqlCommandType .SELECT )
71
66
@interface List {
72
67
Select [] value ();
73
68
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
52
49
@ Retention (RetentionPolicy .RUNTIME )
53
50
@ Target (ElementType .METHOD )
54
51
@ Repeatable (SelectProvider .List .class )
55
- @ StatementAnnotationMetadata (commandType = SqlCommandType .SELECT )
56
52
public @interface SelectProvider {
57
53
58
54
/**
111
107
@ Documented
112
108
@ Retention (RetentionPolicy .RUNTIME )
113
109
@ Target (ElementType .METHOD )
114
- @ StatementAnnotationMetadata (commandType = SqlCommandType .SELECT )
115
110
@interface List {
116
111
SelectProvider [] value ();
117
112
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
44
41
@ Retention (RetentionPolicy .RUNTIME )
45
42
@ Target (ElementType .METHOD )
46
43
@ Repeatable (Update .List .class )
47
- @ StatementAnnotationMetadata (commandType = SqlCommandType .UPDATE )
48
44
public @interface Update {
49
45
/**
50
46
* Returns an SQL for updating record(s).
67
63
@ Documented
68
64
@ Retention (RetentionPolicy .RUNTIME )
69
65
@ Target (ElementType .METHOD )
70
- @ StatementAnnotationMetadata (commandType = SqlCommandType .UPDATE )
71
66
@interface List {
72
67
Update [] value ();
73
68
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .annotations ;
17
17
18
- import org .apache .ibatis .builder .annotation .StatementAnnotationMetadata ;
19
- import org .apache .ibatis .mapping .SqlCommandType ;
20
-
21
18
import java .lang .annotation .Documented ;
22
19
import java .lang .annotation .ElementType ;
23
20
import java .lang .annotation .Repeatable ;
52
49
@ Retention (RetentionPolicy .RUNTIME )
53
50
@ Target (ElementType .METHOD )
54
51
@ Repeatable (UpdateProvider .List .class )
55
- @ StatementAnnotationMetadata (commandType = SqlCommandType .UPDATE )
56
52
public @interface UpdateProvider {
57
53
58
54
/**
111
107
@ Documented
112
108
@ Retention (RetentionPolicy .RUNTIME )
113
109
@ Target (ElementType .METHOD )
114
- @ StatementAnnotationMetadata (commandType = SqlCommandType .UPDATE )
115
110
@interface List {
116
111
UpdateProvider [] value ();
117
112
}
You can’t perform that action at this time.
0 commit comments