【发布时间】:2011-03-08 09:38:57
【问题描述】:
代码中标题的问题:
@Transactional (readonly = true)
public interface FooService {
void doSmth ();
}
public class FooServiceImpl implements FooService {
...
}
对
public interface FooService {
void doSmth ();
}
@Transactional (readonly = true)
public class FooServiceImpl implements FooService {
...
}
【问题讨论】:
标签: java spring annotations coding-style