Is there a Java equivalent for .Net System.Data?

Is there a Java package that provides functionality, such as the .Net System.Data namespace? Are the DataSet and Adapter classes specific?

+4
source share
4 answers

Use java.util for collections. java.sql for databases.

+5
source

the equivalent of ADO.NET is JDBC. You can get it here:

http://www.heimetli.ch/jdbc/JDBCQuery.html

+1
source

ADO.NET is a platform with several applications, and DataSet is one of the main abstractions. Tell us more about what you want to achieve, and I'm sure someone will find a Java environment for this purpose.

If you need an easy way to map Java objects to a data backend (for example, XML files), take a look at some of the POJOs (Plain Old Java Objects).

0
source

Hibernate is a popular structure in the Java world. Pretty simple mapping of objects to tables and much more.

0
source

Source: https://habr.com/ru/post/1277086/


All Articles