About Question enthuware.oce-jpad.v6.2.510 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
kemosabe
Posts: 9
Joined: Fri Oct 09, 2015 3:52 am
Contact:

Re: About Question enthuware.oce-jpad.v6.2.510 :

Post by kemosabe »

Option 3 doesn't take property access into account.

For example, I was able to get away with this monstrosity:

Code: Select all

@Entity
@Access(AccessType.PROPERTY)
public class Customer {

	private Map<String,Object> data = new HashMap<>();
	
	@Id
	public Long getId() {
		return (Long) data.get("id");
	}
	
	public void setId(Long id) {
		data.put("id", id);
	}

	public String getName() {
		return (String) data.get("name");
	}

	public void setName(String name) {
		data.put("name", name);
	}
}

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-jpad.v6.2.510 :

Post by admin »

You are right. Fixed.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests