[Logo] SpagoWorld Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
[Groups] Back to home page  [Moderation Log] Moderation Log   [Register] Register /  [Login] Login 
Model - Inbound and Outbound Relationships  XML
Forum Index » Technical Help - SpagoBI Server - FREE INQUIRY
Author Message
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
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

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
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.
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
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
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
 
Forum Index » Technical Help - SpagoBI Server - FREE INQUIRY
Go to:   
Powered by JForum 2.1.9 © JForum Team