摘要:
在生成表的时候遇到了这样一个问题,将主键放到父类中去,其他的实体表继承主键@Entity@Table(name = "base_table")public class BaseEntity { public BaseEntity() { } @Id @GenericGenerator(name = "idGenerator", strategy = "uuid") @GeneratedValue(generator = "idGenerator") @Column(name = "id", un 阅读全文
摘要:
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at sun.reflect.GeneratedConstructorAccessor15.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.ja 阅读全文