New Test class
where the main method used to test
InputStream need to throw exceptions
written test
results
explain
Copy the first day of the IUserDao.xml file to the current project inside the
red values to be used. Yellow is the use of execution
to find a way can be found dao, has found fully qualified class name
now because we just copied the xml file over. Annotations are also both xml file
test method to execute the query, the error will be
if the deleted notes can solve the problem.
If there is no set of attributes package
but replaced mapper label configuration file to xml mapping of dao address. Here with the class attribute
settings to use to configure resource normally. Then there separated by a slash, and finally .xml
or change back annotation to configure only
as long as you use annotations development. But in your configuration file path also includes xml, this time with whatever you do will be given.
Dao can put under the .xml moved to an irrelevant directory
or configuration file is deleted directly.
If we want to develop annotations, you can not choose to use xml development in the same dao, which is Mybits requirements