按照課中的做法無法取得count,ERROR: Table 'test.Employee' doesn't exist
INFO: HHH000232: Schema update complete
setup
Hibernate:?
? ? select
? ? ? ? count(1)?
? ? from
? ? ? ? Employee o
一月 07, 2019 3:23:10 下午 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
WARN: SQL Error: 1146, SQLState: 42S02
一月 07, 2019 3:23:10 下午 org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Table 'test.Employee' doesn't exist
tearDown
2019-01-18
@Entity
@Table(name = "T_employee")?
public class Employee {
private Integer id;
private String name;
private String age;
2019-01-09
你的dataBase--test庫中是否有employee這張表?