I created a database to store employees and departments. in netbeans I created the employee class and department with their respective ID, put a Frame with a combo box to pull all the employees automatically and departments, right click on the combo box and went to bind, put the database and such , but it is happening that when I run the program the value "IDFUNC = 1" appears,
Can someone who handles help me in a simple way as I correctly bind the combo box to get information from a MYSQL database table?
THANK YOU GALERA !!