Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037559Openbravo ERPA. Platformpublic2017-12-27 18:442018-01-19 12:13
JONHM 
JONHM 
highminoralways
feedbackopen 
5
 
 
Core
No
0037559: OBDal cannot be extended anymore
In previous versions, OBDal can be extended but in the newer version of OBDal it doesn't.
When creating a new class which extends OBDal, the poolName parameter is always set as NULL and it creates errors when saving objects in DAL
Add a new method to set the poolName parameter:

protected void setPoolName(String poolName) {
    poolName = poolName;
  }

And then call it in the new extended class:
instance.setPoolName("default");
No tags attached.
Issue History
2017-12-27 18:44JONHMNew Issue
2017-12-27 18:44JONHMAssigned To => platform
2017-12-27 18:44JONHMModules => Core
2017-12-27 18:44JONHMTriggers an Emergency Pack => No
2017-12-27 18:45JONHMAssigned Toplatform => AugustoMauch
2018-01-19 12:12alostaleAssigned ToAugustoMauch => JONHM
2018-01-19 12:13alostaleNote Added: 0101784
2018-01-19 12:13alostaleStatusnew => feedback

Notes
(0101784)
alostale   
2018-01-19 12:13   
OBDal shouldn't be extended. Which is the use case you're trying to cover?