- Overview
- Accessing the data files with the HFSQL functions
- HFSQL functions in a Java project
- Accessing HFSQL files
- Configuring the runtime mode of Java applications using HFSQL in MacOSX
- Accessing a MySQL, SQL Server or SQLite database by JDBC
- Accessing the data files with the SQL functions
- Overview
- SQL functions in a Java project
- Accessing HFSQL files
- Accessing a database not in HFSQL format by JDBC
- Using the Java RAD
- Available RAD
- Simple RAD pattern
- RAD Pattern Compatible Version 11
- Compilation errors
Handling a database from a Java application
Not available with this kind of connection
You can start developing your application as soon as the WINDEV project is defined as being a Java project. All types of databases can be handled in WLanguage: - HFSQL database.
- database not in HFSQL format. This database can be handled by a JDBC driver or by a native access.
To handle these databases, you have the ability to use: - The HFSQL functions that allow you to handle the data files directly (HFSQL database, MySQL database accessed by JDBC, SQL Server database accessed by JDBC).
- The SQL functions that allow you to handle the data files directly (HFSQL database or database accessed by JDBC (MySQL, SQL Server, Oracle, DB2, ...)).
- The Java RADthat allows you to quickly develop windows that handle data files.
Accessing the data files with the HFSQL functions A JAVA application developed with WINDEV allows you to handle data files regardless of the platform where the Java application is run (Windows, Linux or Mac). The use of a database from a Java application can be performed by the HFSQL functions. The libraries of the WINDEV Framework being available in these environments, the access to the HFSQL database via the HFSQL functions is immediate. Remark: If "Automatically create the data files if not found when they are opened" is checked (in the description window of the project, "Files" tab), the corresponding data files will be automatically created if necessary. HFSQL functions in a Java project Accessing HFSQL files The method for handling HFSQL files in a Java project is the same as the method for handling HFSQL files in a Windows project. Remark: By default, the data files are installed with the Java archive. However, the data files can be installed in another directory. In this case, you must specify the new path in the application with HChangeDir. Configuring the runtime mode of Java applications using HFSQL in MacOSX The minimum version of MacOSX required for using the HFSQL databases with a Java application is 10.5.8. Accessing the data files with the SQL functions Overview A JAVA application developed with WINDEV allows you to handle data files regardless of the platform where the Java application is run (Windows, Linux or Mac). The use of a database from a Java application can be performed by the SQL functions. The libraries of the WINDEV Framework being available in these environments, the access to the HFSQL database via the SQL functions is immediate. SQL functions in a Java project
|
|
|