cancel
Showing results for 
Search instead for 
Did you mean: 

how to use associations when adding data to database

jsiegesleitner
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

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 answer in original post

2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator

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
Champ on-the-rise
Champ on-the-rise

I think I now understand where my logic gap is.

Thank you for your fast and informative answer.