Javadoc for POJO property getter and setter.

Description

When generating POJOs with hibernate-tools,it would be helpful to have appropriate Javadoc for all getters and setters in generated POJOs. Some default value would be helpful, but at least have it configurable via attributes.
The file to look at would probably be:
hibernate-tools/main/src/main/resources/pojo/PojoPropertyAccessors.ftl
This already generates javadoc for the getter, albeit wrong, see bug HBX-1423.
It would be nice to be able to define javadoc for field, getter and setter separately.

Environment

Any

Attachments

2

Activity

Show:

Bernd FuhrmannJuly 26, 2017 at 5:30 PM

Patch for 5.2 and 6 branches has been attached.

Details

Assignee

Reporter

Labels

Participants

Bernd Fuhrmann

Components

Affects versions

Priority

Created July 25, 2017 at 5:41 PM
Updated December 12, 2024 at 1:19 PM