JMatter (version: jmatter-20070809) does not persist many-to-many bi-directional self-associations.
Here is the simple test case to understand and reproduce the bug:
let JMatter be installed in dir c:\jmatter
change dir to c:\jmatter
ant new-project-ui
Project Name: bidibug
Base Directory: c:\temp
Project Type: Standalone
Create Project
ant ultraviolet
create and save (or use) file bidibug.uml as attached
select JMatter directory c:\temp\bidibug
generate code from UML
change dir to c:\temp\bidibug
ant schema-export
ant run
logon using admin/admin
select Types/Types/Browse
select New on Bidi Bug
enter name=test
save
expand Bidi Bug's Sub Bidi Bugs
add new Bidi Bug named subtest
save
close subtest window
see subtest in Bidi Bug's Sub Bidi Bugs
click Refresh and see subtest suddenly and unexpectedly disappear from Bidi Bug's Sub Bidi Bugs:-((
I have found this bug both with H2 default database as well as with a working Postgres db.
I have rated this bug to be a blocker. This means it is a blocker to what I want to do with JMatter. Please re-prioritze as you deem appropriated.
I have assigned this bug to component other as I do not know if persistance is really to blame for this.
Regards,
Matthias