Abzal Amantaev:
I need to get the value of email column in an array.The problem is that I do not know how to do it ...
You'll need to add a new finder method (like
ByName in the example) in
service.xml file.
Then run
ant build-service on console (and refresh your Eclipse project), or do a build service in Eclipse.
Then
com.example.customer.service.persistence.CustomerDtlsPersistence interface should have a method called
findByEmail(String). Assuming your finder method in service.xml is
ByEmail.
Please sign in to flag this as inappropriate.