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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

jpa無(wú)法自動(dòng)創(chuàng)建數(shù)據(jù)庫(kù)表

jpa無(wú)法自動(dòng)創(chuàng)建數(shù)據(jù)庫(kù)表

胡子哥哥 2019-02-21 19:49:20
下面是配置信息: spring.jpa: show-sql: true database: MYSQL properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect hibernate: ddl-auto: update naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy spring.datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.1.115/ssm?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&serverTimezone=CTT username: admin password: 123456 initial-size: 10 max-wait: 10000 maximum-pool-size: 100 max-active: 100 max-idle: 10 minIdle: 2 test-on-borrow: false test-on-return: true test-while-idle: true validation-query: select 1 下面是實(shí)體類: @Entity @Table(name = "ssm_icon") public class Icon { /** * 主鍵id */ @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id") private Long id; /** * 圖標(biāo)名稱 */ @Column(name = "icon_name") private String iconName; /** * 圖標(biāo)地址 */ @Column(name = "icon_address") private String iconAddress; /** * 圖標(biāo)編碼 */ @Column(name = "icon_code") private String iconCode; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getIconName() { return iconName; } public void setIconName(String iconName) { this.iconName = iconName; } public String getIconAddress() { return iconAddress; } public void setIconAddress(String iconAddress) { this.iconAddress = iconAddress; } public String getIconCode() { return iconCode; } public void setIconCode(String iconCode) { this.iconCode = iconCode; } } 今天新建的一個(gè)srping boot項(xiàng)目無(wú)法jpa無(wú)法自動(dòng)生成數(shù)據(jù)庫(kù)表,把ddl-auto 換成create也不行,哪位大神可以幫忙看看是什么原因嗎
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 846 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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