# \#active-objects

**URL:** https://community.developer.atlassian.com/tag/active-objects/82.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Transaction alwasy start with read-only mode](https://community.developer.atlassian.com/t/transaction-alwasy-start-with-read-only-mode/56547)

<div class="topic-metadata">

**Author:** [@Leon](https://community.developer.atlassian.com/u/Leon)\
**Replies:** 14\
**Last updated:** [May 19, 2026, 11:21am UTC](https://community.developer.atlassian.com/t/transaction-alwasy-start-with-read-only-mode/56547 "2026-05-19T11:21:36Z")

</div>

Greetings everyone, Recently we found a very weird issue with active-objects and PostgresSQL about calling create() operation using active-objects. The issue is the transaction will always start with read-only mode, we …

---

## [Jira-Plugin/ActiveObjects: Database doesn't work](https://community.developer.atlassian.com/t/jira-plugin-activeobjects-database-doesnt-work/95700)

<div class="topic-metadata">

**Author:** [@icygirl277](https://community.developer.atlassian.com/u/icygirl277)\
**Replies:** 0\
**Last updated:** [September 29, 2025, 9:21am UTC](https://community.developer.atlassian.com/t/jira-plugin-activeobjects-database-doesnt-work/95700 "2025-09-29T09:21:02Z")

</div>

I try to update my Jira Plugin. The Spring Scanner Annotations now seem to be deprecated. I use spring scanner 3.0.4 and jira 10.3.9 The problem is: I dont see any updates on how ActiveObjects work but my data isnt fetc…

---

## [Active Objects injection for db transaction not enabled on Custom made Jira Plugins](https://community.developer.atlassian.com/t/active-objects-injection-for-db-transaction-not-enabled-on-custom-made-jira-plugins/95559)

<div class="topic-metadata">

**Author:** [@RaviSaurav](https://community.developer.atlassian.com/u/RaviSaurav)\
**Replies:** 2\
**Last updated:** [September 25, 2025, 10:32am UTC](https://community.developer.atlassian.com/t/active-objects-injection-for-db-transaction-not-enabled-on-custom-made-jira-plugins/95559 "2025-09-25T10:32:44Z")

</div>

Hi, Here is an issue I am facing why injecting Active Objects(com.atlassian.activeobjects.external.ActiveObjects) in my servlet class that extends javax.servlet.http.HttpServlet; Here are the possible ways I have trie…

---

## [Retrieving ActiveObjects class with Spring Java Configuration](https://community.developer.atlassian.com/t/retrieving-activeobjects-class-with-spring-java-configuration/89931)

<div class="topic-metadata">

**Author:** [@steffel](https://community.developer.atlassian.com/u/steffel)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 8:11am UTC](https://community.developer.atlassian.com/t/retrieving-activeobjects-class-with-spring-java-configuration/89931 "2025-03-07T08:11:51Z")

</div>

Hi! I tried to migrate a plugin (using active objects) to Jira 10.3 with Spring Java Configuration, using this tutorial: Before, I used this: @JiraImport private static ActiveObjects s\_aoBranches = null; …

---

## [ActiveObjects table not getting created](https://community.developer.atlassian.com/t/activeobjects-table-not-getting-created/89855)

<div class="topic-metadata">

**Author:** [@KarunAbhayan](https://community.developer.atlassian.com/u/KarunAbhayan)\
**Replies:** 2\
**Last updated:** [March 4, 2025, 9:16am UTC](https://community.developer.atlassian.com/t/activeobjects-table-not-getting-created/89855 "2025-03-04T09:16:15Z")

</div>

Hi, I have a Jira plugin in which I am trying to create an AO table. I have the interface like so - package path.to; import net.java.ao.Entity; import net.java.ao.schema.StringLength; public interface TempTablesTg …

---

## [Getting NullPointerException on ActiveObjects.executeInTransaction](https://community.developer.atlassian.com/t/getting-nullpointerexception-on-activeobjects-executeintransaction/86809)

<div class="topic-metadata">

**Author:** [@AzhakAnwar1](https://community.developer.atlassian.com/u/AzhakAnwar1)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 6:38pm UTC](https://community.developer.atlassian.com/t/getting-nullpointerexception-on-activeobjects-executeintransaction/86809 "2024-12-02T18:38:52Z")

</div>

Hi! I am getting NullPointerException when I try to create a an entry using ActiveObjects. The exact function where I am getting this exception is executeInTransaction. I call the ActiveObject functions inside my rest r…

---

## [Which version of ActiveObjects for with version of Jira](https://community.developer.atlassian.com/t/which-version-of-activeobjects-for-with-version-of-jira/85400)

<div class="topic-metadata">

**Author:** [@Holger](https://community.developer.atlassian.com/u/Holger)\
**Replies:** 2\
**Last updated:** [October 28, 2024, 11:47am UTC](https://community.developer.atlassian.com/t/which-version-of-activeobjects-for-with-version-of-jira/85400 "2024-10-28T11:47:41Z")

</div>

I am using Active Objects in my Jira addon. In my maven dependency I have configured 1.2.0 as provided. I wonder which version of ActiveObjects is actually provided by which version of Jira and if I should update my dep…

---

## [Issue with PostgreSQL Query: Column "group\_name" Does Not Exist in Jira Plugin](https://community.developer.atlassian.com/t/issue-with-postgresql-query-column-group-name-does-not-exist-in-jira-plugin/82567)

<div class="topic-metadata">

**Author:** [@HarshitSharma](https://community.developer.atlassian.com/u/HarshitSharma)\
**Replies:** 0\
**Last updated:** [August 13, 2024, 10:07am UTC](https://community.developer.atlassian.com/t/issue-with-postgresql-query-column-group-name-does-not-exist-in-jira-plugin/82567 "2024-08-13T10:07:35Z")

</div>

I’m encountering an issue with a Jira plugin that we’ve deployed in our Jira Data Center instance. The plugin uses Active Objects (AO) to interact with the database and stores issue subscription details in two tables: Su…

---

## [Active Objects not working in Jira 9.0.0 Velocity Templates](https://community.developer.atlassian.com/t/active-objects-not-working-in-jira-9-0-0-velocity-templates/60531)

<div class="topic-metadata">

**Author:** [@CarolineW](https://community.developer.atlassian.com/u/CarolineW)\
**Replies:** 3\
**Last updated:** [August 8, 2024, 3:54pm UTC](https://community.developer.atlassian.com/t/active-objects-not-working-in-jira-9-0-0-velocity-templates/60531 "2024-08-08T15:54:01Z")

</div>

Hi everyone, I updated our Jira Version from 8.16.1 to 9.0 and it caused problems with Active Objects in Velocity templates. Before I was just transferring a list of Active Objects as context parameter and iterating thr…

---

## [Self-join in action objects](https://community.developer.atlassian.com/t/self-join-in-action-objects/78979)

<div class="topic-metadata">

**Author:** [@esselllesse](https://community.developer.atlassian.com/u/esselllesse)\
**Replies:** 0\
**Last updated:** [April 8, 2024, 2:07pm UTC](https://community.developer.atlassian.com/t/self-join-in-action-objects/78979 "2024-04-08T14:07:59Z")

</div>

Hello! i have a query: SELECT t2.email FROM myTable t1 JOIN myTable t2 ON t1.parentId = t2.id WHERE t1.email = 'myemail' how to implement it using AO? (ao.find(MyClass.class, Query.select…etc)) i tried to make two …

---

## [Active object unique constraint for multiple columns](https://community.developer.atlassian.com/t/active-object-unique-constraint-for-multiple-columns/78859)

<div class="topic-metadata">

**Author:** [@SyedHussain](https://community.developer.atlassian.com/u/SyedHussain)\
**Replies:** 0\
**Last updated:** [April 4, 2024, 6:58am UTC](https://community.developer.atlassian.com/t/active-object-unique-constraint-for-multiple-columns/78859 "2024-04-04T06:58:06Z")

</div>

Please let me if its possible to create unique constraint for multiple columns through active objects on table??or at least a multiple column unique index. example would suffice

---

## [ActiveObjects with JUnit 5](https://community.developer.atlassian.com/t/activeobjects-with-junit-5/74123)

<div class="topic-metadata">

**Author:** [@aragot](https://community.developer.atlassian.com/u/aragot)\
**Replies:** 1\
**Last updated:** [March 6, 2024, 1:19pm UTC](https://community.developer.atlassian.com/t/activeobjects-with-junit-5/74123 "2024-03-06T13:19:14Z")

</div>

In JUnit 4, we can use: @RunWith(ActiveObjectsJUnitRunner.class) @Jdbc public abstract class AbstractAtlassianTest { // auto filled by ActiveObjectsJUnitRunner protected EntityManager entityManager; protec…

---

## [Custom Plugin Compatibility for Jira 9](https://community.developer.atlassian.com/t/custom-plugin-compatibility-for-jira-9/73985)

<div class="topic-metadata">

**Author:** [@YagnaTeja](https://community.developer.atlassian.com/u/YagnaTeja)\
**Replies:** 5\
**Last updated:** [January 18, 2024, 2:58pm UTC](https://community.developer.atlassian.com/t/custom-plugin-compatibility-for-jira-9/73985 "2024-01-18T14:58:58Z")

</div>

Hi Guys, We have a custom developed plugin which we are currently using it in our Jira 8.20. We are also in process of upgrading to the version 9.4.X. For the same we have build the existing code to make it compatible w…

---

## [New to Jira Data Center plugin with Active Objects - Missing documentation](https://community.developer.atlassian.com/t/new-to-jira-data-center-plugin-with-active-objects-missing-documentation/74957)

<div class="topic-metadata">

**Author:** [@dberrutti](https://community.developer.atlassian.com/u/dberrutti)\
**Replies:** 1\
**Last updated:** [December 7, 2023, 4:34pm UTC](https://community.developer.atlassian.com/t/new-to-jira-data-center-plugin-with-active-objects-missing-documentation/74957 "2023-12-07T16:34:54Z")

</div>

Hi community, Im trying to develop a Jira Data Center plugin, which will use Active Objects. I followed the module documentation at https://developer.atlassian.com/server/framework/atlassian-sdk/active-objects-plugin-mo…

---

## [ActiveObjects.stream() not populating encapsulated entities](https://community.developer.atlassian.com/t/activeobjects-stream-not-populating-encapsulated-entities/1597)

<div class="topic-metadata">

**Author:** [@pslootweg](https://community.developer.atlassian.com/u/pslootweg)\
**Replies:** 1\
**Last updated:** [December 2, 2023, 1:51am UTC](https://community.developer.atlassian.com/t/activeobjects-stream-not-populating-encapsulated-entities/1597 "2023-12-02T01:51:28Z")

</div>

AO Streaming API (Products & News - Work Life by Atlassian) is promoted as a preferred way to access AO entities faster than using find() or get(). However, using find/get the full object graph is returned, but the stre…

---

## [Active Objects Oracle CLOB type](https://community.developer.atlassian.com/t/active-objects-oracle-clob-type/74994)

<div class="topic-metadata">

**Author:** [@GorkaGalloBustinza](https://community.developer.atlassian.com/u/GorkaGalloBustinza)\
**Replies:** 0\
**Last updated:** [November 27, 2023, 10:45am UTC](https://community.developer.atlassian.com/t/active-objects-oracle-clob-type/74994 "2023-11-27T10:45:38Z")

</div>

Hi, When creating an active object table that includes an unlimited string field, oracle maps the fields as CLOB column type. This type is not possible to include it as a filter in a sql query, throwing an exception. Is…

---

## [How to change back the previous AO table name](https://community.developer.atlassian.com/t/how-to-change-back-the-previous-ao-table-name/74811)

<div class="topic-metadata">

**Author:** [@jira2](https://community.developer.atlassian.com/u/jira2)\
**Replies:** 3\
**Last updated:** [November 21, 2023, 2:45pm UTC](https://community.developer.atlassian.com/t/how-to-change-back-the-previous-ao-table-name/74811 "2023-11-21T14:45:14Z")

</div>

Hello All, Recently after upgrade to Jira 9 and of Java from 1.8 to 11 we can see that there are 2 AO tables for the same custom addon: AO\_XXX\_PROJECT\_EXTRA\_FIELDS (old) AO\_YYY\_PROJECT\_EXTRA\_FIELDS (new) We do not ne…

---

## [JQL query incorporating Active Objects](https://community.developer.atlassian.com/t/jql-query-incorporating-active-objects/12324)

<div class="topic-metadata">

**Author:** [@steve4dd](https://community.developer.atlassian.com/u/steve4dd)\
**Replies:** 10\
**Last updated:** [October 25, 2023, 8:51pm UTC](https://community.developer.atlassian.com/t/jql-query-incorporating-active-objects/12324 "2023-10-25T20:51:48Z")

</div>

Is there a built-in syntax for specifying a selection criteria using AO in JQL? For example: project = FOO and “AO\_A3B47\_MYTABLE.column\_name” contains “some text” or do I have to write a module in a custom plugin?

---

## [Workaround for SUM, MAX, COUNT and for querying a subset of table columns with Active Objects (a.k.a AO)](https://community.developer.atlassian.com/t/workaround-for-sum-max-count-and-for-querying-a-subset-of-table-columns-with-active-objects-a-k-a-ao/61493)

<div class="topic-metadata">

**Author:** [@mkemp](https://community.developer.atlassian.com/u/mkemp)\
**Replies:** 5\
**Last updated:** [September 25, 2023, 8:12am UTC](https://community.developer.atlassian.com/t/workaround-for-sum-max-count-and-for-querying-a-subset-of-table-columns-with-active-objects-a-k-a-ao/61493 "2023-09-25T08:12:44Z")

</div>

Hey, While working on the cross-product Advanced Auditing feature, I found myself needing to get the most recent row. DISCLAIMER I really would recommend using QueryDSL pocketknife instead if you don’t need to support…

---

## [Are Transactions Still Not Supported In Jira DC?](https://community.developer.atlassian.com/t/are-transactions-still-not-supported-in-jira-dc/72504)

<div class="topic-metadata">

**Author:** [@RomanStoffel](https://community.developer.atlassian.com/u/RomanStoffel)\
**Replies:** 2\
**Last updated:** [September 1, 2023, 3:57pm UTC](https://community.developer.atlassian.com/t/are-transactions-still-not-supported-in-jira-dc/72504 "2023-09-01T15:57:49Z")

</div>

Hi. I’ve investigated a database in a corrupt state. And to my surprise, it seems that there are not transactions with Active Objects in Jira? So, basically what happens: I run my code in a ActiveObjects.executeInTra…

---

## [Plugin storing binary or huge data](https://community.developer.atlassian.com/t/plugin-storing-binary-or-huge-data/70236)

<div class="topic-metadata">

**Author:** [@KCWong](https://community.developer.atlassian.com/u/KCWong)\
**Replies:** 3\
**Last updated:** [June 13, 2023, 2:22am UTC](https://community.developer.atlassian.com/t/plugin-storing-binary-or-huge-data/70236 "2023-06-13T02:22:35Z")

</div>

As stated in this article: https://developer.atlassian.com/server/framework/atlassian-sdk/developing-your-plugin-with-active-objects/ My first problem is, AO does not support BLOBs. What are my options if my plugin nee…

---

## [When are Active Objects upgrade tasks re-attempted?](https://community.developer.atlassian.com/t/when-are-active-objects-upgrade-tasks-re-attempted/69533)

<div class="topic-metadata">

**Author:** [@AndrewMorton](https://community.developer.atlassian.com/u/AndrewMorton)\
**Replies:** 0\
**Last updated:** [May 18, 2023, 11:52am UTC](https://community.developer.atlassian.com/t/when-are-active-objects-upgrade-tasks-re-attempted/69533 "2023-05-18T11:52:49Z")

</div>

Under what conditions will an Active Objects upgrade task be re-attempted the next time a plugin is updated? If my upgrade task: (1) Throws an unchecked exception within the upgrade method (2) Throws and catches a che…

---

## [Active Objects NoSuchBeanDefinitionException](https://community.developer.atlassian.com/t/active-objects-nosuchbeandefinitionexception/69365)

<div class="topic-metadata">

**Author:** [@MiraculousLadybug](https://community.developer.atlassian.com/u/MiraculousLadybug)\
**Replies:** 4\
**Last updated:** [May 16, 2023, 7:34am UTC](https://community.developer.atlassian.com/t/active-objects-nosuchbeandefinitionexception/69365 "2023-05-16T07:34:17Z")

</div>

I get the typical no such bean exception when injecting an AO object… all classes are in the same package!! I use this dependency \<dependency\> \<groupId\>com.atlassian.activeobjects\</groupId\> \<artifactId\>activeob…

---

## [NoSuchBeanDefinitionException in Jira plugin when using Active Objects](https://community.developer.atlassian.com/t/nosuchbeandefinitionexception-in-jira-plugin-when-using-active-objects/59558)

<div class="topic-metadata">

**Author:** [@GipsaMathai](https://community.developer.atlassian.com/u/GipsaMathai)\
**Replies:** 4\
**Last updated:** [March 28, 2023, 8:04pm UTC](https://community.developer.atlassian.com/t/nosuchbeandefinitionexception-in-jira-plugin-when-using-active-objects/59558 "2023-03-28T20:04:12Z")

</div>

Hi there, I have been using the example \[refapp plugin\] (https://developer.atlassian.com/server/framework/atlassian-sdk/getting-started-with-active-objects/) since I am new to creating Jira Plugins… I created a Jira pl…

---

## [ActiveObject framework does not handle new MySQL reserved keywords](https://community.developer.atlassian.com/t/activeobject-framework-does-not-handle-new-mysql-reserved-keywords/46013)

<div class="topic-metadata">

**Author:** [@margus.nael](https://community.developer.atlassian.com/u/margus.nael)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 4:02pm UTC](https://community.developer.atlassian.com/t/activeobject-framework-does-not-handle-new-mysql-reserved-keywords/46013 "2023-03-07T16:02:14Z")

</div>

Steps to reproduce the bug. 1. Take any Jira server/DC with following DB setup: 8.0.22-0ubuntu0.20.04.3 MySQL Connector/J mysql-connector-java-8.0.21 (Revision: 33f65445a1bcc544eb0120491926484da168f199) utf8mb4\_bin A…

---

## [Using Active Objects together with the Jira audit log](https://community.developer.atlassian.com/t/using-active-objects-together-with-the-jira-audit-log/65797)

<div class="topic-metadata">

**Author:** [@JohanJN](https://community.developer.atlassian.com/u/JohanJN)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 4:45am UTC](https://community.developer.atlassian.com/t/using-active-objects-together-with-the-jira-audit-log/65797 "2023-02-01T04:45:16Z")

</div>

Hi there! I am trying to implement audit log support for my custom app that I am currently developing. As a first step, I want to create a new event in the audit log whenever a new row in the active objects table is cre…

---

## [Problem injecting active objects service](https://community.developer.atlassian.com/t/problem-injecting-active-objects-service/64622)

<div class="topic-metadata">

**Author:** [@Ignat1](https://community.developer.atlassian.com/u/Ignat1)\
**Replies:** 3\
**Last updated:** [December 28, 2022, 9:25pm UTC](https://community.developer.atlassian.com/t/problem-injecting-active-objects-service/64622 "2022-12-28T21:25:23Z")

</div>

Hi all I’ve created AO service class in my plugin that works fine when injected in webwork class (CRUD functions working as expected). but when I try to inject it to another class besides of webwork, injection fails un…

---

## [Using Atlassian Cache together with Active Objects](https://community.developer.atlassian.com/t/using-atlassian-cache-together-with-active-objects/64367)

<div class="topic-metadata">

**Author:** [@JohanJN](https://community.developer.atlassian.com/u/JohanJN)\
**Replies:** 3\
**Last updated:** [December 20, 2022, 2:16am UTC](https://community.developer.atlassian.com/t/using-atlassian-cache-together-with-active-objects/64367 "2022-12-20T02:16:09Z")

</div>

Hi! I am currently developing my own plugin that utilizes active objects. In order to lessen the load on the DB, I want to utilize atlassian-cache for this. I have written code and it seems to work, but I’m unsure if I …

---

## [Foreign keys in Active Objects: On delete SET NULL?](https://community.developer.atlassian.com/t/foreign-keys-in-active-objects-on-delete-set-null/49118)

<div class="topic-metadata">

**Author:** [@aragot](https://community.developer.atlassian.com/u/aragot)\
**Replies:** 1\
**Last updated:** [November 22, 2022, 10:39am UTC](https://community.developer.atlassian.com/t/foreign-keys-in-active-objects-on-delete-set-null/49118 "2022-11-22T10:39:38Z")

</div>

Hi all, We are working with Active Objects in Confluence Data Center (are we the last ones?). We have a foreign key between two records. Postgres, for example, has the following options: ON DELETE RESTRICT: Throw an e…

---

## [java.lang.NoSuchMethodError: com.google.common.collect.ImmutableSet.of()](https://community.developer.atlassian.com/t/java-lang-nosuchmethoderror-com-google-common-collect-immutableset-of/63491)

<div class="topic-metadata">

**Author:** [@SandraPriedte1](https://community.developer.atlassian.com/u/SandraPriedte1)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 12:33am UTC](https://community.developer.atlassian.com/t/java-lang-nosuchmethoderror-com-google-common-collect-immutableset-of/63491 "2022-11-15T00:33:00Z")

</div>

Hello, I am trying to write unit tests testing Active Objects. Following the tutorial here https://developer.atlassian.com/server/framework/atlassian-sdk/getting-started-with-active-objects Currently I get error: Tes…

[Next page](https://community.developer.atlassian.com/tag/active-objects/82.md?match_all_tags=true&page=1&tags%5B%5D=active-objects)
