Helo again
I must apologise for the initial post, as I did a bad test. In fact, operations on the collection perform erratic and in a non predictable way even if used in a single-shot example, like:
Code:
Configuration config = new Configuration();
config.setProperties(System.getProperties());
SessionFactory sessionFactory = config.configure().buildSessionFactory();
Session session = sessionFactory.openSession();
session.connection().setAutoCommit(true);
Folder folder = (Folder)session.get(Folder.class, new Integer(1));
folder.getAttributes().remove("a1");
session.save(folder);
session.flush();
session.close();
which I run from the command line (so no application servers or anything).
The folder table initialy looks like:
Code:
ID | VALUE | KEY
1 | v1 | a1
1 | v2 | a2
1 | v3 | a3
and after the program has finished is exactly the same, the delete operation is not performed.
Any hints?
G.