Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0012507 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | have not tried | 2010-03-01 13:19 | 2010-03-13 00:00 | |||
| Reporter | mtaal | View Status | public | |||||
| Assigned To | mtaal | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 2.50MP14 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 9f67838a3ea8 | ||||
| Projection | none | ETA | none | Target Version | pi | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0012507: New customizable references should make it possible to use a custom hibernate user type | |||||||
| Description | The current customizable references use the same type (==java class) for the property in the generated entity class and the hibernate mapping. If the hibernate mapping can make use of a different class then it is possible to use custom hibernate user types to persist data through hibernate. For information on hibernate user types see this link: http://docs.jboss.org/hibernate/core/3.3/reference/en/html/mapping.html#mapping-types-custom [^] | |||||||
| Proposed Solution | Extend the PrimitiveDomainType with an addition getHibernateType method which is used by the mapping generator. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0024902) hgbot (developer) 2010-03-01 13:20 |
Repository: erp/devel/pi Changeset: 9f67838a3ea8d35ef6a782e7d0b7ce17d300b6a6 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Mar 01 13:24:11 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/9f67838a3ea8d35ef6a782e7d0b7ce17d300b6a6 [^] fixes issue 12507: New customizable references should make it possible to use a custom hibernate user type --- M src/org/openbravo/base/model/Property.java M src/org/openbravo/base/model/domaintype/BasePrimitiveDomainType.java M src/org/openbravo/base/model/domaintype/PrimitiveDomainType.java M src/org/openbravo/dal/core/DalMappingGenerator.java --- |
|
(0025364) hudsonbot (viewer) 2010-03-12 22:40 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/9f67838a3ea8 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-03-01 13:19 | mtaal | New Issue | |
| 2010-03-01 13:19 | mtaal | Assigned To | => mtaal |
| 2010-03-01 13:19 | mtaal | OBNetwork customer | => No |
| 2010-03-01 13:20 | hgbot | Checkin | |
| 2010-03-01 13:20 | hgbot | Note Added: 0024902 | |
| 2010-03-01 13:20 | hgbot | Status | new => resolved |
| 2010-03-01 13:20 | hgbot | Resolution | open => fixed |
| 2010-03-01 13:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/9f67838a3ea8d35ef6a782e7d0b7ce17d300b6a6 [^] |
| 2010-03-12 15:38 | alostale | Status | resolved => closed |
| 2010-03-12 15:38 | alostale | Fixed in Version | => 2.50MP14 |
| 2010-03-12 22:40 | hudsonbot | Checkin | |
| 2010-03-12 22:40 | hudsonbot | Note Added: 0025364 | |
| 2010-03-13 00:00 | anonymous | sf_bug_id | 0 => 2969675 |
| Copyright © 2000 - 2009 MantisBT Group |