Код: Выделить всё
public List getAllEmployees()
{
return sessionFactory.openSession().createSQLQuery("select * from employee order by eid").list();
}
Код: Выделить всё
@Entity
@Table(name="employee")
public class Employee {
@Id
@Column(name="eid")
private int eid;
private int dept_id;
private String name;
private String address;
private String project;
private String password;
@Column(name="ipadres")
private String ipadres;
private double salary;
private Date Doj;
org.hibernate.MappingException: нет сопоставления диалектов для Тип JDBC: 1111
Подробнее здесь: https://stackoverflow.com/questions/420 ... -hibernate