HbnContainer + advanced filtering

Hello Guys,

when I use HbnContainer I notice, that filtering options don’t fit to my requirements. So I made some customizations of code. I’ll be happy when this will be part of next release.
11989.zip (12.9 KB)

I found another bug in HbnContainer:


public Serializable updateEntity(T entity) {
//should call 
sessionManager.getSession().update(entity); 
//[b]
instead of
[/b]
sessionManager.getSession().save(entity);

//the rest of implementation
}

Hi,

Would you make a patch (svn diff> mypatch.diff) of your changes ? I could then more easily review the changes and publish a new release of the add-on.

cheers,
matti

I hope, I did this patch right.

Patch contains this changes:

  • Advanced filtering designed for extensions based on user requirements
  • Fix for updateEntity, witch produce insert instead of update in curren (1.0.4) version
    11995.zip (2.05 KB)

I fixed a typo and removed some bad imports. Otherwise it looked just fine to me. New version now available in the directory.

cheers,
matti