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);
return c.getDataEntityData;
Now I would like to return data using data from another data entity column.
Leave a Reply
Guest User
Not sure what solution is right for you?
Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.
Aviwe Dontsa
Hello everyone,
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);
return c.getDataEntityData;
Now I would like to return data using data from another data entity column.