Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the equivalent of a JPA implementation in .NET?

Tags:

c#

.net

jpa

I think JPA is nice and convenient ( not to mention standardising, as we used to have every individual programmer doing his/her own thing with a jdbc connection).

I would like to use something like jpa with C# to mysql and sqlserver.

like image 388
Blessed Geek Avatar asked May 03 '10 05:05

Blessed Geek


People also ask

What can I use instead of JPA?

JPA alternatives If JPA and Hibernate are not a good fit for your use case, you can use any of the following frameworks: MyBatis, which is a very lightweight SQL query mapper framework. QueryDSL, which allows you to build SQL, JPA, Lucene, and MongoDB queries dynamically.

Which is a JPA implementation?

JPA is a specification and several implementations are available. Popular implementations are Hibernate, EclipseLink and Apache OpenJPA. The reference implementation of JPA is EclipseLink. JPA permits the developer to work directly with objects rather than with SQL statements.

Is Spring data JPA a JPA implementation?

Spring Data JPA is not an implementation or JPA provider, it's just an abstraction used to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.

Is Hibernate a JPA implementation?

Hibernate is an implementation of JPA. Hence, the common standard which is given by JPA is followed by Hibernate. It is a standard API that permits to perform database operations. It is used in mapping Java data types with SQL data types and database tables.


1 Answers

JPA is just a specification for persistence objects and not its implementation. You can see npersistence as equivalent of that on .NET but also you must find an ORM that implemented this specification.

like image 167
Ebrahim Byagowi Avatar answered Sep 19 '22 07:09

Ebrahim Byagowi