Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054061
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajorhave not tried2023-11-30 16:102024-01-02 12:00
Reportergonzalo_fernandezView Statuspublic 
Assigned Togonzalo_fernandez 
PrioritynormalResolutionfixedFixed in VersionPR24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusmerged
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054061: DAL bootstrap model: replace .hbm mappings with JPA annotations

DescriptionCurrently the DAL models are built with a .hbm file that describes all the mappings. This .hbm approach is deprecated in newer Hibernate versions in favor of JPA annotations. This task involves the following tasks:

Define the “small” model definition (Tables, Columns etc.) with JPA annotations

Define the business DAL model with JPA annotation

Provide the ability of switching between the two ways of defining the mappings which can be useful until the JPA model definition is mature enough
Steps To Reproduce.
Proposed Solution.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157872)
hgbot (developer)
2023-11-30 16:24

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1063 [^]
(0158694)
hgbot (developer)
2023-12-28 16:00

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1063 [^]
(0158695)
hgbot (developer)
2023-12-28 16:00

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 1f40b27b6b63609df055b23157eaf0e73c14b728
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 28-12-2023 16:00:13
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/1f40b27b6b63609df055b23157eaf0e73c14b728 [^]

Fixes ISSUE-54061: Uses JPA mapping for hibernate bootstrap model

---
A src/org/openbravo/base/session/BooleanYNConverter.java
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/DatasourceDefinition.java
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/SelectorDefinition.java
M src/org/openbravo/base/model/Column.java
M src/org/openbravo/base/model/ModelSessionFactoryController.java
M src/org/openbravo/base/model/Module.java
M src/org/openbravo/base/model/Package.java
M src/org/openbravo/base/model/Property.java
M src/org/openbravo/base/model/RefList.java
M src/org/openbravo/base/model/RefSearch.java
M src/org/openbravo/base/model/RefTable.java
M src/org/openbravo/base/model/RefTree.java
M src/org/openbravo/base/model/Reference.java
M src/org/openbravo/base/model/Table.java
M src/org/openbravo/base/session/DalUUIDGenerator.java
R modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/DatasourceDefinition.hbm.xml
R modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/SelectorDefinition.hbm.xml
R src/org/openbravo/base/model/Column.hbm.xml
R src/org/openbravo/base/model/Module.hbm.xml
R src/org/openbravo/base/model/Package.hbm.xml
R src/org/openbravo/base/model/RefSearch.hbm.xml
R src/org/openbravo/base/model/RefTable.hbm.xml
R src/org/openbravo/base/model/RefTree.hbm.xml
R src/org/openbravo/base/model/Reference.hbm.xml
R src/org/openbravo/base/model/Table.hbm.xml
---

- Issue History
Date Modified Username Field Change
2023-11-30 16:10 gonzalo_fernandez New Issue
2023-11-30 16:10 gonzalo_fernandez Assigned To => gonzalo_fernandez
2023-11-30 16:10 gonzalo_fernandez OBNetwork customer => No
2023-11-30 16:24 hgbot Merge Request Status => open
2023-11-30 16:24 hgbot Note Added: 0157872
2023-12-28 15:54 AugustoMauch Status new => scheduled
2023-12-28 16:00 hgbot Merge Request Status open => merged
2023-12-28 16:00 hgbot Note Added: 0158694
2023-12-28 16:00 hgbot Resolution open => fixed
2023-12-28 16:00 hgbot Status scheduled => resolved
2023-12-28 16:00 hgbot Fixed in Version => PR24Q1
2023-12-28 16:00 hgbot Note Added: 0158695
2024-01-02 11:58 AugustoMauch Status resolved => closed
2024-01-02 11:59 shuehner Project Infrastructure => Openbravo ERP
2024-01-02 12:00 shuehner Modules => Core
2024-01-02 12:00 shuehner Triggers an Emergency Pack => No
2024-01-02 12:00 shuehner Category wiki.openbravo.com => A. Platform


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker