hibernate-tools icon indicating copy to clipboard operation
hibernate-tools copied to clipboard

HBX-1797 Several improvements: descriptions of classes are taken from comments of database tables and ...

Open Bryantsev opened this issue 7 years ago • 3 comments

  1. Added param "annotateFields" to config of hibernatetool plugin. If value of param is set to true then annotates will be generated above class fields instead of field getters.
  2. Added param "javaDocFromDbComments" to config of hibernatetool plugin. If value of param is set to true then comments of tables and their fields will be added as class and their fields javadoc description. Meta-attributes of class and fields (class-description and field-description) has priority if set
  3. Oracle metadata queries were optimized (tested at Oracle 9.2)
  4. Oracle metadata of columns includes all forms of TIMESTAMP datatype now

Improvements are divided into 3 commit

Bryantsev avatar Feb 09 '19 14:02 Bryantsev

Hi @Bryantsev, I will take a look at this contribution shortly. In the meantime, would it be possible to create an issue in our JIRA (https://hibernate.atlassian.net/projects/HBX) for this?

koentsje avatar Feb 11 '19 10:02 koentsje

Hi @koentsje Done: https://hibernate.atlassian.net/browse/HBX-1797

Bryantsev avatar Feb 11 '19 20:02 Bryantsev

Will this be merged please?

I wish to propose a further enhancement around comments which will conflict/depend on this.

molexx avatar Feb 26 '20 10:02 molexx