Top "Dao" questions

A Data Access Object (DAO), is a design pattern in object-oriented software design, creating an object that provides an abstract interface to some type of database or other persistence mechanism.

DAO and Service layers (JPA/Hibernate + Spring)

I'm designing a new app based on JPA/Hibernate, Spring and Wicket. The distinction between the DAO and Service layers …

java spring architecture jpa dao
What is DAO and Service layer exactly in Spring framework?

What is DAO and Service layer exactly in Spring framework? I am looking for theoretical answer.

java spring service dao
Optional long parameter is present but cannot be translated into a null value

Hi i'm developing on web so i have an ajax function which calling to a controller function which calling to …

java jakarta-ee exception controller dao
Simple CRUD Generator for C#

I am looking for a simple CRUD (or DAL) Generator for C#. I don't want anything heavyweight since I only …

c# database code-generation crud dao
Hibernate or JPA or JDBC or?

I am developing a Java Desktop Application but have some confusions in choosing a technology for my persistence layer. Till …

java hibernate jpa jdbc dao
How to create multiple database connections for different databases in java

I have an application which uses four databases in different geographical locations. All the databases contains same tables and only …

java design-patterns jdbc dao multiple-databases
JPA - FindByExample

Does anyone have a good example for how to do a findByExample in JPA that will work within a generic …

java jpa criteria dao
Room "Not sure how to convert a Cursor to this method's return type": which method?

Error:Not sure how to convert a Cursor to this method's return type Error:Execution failed for task ':app:…

android dao android-room kapt android-architecture-components
How To Create Generic Data Access Object (DAO) CRUD Methods with LINQ to SQL

I am new to LINQ to SQL and attempting to create a generic Data Access Object (DAO) for the basic …

c# linq linq-to-sql crud dao
Handling Dao exceptions in service layer

If my Dao layer throws Dao specific exceptions, then does handling them in my service layer consitute a leakage of …

java service exception-handling dao