The code examples in this repository are powered by the dotNet4Java .Net Framework class library for Java which is the Java equivalent of the .Net Framework Class Library (which provides the system functionality in the .NET Framework as it has various classes, data types, interfaces, etc. to perform multiple functions and build different types of applications such as desktop applications, web applications, mobile applications, etc.). The code listings on this repository demonstrate how to retrieve data from a database by using ADO.NET from Java:
ADO.NET data providers:
- SqlClient (system.data.sqlClient package)
- OleDb (system.data.oleDb package)
- Odbc (system.data.odbc package)
- OracleClient (system.data.oracleClient package)
ADO.NET Entity Framework:
- EntityClient (system.data.entityclient package)
The Apache License 2.0 applies to all saples in this repository.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To run the tutorial project:
- Clone the repository to your local machine.
- Download latest release of dotNet4Java Setup and Install: http://www.crystalnet-tech.com/Products/dotNet4Java/download
- Open the project using InterlliJ IDEA or other JAVA IDE of your choice.
- Add the dotNet4Java JAR files from the installation to the tutorial project.