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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012507
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2010-03-01 13:192010-03-13 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version2.50MP14
StatusclosedFix in branchFixed in SCM revision9f67838a3ea8
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012507: New customizable references should make it possible to use a custom hibernate user type

DescriptionThe 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 SolutionExtend the PrimitiveDomainType with an addition getHibernateType method which is used by the mapping generator.
TagsNo 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 (developer)
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: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
Powered by Mantis Bugtracker