import flash.data.*; import flash.filesystem.File; private var dbConn:SQLConnection = new SQLConnection(); private var dbStatement:SQLStatement = new SQLStatement(); private function init(): void { // create a seed string of your choice var mySeed:String = “AIR15IsAGreatProduct”; // prepare a bytearray variable to hold the encryption key var myKey:ByteArray = new ByteArray(); // create the myKey ByteArray var [...]
Here is a very simplistic Flex Builder 3 and AIR example that adds and removes records from a table in a local SQLite database. This is not a fully completed AIR project but this code can probably be reused by anyone wanting to get started with AIR+SQLite. There are a couple of other AIR+SQLite [...]
ตอนแรกก็กะว่าจะลองเองว่า derby กับ sqlite ความเร็วมันต่างกันแค่ไหน อะไรเหมาะสมกว่ากันถ้าจะเขียน java แล้วอยากได้ database เล็กๆ ก็เลยมอง derby และ sqlite เอาไว้ ก็เลยลองไปหาข้อมูล แล้วก็เจอเจ้านี่เข้า
Personally, I think there’s no comparison between Derby and SQLite. Derby’s an actual database with “all” the bells and whistles, but still a really compact size. SQLite is an extremely fast database-like system with a much [...]