Hi,
Is this possible to generate in JBoss Tools (or using Eclipse any plugin) POJO class from SQL query e.g.
SELECT e.first_name, e.last_name, e.salary, d.department FROM emp e, dept d WHERE e.deptno = d.deptno
public class Employee{ public Employee(){} private String firstName; private String lastName; private Number salary private String department; /* getters and setters here*/ }
Hi Kuba,
You can create view from this query and reverse engineer it. I'd suggest you to consult JBoss Tools forum on that.