
Java
Dayupu
这个作者很懒,什么都没留下…
展开
-
Java Bean以及xsd相互生成
1.先定义一个Java bean -- Student.javaimport java.util.List;public class Student { private String name; private String number; private String gender; private String age; private List courses; pub原创 2016-07-29 21:19:28 · 3595 阅读 · 1 评论 -
spring boot + hibernate 多数据源(注解方式)
一)spring boot + hibernate 多数据源(XML)import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.boot.autoconf原创 2017-06-22 23:08:10 · 5584 阅读 · 0 评论 -
spring boot + hibernate 多数据源(XML)
一) spring boot 入口类import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.context.annotation.ComponentScan;原创 2017-06-22 09:58:50 · 2438 阅读 · 0 评论