Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBX-2931 Pojo template cleanup. #4958

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dareni
Copy link
Contributor

@dareni dareni commented Nov 12, 2024

Adjust freemarker pojo templates for uniform whitespace usage. ImportContextImpl - normalise line separators: remove carriage return char. Add a template for field annotations.
Allow selection of field annotations over default property annotations by
configuration of a toolclass property "hibernatetool.annotateField.toolclass".
The class allocated to this property is not important only the name "annotateField".
Tweak existing h2 database EntityNamingTest for testing of all the
freemarker templates.
Single line very minor deprecation fix to DocHelper for Column.getSqlType.

https://hibernate.atlassian.net/browse/HBX-2931

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jan 29, 2025

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

Adjust freemarker pojo templates for uniform whitespace usage.
ImportContextImpl - normalise line separators: remove carriage return char.
Add a template for field annotations.
Allow selection of field annotations over default property annotations by
  configuration of a toolclass property  "hibernatetool.annotateField.toolclass".
  The class allocated to this property is not important only the name "annotateField".
Tweak existing h2 database EntityNamingTest for testing of:
  -field annotations
  -optimistic lock @Version annotation
  -extra class code generation using MetaAttribute logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant