Register or Login to Your Account
I am having a little trouble with configuring and coding a webmethod, on java netbeans to access and retrieve data from a MySQL database table. I am able to retrieve data using index numbers over the wsdl, but now I am struggling with coding my method to use data from a particular entity. The business logic to my method is as follows:
DatabaseName c = (DatabaseName)enf.EntityManagerFactory().createNamedQuerty("DatabaseName.FindAll").getResultList().get(Index);
Now I would like to return data using data from another data entity column.