Skip to content

libjdk/java.sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libjdk - Java SQL Library

License Platforms

libjdk is a comprehensive C++ implementation of the Java Development Kit (JDK), providing native C++ libraries that mirror the functionality of Java's core libraries and modules. While it provides Java-like APIs, it runs as native C++ code without requiring a Java Virtual Machine.

Overview

This project provides a complete C++ implementation of Java's SQL functionality, including:

  • JDBC API: Complete Java Database Connectivity implementation
  • Connection Management: Database connection pooling and management
  • Statement Types: PreparedStatement, CallableStatement, and Statement
  • ResultSet Processing: Cursor-based result set handling
  • Transaction Support: ACID transaction management
  • Metadata Support: Database and result set metadata
  • SQL Types: Complete SQL type mapping
  • Performance: High-performance database operations with connection pooling

Features

  • Cross-platform Support: Windows, Linux, and macOS
  • CMake Build System: Modern, portable build configuration
  • Comprehensive Testing: Extensive test suite included
  • OpenJDK Compatible: Based on OpenJDK 17.35
  • GPL Licensed: Free software with Classpath exception

Dependencies

  • java.base: Core Java functionality (required)
  • java.logging: Logging framework (required)
  • java.transaction.xa: XA transaction support (required)
  • java.xml: XML processing (required)

Project Structure

java.sql/
├── main/                   # Main source code
│   ├── share/              # Platform-independent code
│   │   ├── classes/         # Java class implementations
│   │   ├── include/         # Header files
│   │   └── native/          # Native implementations
│   ├── windows/             # Windows-specific code
│   ├── linux/               # Linux-specific code
│   └── macos/               # macOS-specific code
├── test/                    # Test suite
├── legal/                   # Legal notices and licenses
└── CMakeLists.txt           # Build configuration

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass
  6. Submit a pull request

License

This project is licensed under the GNU General Public License v2 with the Classpath exception, allowing linking with proprietary software. See the LICENSE file for details.

Legal Notices

This project includes code from various open source projects. See the legal/ directory for detailed licensing information for each component.

About

java.sql module, libjdk is a C++ version JDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published