I started to write an ibatis demo. Everything is simple. ibatis is not just an ORM that accesses data. But in the actual process, you still need to have the following questions:
1) The package is missing and the package is missing. MAVEN does not need to be searched everywhere as long as it knows the package version and two IDs.
2) There are too many third-party frameworks used, and log4j output is too much, which seems to be difficult. In addition, exception logs are usually a bunch of logs. If you don't take it seriously, you won't be able to see the problem. Used in windows. NET development, get used to debugview (using degbugview filtering and highlighting can make you see the information you want to pay attention to at first glance ); I have been looking for a similar Eclipse plug-in for several days, but it is still fruitless. Now, you can customize a logappender to implement a simple filter. (If you are interested, go to org. ibatis. Demo. Core. log.Code).
I don't know why spring has such a high position in Java. I feel that I need to use it wherever I go, however, there is no denying that spring in Java provides good integration for common frameworks. A long time ago,. NET and JavaProgramWhen people say they are good and the other party is not good, they have read a sentence:. Net programmers use a lot of demos in their blogs. Java programmer blogs are often excerpted or translated by birds. This is true. Java rarely finds complete demos, and almost all of them are out-of-the-box texts and code. Since I am a. Net programmer and now I am engaged in Java, I will continue with the good habits of. Net programmers. The complete DEMO also provides a complete reference for some people who need it.
The Demo code does not have many functions, that is, to get all () of a table, and then output the Count value of the result (. net is used to list. count, Java is size. Alas, I'm not used to it. I'm used to size when I write more java. Why is it always so tangled ?), The database will not be ready. If you want to run it, you can modify the database information, entity code, and xml configuration. The code structure is as follows:
Code: http://download.csdn.net/detail/camelials/4841445