类型 @Lob @Column(name="image") @Type(type="org.hibernate.type.BinaryType") private byte[] image; doc How to read bytea image data from postgresSQL with JPA?