Even when I reduced the code to
Code:
/*
Start of relevant code.
This code executes in the context of a CMT Session bean
*/
Session hibSess = anHIBSessionFactory.getCurrentSession();
TriggerWrapper myObj = new TriggerWrapper("aTest");
hibSess.save(myObj);
Which, from what I understand, should have saved and committed instance
myObj to the DB since it executes in the context of a CMT.
But, myObj instance is never saved.
I have seen other posting here in this forum regarding the same problem of Objects NOT being saved, both in the context of using the JTA api and also in the context of CMT,
with no clear cut answer.
This must be a configuration issue, but, where can I find the correct configuration
for session factory in order to use CMT.
Thanks in advance.
[/code]