| Author |
Message |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 06/09/2012 01:18:24
|
villasanacaros.spw
Joined: 24/05/2012 17:33:40
Messages: 5
Offline
|
Hello folks
I have a very basic doubt. I am deploying a model and I don't know what Inbound and Outbound Relationships mean. Are they always necessary for foreign definitions?
Can someone explain me this?
Regards
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 12/10/2012 16:26:27
|
guillaume@altic.spw
SpagoBI friend
Joined: 13/03/2012 10:19:10
Messages: 62
Offline
|
Hi,
The Inbouds Relationships is added where you have the primary key.
The Outbounds Relationships is added where you have the foreign key.
If you add an inboud relationship, an outboud in automatically added in the other table and vice-versa.
If your database is correctly built, these relations are added automatically and you don't have to do anything.
Your model needs these informations to create the links between tables when you are using your Qbe.
Guillaume
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 18/10/2012 18:55:09
|
oizo.spw
SpagoBI friend
Joined: 07/07/2012 17:43:25
Messages: 50
Offline
|
Hello,
The Inbouds Relationships is added where you have the primary key.
The Outbounds Relationships is added where you have the foreign key.
Do you talk of the physical tables which must have the primary key and foreign key defined or of the business model (identifier)?
Greatings,
Eric
|
--
Server :
Ubuntu server 10.04
Tomcat 6.0.24
Spagobi 3.5.1
Java sun 1.6.0.31
Databases :
MySQL version 5.1.63 (DWH and Spagobi core)
Microsoft SQL server 200* (datasources)
Microsoft Acces 2003 (datasources)
Progress 9.1.e (datasource)
ETL :
TOS 5.1.*
Clients :
Ubuntu 10.04 desktop - Xubuntu 12.04 desktop - Windows XP - Windows Vista
Internet Explorer - Firefox
Microsoft Office - Openoffice |
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 18/10/2012 19:12:17
|
guillaume@altic.spw
SpagoBI friend
Joined: 13/03/2012 10:19:10
Messages: 62
Offline
|
If your keys (primary and foreign) are defined in physical tables, relationships will be automatically created in business model but you can always add others relationships or remove existing ones.
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 18/10/2012 20:13:05
|
oizo.spw
SpagoBI friend
Joined: 07/07/2012 17:43:25
Messages: 50
Offline
|
Hello,
Than you for the tip.
Greatings,
Eric
|
--
Server :
Ubuntu server 10.04
Tomcat 6.0.24
Spagobi 3.5.1
Java sun 1.6.0.31
Databases :
MySQL version 5.1.63 (DWH and Spagobi core)
Microsoft SQL server 200* (datasources)
Microsoft Acces 2003 (datasources)
Progress 9.1.e (datasource)
ETL :
TOS 5.1.*
Clients :
Ubuntu 10.04 desktop - Xubuntu 12.04 desktop - Windows XP - Windows Vista
Internet Explorer - Firefox
Microsoft Office - Openoffice |
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 02/11/2012 17:16:53
|
stefan.spw
Joined: 02/11/2012 15:22:18
Messages: 1
Offline
|
guillaume@altic.spw wrote:Hi,
If your database is correctly built, these relations are added automatically and you don't have to do anything.
Can you please give more details on mysql? I used hibernate with annotations to build my mysql-db with innodb. Within phpMySQL i see the foreignkeys being created correctly. But SpagoBI does not recognize them.
Thank you
Stefan
|
|
|
 |
![[Post New]](/jforum/templates/default/images/icon_minipost_new.gif) 02/11/2012 17:28:40
|
guillaume@altic.spw
SpagoBI friend
Joined: 13/03/2012 10:19:10
Messages: 62
Offline
|
Hi,
Do you use SpagoBI Studio ? If you do not, try this way, it could fix your problem quicklier.
Seems strange relations do not appear. I built a datamart without the studio and there was no problem but it was several months ago.
BR
|
|
|
 |
|
|