Re: [hibernate-dev] Problem with Work class

2007-08-18 Thread Emmanuel Bernard
I'm assuming you are looking fo the purge(Class) operation. Feel free to add a work.getEntityClass() method that returns what you want (ie does Hibernate..getClass( entity ) for regular works and return the entityClass for a PURGE_ALL work type). On Aug 17, 2007, at 20:38, John Griffin wro

[hibernate-dev] Problem with Work class

2007-08-17 Thread John Griffin
OK, I'm past that problem and have fixed a couple more but I'm now stumped. I'm trying to purge a single entity and the add() method of BatchedQueueingProcessor creates a Work instance. I've traced this and the correct entity is being used to create the Work instance. When the prepareWorks() method