Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use confluence Active Objects

1)How to use custom sequence with custom primary key

How can we use the existing sequence ("SEARCHACTIVITYIDSEQ") and custom primary key("SEARCHACTIVITYID") when we create AO objects. 

public interface SearchActivityEntity extends Entity{


public long getSEARCHACTIVITYID();


2)How to access the existing tables using AO 

We have a Table "SEARCHACTIVITY", before we used the hibernating to access this table, Now we want to use AO to access these tables, is there any way to access these existing tables with AO? 

AO creates the new table ("AO_707237_SEARCHACTIVITY" even if we specify the existing table name


public interface SearchActivityEntity extends Entity{



2 answers

0 votes


Can you let us know exactly what you're trying to do? It seems like you might be trying to develop an add-on for Confluence?


Yes we are developing a confluence-plugin, where we have to access the existing custom tables in the confluence schema (which we have added during our old confluence V5.8.13) now we are upgrading to V6.6.2, We were using hibernate ORM before and we are trying to change our ORM to AO in this upgrade.

Thank you for confirming, Sushanth.

I am personally not familiar with developing add-ons for Confluence, but you may be able to find what you need from our Developer site. Have a look at the page I linked and see if that helps you any.

In addition, there is a Community there as well that's much more focused on Developing add-ons than this one. You may find the resources you need there.



Hi @Sushanth Kumar Jayanthi ,

Did you ever get a resolution to this, I want to do the same thing with the RECENTLY_VIEWED AO table.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

113 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you