File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
src/test/java/org/apache/ibatis/submitted Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .apache .ibatis .submitted .cache ;
17
17
18
- import org .apache .ibatis .annotations .*;
19
- import org .apache .ibatis .annotations .Options .FlushCachePolicy ;
20
-
21
- import java .util .List ;
18
+ import org .apache .ibatis .annotations .CacheNamespace ;
19
+ import org .apache .ibatis .annotations .Property ;
22
20
23
21
@ CacheNamespace (implementation = CustomCache .class , properties = {
24
- @ Property (name = "stringValue" , value = "bar" )
25
- , @ Property (name = "integerValue" , value = "99" )
26
- , @ Property (name = "longValue" , value = "9999" )
22
+ @ Property (name = "stringValue" , value = "bar" ),
23
+ @ Property (name = "integerValue" , value = "99" ),
24
+ @ Property (name = "longValue" , value = "9999" )
27
25
})
28
26
public interface CustomCacheMapper {
29
27
}
Original file line number Diff line number Diff line change 20
20
import org .apache .ibatis .annotations .Select ;
21
21
22
22
@ CacheNamespace (implementation = CustomCache .class , properties = {
23
- @ Property (name = "stringValue" , value = "${stringProperty}" )
24
- , @ Property (name = "integerValue" , value = "${integerProperty}" )
25
- , @ Property (name = "longValue" , value = "${longProperty}" )
23
+ @ Property (name = "stringValue" , value = "${stringProperty}" ),
24
+ @ Property (name = "integerValue" , value = "${integerProperty}" ),
25
+ @ Property (name = "longValue" , value = "${longProperty}" )
26
26
})
27
27
public interface AnnotationMapper {
28
28
You can’t perform that action at this time.
0 commit comments