第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

沒有自動(dòng)新建表

運(yùn)行后,數(shù)據(jù)庫中沒有看到新建的表格

正在回答

2 回答

server:
??port:?8080
boy:
??height:?171cm
??age:?22
??#content:?"身高:${height},年齡:${age}"
datasource:
??driver-class-name:?com.mysql.jdbc.Driver
??url:?jdbc:mysql://127.0.0.1:3307/dbboy
??usename:?root
??password:?960328
jpa:
??hibernate:
????hbm2ddl-auto:?create
??show-sql:?true
package?com.example.entity;

import?javax.persistence.Entity;
import?javax.persistence.GeneratedValue;
import?javax.persistence.Id;
import?javax.persistence.Table;

/**
?*?Create?by?土豆兒
?*?2018/9/6?13:39
?*/
@Entity
@Table(name="user")
public?class?Boy?{

????@Id
????@GeneratedValue
????private?int?id;

????private?String?height;

????private?Integer?age;

????public?Boy()?{
????}

????public?Integer?getId()?{
????????return?id;
????}

????public?void?setId(Integer?id)?{
????????this.id?=?id;
????}

????public?String?getHeight()?{
????????return?height;
????}

????public?void?setHeight(String?height)?{
????????this.height?=?height;
????}

????public?Integer?getAge()?{
????????return?age;
????}

????public?void?setAge(Integer?age)?{
????????this.age?=?age;
????}
}


0 回復(fù) 有任何疑惑可以回復(fù)我~

貼上代碼看看

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
2小時(shí)學(xué)會(huì)Spring Boot
  • 參與學(xué)習(xí)       151527    人
  • 解答問題       1132    個(gè)

Spring Boot入門視頻教程,你將學(xué)會(huì)使用Spring Boot快速構(gòu)建應(yīng)用程序

進(jìn)入課程

沒有自動(dòng)新建表

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)