How do I define it to return the List <Donors> object?
Type: Posts; User: Rick Sebastian
How do I define it to return the List <Donors> object?
No one helped me build the code. I'm using NetBeans IDe and their CRUD tutorial to build the project.
I just noticed another error message in the output window that says: "Internal Exception:...
Sorry.... I'm not understanding. The getResultList() method is defined to return string data in a query.
What does the code need to say in order to pull the data from the database?
The data is just text data from a database file. VARCHAR is the type.
Is that what you are asking?
The list should just display the names of the donors, their donation amount, and the charity name. Those are the only 3 fields in the database under the "donors" table.
It is in this section here: Specifically, the line in red.
public final class DonorViewerTopComponent extends TopComponent {
public DonorViewerTopComponent() {
initComponents();...
I am receiving the following error message when I compile my code and I have no idea how to fix it. Please help.
Scanning for modules in C:\Program Files (x86)\NetBeans 7.2.1\platform
Scanning...