MyBatis from entry to the master (Chapter 3): Basic mode using MyBatis annotations

M Y B A Ti S annotation mode is to SQL statements to write directly on the interface.

The advantage of this approach is that , the demand for relatively simple systems, high efficiency. The disadvantage is that , when SQL there is a change when the technology required to recompile the code, a case generally not recommended where M Y B A Ti S of annotations manner .

 

Because of this, this chapter will be introduced, such as how to use annotations ways to provide comprehensive example for everyone , but not in-depth explanation .

Guess you like

Origin www.cnblogs.com/MarlonKang/p/11491217.html