Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017002Openbravo ERPA. Platformpublic2011-05-04 13:572011-11-04 13:55
shuehner 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
3.0MP5 
Core
No
0017002: Warning about 'wrong' uuid generator usage shown during export.database
Two types of warnings are present in dal-core code with the newer hibernate version:

a.) deprecation warnings when compiling the obtuplizer class
b.) warning about 'wrong' uuid generator usage shown during export.database (in other tasks only shown with debug level enabled)
No tags attached.
related to defect 00170333.0RC7 closed shuehner Update core and template from the previous MP don't work 
related to defect 0037497 closed shuehner DalUUIDHexGenerator class is deprecated and unused since 2011 it should be removed 
Issue History
2011-05-04 13:57shuehnerNew Issue
2011-05-04 13:57shuehnerAssigned To => mtaal
2011-05-04 13:57shuehnerModules => Core
2011-05-05 09:09alostaleStatusnew => scheduled
2011-05-05 20:15shuehnerRelationship addedrelated to 0017033
2011-05-05 20:15shuehnerNote Added: 0036453
2011-05-05 20:15shuehnerPrioritynormal => urgent
2011-05-05 20:15shuehnerSeverityminor => major
2011-05-05 20:15shuehnerTarget Version => 3.0RC7
2011-05-06 17:04hgbotCheckin
2011-05-06 17:04hgbotNote Added: 0036524
2011-05-06 17:22mtaalNote Added: 0036525
2011-05-10 13:44mtaalTarget Version3.0RC7 => 3.0MP0
2011-05-10 13:46dmitry_mezentsevNote Added: 0036626
2011-05-10 13:48shuehnerNote Added: 0036627
2011-05-12 13:31hudsonbotCheckin
2011-05-12 13:31hudsonbotNote Added: 0036852
2011-05-17 09:15iperdomoPriorityurgent => normal
2011-05-23 12:46shuehnerNote Added: 0037319
2011-05-23 12:46shuehnerSummarySome warnings are shown with new hibernate version so our code should be updated to avoid them => Warning about 'wrong' uuid generator usage shown during export.database
2011-05-23 13:18mtaalTarget Version3.0MP0 => 3.0MP1
2011-06-22 19:57dmitry_mezentsevTarget Version3.0MP1 => 3.0MP2
2011-07-18 10:50mtaalTarget Version3.0MP2 => 3.0MP3
2011-08-31 09:46mtaalTarget Version3.0MP3 => 3.0MP4
2011-09-18 12:48mtaalTarget Version3.0MP4 => 3.0MP5
2011-10-22 13:38hgbotCheckin
2011-10-22 13:38hgbotNote Added: 0041987
2011-10-22 13:38hgbotStatusscheduled => resolved
2011-10-22 13:38hgbotResolutionopen => fixed
2011-10-22 13:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7191562c8ac0eb4ad691bb4de6259a84e6cd70aa [^]
2011-10-22 23:53hgbotCheckin
2011-10-22 23:53hgbotNote Added: 0041989
2011-11-02 12:36marvintmStatusresolved => closed
2011-11-04 13:55hudsonbotCheckin
2011-11-04 13:55hudsonbotNote Added: 0042544
2011-11-04 13:55hudsonbotCheckin
2011-11-04 13:55hudsonbotNote Added: 0042545
2017-12-16 17:41shuehnerRelationship addedrelated to 0037497

Notes
(0036453)
shuehner   
2011-05-05 20:15   
At least the two deprecation warnings should/must be fixed before rc7 as they show up in the rebuild popup otherwise when upgrading from rc6 which looks quite ugly and will confuse users doing the upgrade.
(0036524)
hgbot   
2011-05-06 17:04   
Repository: erp/devel/pi
Changeset: b752993f285eb788bbf1d75a91956b70a1907286
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri May 06 17:04:06 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b752993f285eb788bbf1d75a91956b70a1907286 [^]

Related to issue 17002: Some warnings are shown with new hibernate version so our code should be updated to avoid them

---
M src/org/openbravo/dal/core/OBTuplizer.java
---
(0036525)
mtaal   
2011-05-06 17:22   
I solved the first one, for the second one the message during export.database is this:
Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead

I tried their approach (using the org.hibernate.id.UUIDGenerator) but the ID values values generated were too long:
204126 [http-8080-3] ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: value too long for type character varying(32)
(0036626)
dmitry_mezentsev   
2011-05-10 13:46   
Stefan, Martin,

Could you please comment if with this change these warnings are still visible in the UI of the MMC or not?

If not we can postpone this issue for MP0.
(0036627)
shuehner   
2011-05-10 13:48   
The part for the ui-warning should be fixed with the current state (but did not verify again as takes quite long to test).

Afaik only part open if a warning only on export.database (see martins comment for the text). Not nice but can live with that until mp0 i think.
(0036852)
hudsonbot   
2011-05-12 13:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test
(0037319)
shuehner   
2011-05-23 12:46   
Update title to match pending part
(0041987)
hgbot   
2011-10-22 13:38   
Repository: erp/devel/pi
Changeset: 7191562c8ac0eb4ad691bb4de6259a84e6cd70aa
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Oct 22 13:37:39 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7191562c8ac0eb4ad691bb4de6259a84e6cd70aa [^]

Fixes issue 17002: Warning about 'wrong' uuid generator usage shown during export.database
Implemented different UUID generator

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/DatasourceDefinition.hbm.xml
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/model/domaintype/SelectorDefinition.hbm.xml
M src/org/openbravo/base/model/Column.hbm.xml
M src/org/openbravo/base/model/Module.hbm.xml
M src/org/openbravo/base/model/Package.hbm.xml
M src/org/openbravo/base/model/RefList.hbm.xml
M src/org/openbravo/base/model/RefSearch.hbm.xml
M src/org/openbravo/base/model/RefTable.hbm.xml
M src/org/openbravo/base/model/Reference.hbm.xml
M src/org/openbravo/base/model/Table.hbm.xml
M src/org/openbravo/dal/core/DalMappingGenerator.java
M src/org/openbravo/dal/core/DalUUIDHexGenerator.java
---
(0041989)
hgbot   
2011-10-22 23:53   
Repository: erp/devel/pi
Changeset: df8d1b1261d420d042ddc3ef9f6bce0557997fb1
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Oct 22 23:53:08 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/df8d1b1261d420d042ddc3ef9f6bce0557997fb1 [^]

Related to issue 17002: Warning about 'wrong' uuid generator usage shown during export.database

---
A src/org/openbravo/base/session/DalUUIDGenerator.java
---
(0042544)
hudsonbot   
2011-11-04 13:55   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test
(0042545)
hudsonbot   
2011-11-04 13:55   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d10da320df2a [^]

Maturity status: Test