how to use associations when adding data to database

cancel
Showing results for 
Search instead for 
Did you mean: 
jsiegesleitner
Active Member

how to use associations when adding data to database

Jump to solution

Hi,

maybe I have missunderstood something in terms of associations wrong, but how can I use/how am I handeling associations when adding data to my database.

What I mean is when I want to add an foreign key to a database table, how do I use associations?

My community edition is 5.2 and I am using a postgre Sql database

Looking forward to your answers.

Regards

1 Solution

Accepted Solutions
afaust
Master

Re: how to use associations when adding data to database

Jump to solution

Associations have nothing to do with adding foreign keys in a database. You simply define associations in your Alfresco data model and then create associations between two nodes at runtime using code and/or configured forms in the UI.

View solution in original post

2 Replies
afaust
Master

Re: how to use associations when adding data to database

Jump to solution

Associations have nothing to do with adding foreign keys in a database. You simply define associations in your Alfresco data model and then create associations between two nodes at runtime using code and/or configured forms in the UI.

jsiegesleitner
Active Member

Re: how to use associations when adding data to database

Jump to solution

I think I now understand where my logic gap is.

Thank you for your fast and informative answer.