What this variable 'c' is about in following expression?
System.out.println(c.getStatus());
Did you forget to declare something?
About Question enthuware.oce-jpad.v6.2.371 :
Moderators: Site Manager, fjwalraven
-
- Posts: 39
- Joined: Thu Jan 29, 2015 4:49 pm
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.2.371 :
c should be a reference to a Customer. This line is missing:
Added.
thank you for your feedback!
Code: Select all
Customer c= em.find(Customer.class, 1234); //retrieves a valid Customer
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 43 guests