Questions tagged as 'repository'

1
answer

Java Spring - Repository returns Null

This is my ApiKey class: @Entity @Table(name="API_KEYS", schema="DEMO_PIMS") @JsonIgnoreProperties(allowGetters=true) public class ApiKey implements Serializable{ private static final long serialVersionUID = 1L; @Id @Column(n...
asked by 27.06.2018 / 16:16
1
answer

Repository Pattern - Doubt of use

Good night, guys. I was developing software and started thinking about how best to implement Repository Pattern. I have to return to the data controller of cities and states, so I have two models in my application. public class Estado...
asked by 09.09.2015 / 04:13
0
answers

Generic Repository with Dapper

I'm doing a test application where I want to see the performance and learn how to create a generic repository with Dapper, well I have some experience when I created a generic repository, but using EF6, trying to use the same logic made the cons...
asked by 13.12.2018 / 21:34
0
answers

Decorator Pattern with Repository Pattern

I have a need here and I'm having a hard time implementing I have an application with Decorator Pattern and would like to update the data of my components by taking the information directly from the database, but I am not finding a legal way to...
asked by 13.10.2015 / 18:45
2
answers

Can I upgrade the GIT version without losing my repositories?

My git has version 1.9.5 and the current version is 2.7.0 Can I install the new version without losing my data? Because I have a series of repositories with this old version !! What should I do?     
asked by 24.01.2016 / 04:19
1
answer

What is the difference between ActiveRecord and Repository?

I'm reading a POO book in PHP that calls PHP Object Oriented Programming [Pablo Dall'Oglio] and got a bit confused with these two design patterns , especially when it makes use of the Repository using ActiveRecord. It is worth noting that in th...
asked by 10.03.2017 / 04:00
1
answer

Uploading an entity Country related to State

I'm starting in the Entity Framework and when trying to load an entity state, the relational parent entity is coming with null value, what could I adjust in my code to solve? Class Status: public class Estado { ... public int Id { g...
asked by 14.01.2016 / 20:25
1
answer

Problem sending files to bitBucket

I am currently sending the commit files to the database, but it is not working, I am doing everything correct but giving the following message. git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master fata...
asked by 03.10.2015 / 16:20
1
answer

Precedence in JPA Query

I'm using the @Where(clause = "ts_removed is null") notation in my entity. If I insert a method with @Query(value = "XXX") into my repository, will the query override or will it use my where clause in the entity also in the repository?...
asked by 27.11.2018 / 14:27
0
answers

Doubts about the standard Repository - Anemico Model - MVC

I see a lot of criticism of the anemic application model, so I decided to take this question. I have two ASP.NET MVC applications that could share the same Models (they will use the same properties and methods) Thinking not to rewrite or c...
asked by 29.06.2018 / 20:21