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{
@PrimaryKey("SEARCHACTIVITYID")
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
@Table("SEARCHACTIVITY")
public interface SearchActivityEntity extends Entity{
...
}
Did you ever get a resolution to this, I want to do the same thing with the RECENTLY_VIEWED AO table.
Sushanth,
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?
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.