Posts by Rafael Blum • 97 points
16 posts
-
0
votes1
answer86
viewsA: Doubt with belongsToMany Standard 7
What version does use the Laravel? Made a pivot table in this case of N:N? Try to do it this way: Model Make public function Products(){ return $this->belongsToMany(Product_type::class); } Model…
-
0
votes2
answers131
viewsQ: How to access belongsTo and hasOne in the view? - Relationship 1 - 1 bidirectional
I am with project Laravel 6.0 and have the entity User and address, where user has 1 address, as well as an address belongs to 1 user (bidirectional). The problem is that list all addresses and in…
-
1
votes1
answer62
viewsQ: SQL function with mysql
I am implementing a function for a vendor search field and my sql function is in trouble, would anyone know what problem? This was a function of when using postgree, but now I’m using mysql. package…
-
1
votes1
answer46
viewsQ: Remove objects that are attached to the list of others
I have a problem removing an object. What is happening: I have two tables -> PROCEDURE and SECTOR: I can create normal sectors, save, edit, delete and add procedures to the list of each created…
-
1
votes0
answers43
viewsQ: Combo product and play value in inputText
I am developing a DOCUMENT registration with parameters such as Material, Name and other data. And how it will work, before performing a normal PRODUCT registration with parameters of Material and…
-
0
votes4
answers3972
viewsA: java.lang.Noclassdeffounderror: org/slf4j/Loggerfactory
Using only SLF4J, slf4j-simple-1.7.25.jar *Just right click on JRE System... Build Path and add to JAR.
javaanswered Rafael Blum 97 -
0
votes0
answers537
viewsQ: Data compression in C
I need to implement a C program that makes the creation of compressed files from text files (for example, C program sources, among others). This compression will be performed using the Run Length…
-
1
votes0
answers13468
viewsQ: How to represent a class diagram between Manager and employee
Hello, everyone I have a Food Truck system and need to know mainly the relationship of the manager and employee... Is my diagram correct? The module 1 mainly. • Specification: Manager module I.…
-
0
votes1
answer1509
viewsQ: JSP Eclipse Project - Linking CSS style page
how to correctly link my style sheets in my JSP Servlet project? Below is the structure of my project. Also I do not know if the correct hierarchy. Help me. I already tried ..…
-
0
votes1
answer330
viewsQ: Heritage Java web Inheritance
I have the inheritance to do below and would like to know how it would look on main. Someone here could help? Could you tell me if you have any problems with the mapping I did and how mainTeste…
-
0
votes1
answer595
viewsQ: @Onetomany Bidirectional
Good afternoon, you guys I am developing a financial web application and am having problems in making the relationship between Lancamento and ItemLancamento. I will post what I have done so far,…
-
0
votes1
answer87
viewsQ: @Jointable or @Joincolumn
Good afternoon, you guys I have a diagram as below and I have a question. It is between User and Account and what I am in doubt is, if I access by ACCOUNT, I find the USER, but I can not do the…
-
1
votes1
answer748
viewsQ: One-way Onetomany relationship
Hello, everyone! Help me! I have a financial system and I am in doubt in the relationship of User and Account, according to UML. From what my teacher told me, here we have to make a Onetomany in…
-
0
votes1
answer812
viewsQ: no such column _id (code 1) while compiling - SQL
I’m having trouble with my code, could help me. Follow the error below and soon after, the codes. But to simplify, I have a home screen and let me go to another to register and then I can go to…
-
1
votes1
answer86
viewsQ: Modify Dates of each object - MONTH, YEAR
I have an application where I create a release of for example 400 real and before saving define the creation date and how many times I have to do. Then saved. And at this point I save I add the…
-
0
votes1
answer45
viewsQ: Sending Arraylist and General value to another Activity
I am creating an Activity, for example A and in it I have to add data of Releases (This class I Serialized), as name, type, etc... and I add also the updated general value on the screen and I have…