這個錯誤咋解決啊 Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]
2018-01-09
idea的確是好用,但是哪個新手不是從eclipse或myeclipse上面過來的,個人覺得基礎牢固以后再慢慢使用idea會好點的
2018-01-08
最贊回答 / 早安世界520
多字段可以使用返回值List,在后面添加想查詢的條件,例如, 可以這樣:@Query("select a from A a where a.name = ?1 and a.B.name = ?2")。多表連接比較復雜,無法言明。
2018-01-07
@RequestMapping(value = "/hello", method = RequestMethod.GET)
和
@RequestMapping(path= "/hello", method = RequestMethod.GET)
兩種方法得到的結果是一樣的
和
@RequestMapping(path= "/hello", method = RequestMethod.GET)
兩種方法得到的結果是一樣的
2018-01-07