Awake SQL 1.2 Android Edition released: JDBC Access to Your Remote SQL Data on Android
Tired of writing/deploying/debugging Web Services for your Android applications? Access SQL data directly from Android without writing code on the server side!
Awake SQL 1.2 Android Edition is a virtual JDBC Driver for Android: you can now access your usual remote databases using JDBC from your Android applications. Just include your existing & non-modified JDBC calls in your Android application to read or write SQL data:
String sql = "SELECT CUSTOMER_ID, FNAME, LNAME FROM CUSTOMER " +
"WHERE CUSTOMER_ID = ?";
PreparedStatement prepStatement = connection.prepareStatement(sql);
prepStatement.setInt(1, 1);
ResultSet rs = prepStatement.executeQuery();
while (rs.next()) {
String customerId = rs.getString("customer_id");
String fname = rs.getString("fname");
String lname = rs.getString("lname");
// Etc.
The software library comes with a complete set of features: main data types are implemented, including blobs/clobs, and transactions are supported.
Major databases are supported:
- DB2.
- H2.
- HSQLDB (HyperSQL Database).
- Informix.
- Ingres.
- MySQL / MariaDB.
- Oracle Database.
- PostgreSQL.
- SQL Server.
- Sybase ASE.
- Sybase SQL Anywhere.
- Teradata Database.
Security was a major element as we designed this solution. The remote databases are not accessed directly: all calls are filtered on the server side by authentication mechanisms and security rules.
Awake SQL Android Edition is licensed through the GNU Lesser General Public License (LGPL v2.1):
For more information, please visit http://www.awake-sql.org.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)




