用的是spring+mybatis,在applicationContext.xml中已经配置好相应的bean了,也不知道应该怎么获取databaseid(功能需要用到databaseid)。有什么办法可以方便地获取到databaseid吗?
configuration类中获取。