'
http://localhost:8086/admin/product/12303
Then, I would want the 12303 number. How could I get that. In the fetch() method of the CustomPersistenceHandler, I only have these parameters,
PersistencePackage persistencePackage
CriteriaTransferObject cto
DynamicEntityDao dynamicEntityDao
RecordHelper helper
The reason I am asking this is, when a single product is requested I need to send only a single record and in order to ensure that the requested record is returned by the fetch() method of my persistence handler, i need a way to know which product I am being requested.
I am getting the Entity Not Found error if I send all the records, because of this..
Code: Select all
AdminEntityServiceImpl.java
Assert.isTrue(entities != null && entities.length == 1, "Entity not found");
Thanks in advance. Hope you will reply as soon as possible.