Page 1 of 1

save product - admin

Posted: Mon Jun 10, 2013 2:05 am
by sushma
I have One query regarding the saving of product .
In BLC 3.0 is ProductDaoImpl being used while saving a product .
while debugging i found that the saving of product is handled in ProductCustomPersistenceHandler .
Please help confused between these two .

Re: save product - admin

Posted: Wed Jun 12, 2013 1:15 am
by phillipuniverse
ProductDaoImpl is not used when saving anything in the admin. We have very different paradigms for the admin that uses a very generalized approach; all of our entities are saved via a single dao called DynamicEntityDao.

We are currently working on better documentation for the whole process that the admin goes through to display, add and update entities as it is very different than the frontend.

Re: save product - admin

Posted: Wed Jun 12, 2013 1:16 am
by phillipuniverse
One other point: ProductCustomPersistenceHandler is where Products are saved, yes. Under the covers this utilizes DynamicEntityDao to actually perform the database transaction.