Home > Back-end >  How to reference a Spring XML annotations defined
How to reference a Spring XML annotations defined

Time:10-01

Such as:
Project is currently using annotations configured the DataSource,

@ Bean (" the dataSource
")Public DataSource createDataSource () {
}


How do I apply to the dataSource through XML?
here should be how to reference annotation in the DataSource??????? & gt;

CodePudding user response:

 
.

CodePudding user response:

refer to the second floor Little5 response:
 
.


Is my DataSource configuration using annotations, if use XML configuration, I will not ask,
  • Related