Questions tagged as 'entidade-relacionamento'

2
answers

Relationship one to one Laravel

Good morning, I'm developing my first project in laravel, and I'm having a difficult relationship in two entities. I have my student registration, but I can not understand how to call coursefac through a dropdown in the student record....
asked by 20.10.2015 / 14:25
1
answer

Relationship of one column to several

I have an entity class of Medical name, in which it has an IDMedical column. It relates to the Attendance entity class, which in turn has a MedicalID column, which would be a foreign key of that first. There is also in this table, Attendance,...
asked by 18.05.2018 / 18:32
1
answer

Example and illustration about redundant relationships (MER)

Context Consider the sentence below:    It is stated:            Relationships that are a result of combining other relationships between the same entities are called: redundant relationships    Doubt Would it be possible to imag...
asked by 30.10.2017 / 22:36
0
answers

Problem with persisting relationship

I have 2 entities, the SubModel that has a list of possible options. I made a unidirectional OneToMany relation, when I do any persistence in the SubModel entity that the list of Options is empty Hibernate does quietly, but without having to inc...
asked by 07.10.2016 / 13:45
1
answer

INSERT and UPDATE in relationship n: m in MySQL

I need to create a relationship n: m in mysql, follow my example: I have a table named empresas and another representantes . A company can have more than one representative, and one representative can belong to more than one comp...
asked by 15.01.2016 / 13:43
1
answer

Representation of many-to-many self-relationship

I am creating an Entity-Relationship Model in which a Student can have many Students, thus characterizing many-to-many self-relationship. However, I am in doubt as to how to implement this self-relationship at the time of the bank's creation....
asked by 05.05.2018 / 23:07
1
answer

Create a Table-Relationship (N: N) that relates to a Table-Normal and another Table-Relationship (N: N) in SQL Server 2014 Management Studio

I'm trying to create this SQL Server Data Script, but when I run the following error message occurs:    Msg 1776, Level 16, State 0, Line 161 There are no primary keys or   candidates in the reference table 'tblSupplierInsumo' which   corresp...
asked by 20.01.2018 / 23:40
1
answer

JPA entity generating column with double name id_municipio_id_municipio

I have an entity called districts that contains a relationship with the municipalities table. When I generate the database the table districts creates the field id_municipio_id_municipio being that was to be generated only id_municipality. cl...
asked by 28.09.2017 / 15:34
1
answer

Relationship model and entity

Boy, I'm setting up a website that owns the artist chart and an artist can play more than one musical genre, how would I put the genres that the artist plays in the database?     
asked by 02.10.2017 / 01:20
1
answer

how to calculate the storage volume of a database

This is the following, I'm having concerns about a database being used in a project. The project consists of the development of a software for joining respective data to two solar spectrum sensors, and then storing them in a database along with...
asked by 02.06.2017 / 18:29