Stage of the new notes 3 2.Spring_06.Spring new comment -PropertySource _5 spring of

The number of database links is to write the death of

the New Profile



defined member variables

value realization comment



Corresponding to the key profile


PropertySource


To get to read this spring configuration file

after the resource compiler have come up. Workspace classpath at

how PropertySource Ident trails?
Preceded classpath: to represent the class path


if there in front of the package, it can be so configured. There are no package package package write here do not write





a word misspelled

here wrong word

to run again

to sum up

Pure annotation way but more cumbersome than a direct xml configuration.

Select the existing notes have xml way
there is a xml configuration jar package more direct and save others written class
if the class is used to write our own notes more convenient

 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11351248.html