|
|
|
|
- Overview
- Accessing data files with 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
- Compilation errors
Manipulating a database from a Java application
Not available with this kind of connection
You can start developing your application once the WINDEV project has been defined as a Java project. All types of databases can be manipulated in WLanguage: - HFSQL database.
- non-HFSQL database. This database can be handled by a JDBC driver or by a native access.
To manipulate these databases, you can use: - HFSQL functions which can be used to manipulate data files directly (HFSQL databases, MySQL or SQL Server databases accessed via JDBC).
- SQL functions which can be used to manipulate data files directly (HFSQL databases or MySQL, SQL Server, Oracle, DB2, and other databases accessed via JDBC)..
- The Java RAD toolwhich allows you to quickly develop windows that manipulate data files.
Accessing data files with 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 the "Automatically create the data files when they are opened" option is checked (in the "Files" tab of the project description window), 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|