Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

第 15 章 FAQ

目錄

15.1. org.hibernate.dialect.Oracle10gDialect does not support identity key generation
15.2. No identifier specified for entity
15.3. Could not read document: Invalid UTF-8 middle byte 0xd0
15.4. java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
15.5. Field javaMailSender in cn.netkiller.rest.EmailRestController required a bean of type 'org.springframework.mail.javamail.JavaMailSender' that could not be found.
15.6. org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "172.16.0.3", user "test", database "test ", SSL off
15.7. Spring boot 怎樣顯示執行的SQL語句
15.8. Cannot determine embedded database driver class for database type NONE
15.9. Spring boot / Spring cloud 時區差8個小時
15.10. @Value 取不到值
15.11. Spring boot 2.1.0
15.12. Field authenticationManager in cn.netkiller.oauth2.config.AuthorizationServerConfigurer required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found.
15.13. 打印 Bean 信息

15.1. org.hibernate.dialect.Oracle10gDialect does not support identity key generation

			
@GeneratedValue(strategy=GenerationType.IDENTITY)
換成
@GeneratedValue(strategy=GenerationType.AUTO)

or

@Id
@Column(name = "ID")
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator = "id_Sequence")
@SequenceGenerator(name = "id_Sequence", sequenceName = "ID_SEQ")
private int id;