This issue here says that trasnactions don't work in jira.
I guess that means that active objects are useless, and unusable in a production environment.
So what would be the alternative?
I'm new to jira plugin development, and I'm working on my first project, doing the java backend part. I had a very hard time getting the active objects stuff to work, and already spent(wasted?) a week on it.
I need full database support, so moving to a key-value pair system would not be enough.
Any help would be appreciated.
edit, trying to clarify:
I'm creating a plugin for jira, that enables us to track users time logging. I want to save users input of worktime data, and show it in a meaningful way.
(warning) Please note, JIRA currently does not support transactions for Active Objects (as of JIRA 6.0).
public void someMethod(final ActiveObjects ao)
{
ao.executeInTransaction(new TransactionCallback<Object>()
{
@Override
public Object doInTransaction()
{
// do something with AO. According to the docs, this does not actually run in a transaction.
return null;
}
});
}
So if I still want to use dbs in jira, what would be the alternative to active objects? As far as I know, databases without transactions make no sense.
Cross posted...