Category "repository"

How to get List of Objects with value in array in Spring-Boot CrudRepository

I have an Object defined that has ChildAccountList of Strings as one of the attributes. Is there a findBy method that I can use such that it will return the li

How do I use the same parameter multiple times in my Query using JPA?

How do I use a parameter multiple times in the same query? Here is my Query: @Query(value = """ SELECT * FROM person WHERE first_name = ? or last_name =

What does this AWS CloudFormation AWS::Amplify::App Exception mean "Invalid request provided: Repository provider not supported."?

I cannot find a single article/example of this scenario but here is what I am attempting to do. I want to create AWS Amplify infrastructure using a AWS CloudFor

How Implement CRQS in DDD

If someone tries to implement the CQRS pattern without repository in DDD, in which layer should it be done? Infrastructure or Application Layer?

How to deploy to Heroku if my client and servers are in separate folders?

I have a repo with 2 folders - 1 for the server, 1 for the client, and each folder has its own package.json file. I am trying to deploy the server to Heroku, bu

TF401019: The Git repository with name or identifier public does not exist or you do not have permissions for the operation you are attempting

I have two ADO repositories named private2 and public2. private2 references public2 as a submodule: I also added a yaml file (vsts-cicd.yml) for build as follo

create git alias for `git log --all --decorate --graph --oneline`

I use the command git log --all --decorate --graph --oneline very often and I want to create an git alias for --all --decorate --graph --oneline. I tried with

How to view code in a Github repository as of a specific release?

I would like to see what the code in a whole repository looks like of a specific release. As an example, I'd like to view the code for Apache Airflow as of vers

How to test my update method with Mockito

Here is my test Class: @RunWith(SpringRunner.class) @SpringBootTest public class UpdateRestaurantTest { @MockBean private RestaurantRepository restaura

how to download single folder OR file in gitlab repository

i have one repository. In this repository multiple folders are available. i have required only one folder in this repository. i am already try to following co

How to get access to the files stored on another repository in code

I want to get the access (read) files with text which located on another repository. Is it possible to do at all? We faced the problem of preserving the histor

Create repository button disabled on GitHub

I am using macOS version 11.2.2 BigSur. I don't seem to be able to create a GitHub repository on the web (I am using safari). The button is greyed out or you sa

CMake - how to build Boost after downloading it with FetchContent?

My goal is to download the Boost repository if it isn't found and then build it the default way, i.e. using boostrap and b2 tools. I know, I can download it l

Renovate: exclude or regex repositories?

Goal: renovate repositories, regex include/exclude Using renovate repositories, is it possible to regex to include/exclude? For example, this explicitly two rep

Android - DataSource vs Repository

You hear a lot of people talking about repositories and datasources when talking about design patterns like MVVM or MVI. I've been creating repositories for thi

How to pass model as a Parameter in Repository method at controller?

So my problem is like that, When I am trying to pass the model in repository method on controller I getting error like this Object reference not set to an insta

Spring data repository not found at compile time

I am trying to use Spring data and repositories in a Spring Boot application, but I have an error when compiling the project. Here is my Entity : package fr.i

How to make repository in laravel

I am new to laravel repository. I want to make a repository in laravel. I tried this command php artisan make:repository UserRepository but command shows make:r

Can't Autowire @Repository annotated interface in Spring Boot

I'm developing a spring boot application and I'm running into an issue here. I'm trying to inject a @Repository annotated interface and it doesn't seem to work

What is the difference between GitHub and gist?

What is the purpose of gist and how is it different from regular code sharing/maintaining using GitHub?