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

FORGE-867 Save JPA entities only on modifications. #312

Merged
merged 1 commit into from Apr 24, 2013
Merged

FORGE-867 Save JPA entities only on modifications. #312

merged 1 commit into from Apr 24, 2013

Conversation

VineetReynolds
Copy link
Member

This change is done to prevent the Faces scaffold from modifying JPA entities in TicketMonster. None of the JPA entities in TicketMonster need modification to accomodate the generated scaffold, and hence the source formatting should not be lost.

A dirty bit is used to track whether the JPA entity is modified or not, and the entity is saved only if modified by the scaffold.

A dirty bit is used to track whether the JPA entity is modified or not.
gastaldi added a commit that referenced this pull request Apr 24, 2013
FORGE-867 Save JPA entities only on modifications.
@gastaldi gastaldi merged commit dcb7202 into forge:master Apr 24, 2013
@VineetReynolds VineetReynolds deleted the FORGE-867 branch April 24, 2013 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants