Using DB2 Connections
If you're a DB2 expert, feel free to enlighten the users here ...
Fatal Alerts When Powering Off a PDA
Here is sample code taken from the
SuperWaba DB2e Class documentation.
public void onStart() {
try
{
Class.forName("superwaba.ext.xplat.sql.db2e.Driver");
}
catch(ClassNotFoundException cnfe)
{
// Code to handle if driver not found or unable to load...
exit(0);
}
Connection connection = null;
try
{
connection = DriverManager.getConnection("wdbc:db2e:server");
}
catch(SQLException sqlError)
{
// Code to handle connection error...
exit(0);
}
}
After powering off the PDA I got a fatal alert -
MemoryMgr?.c, Line:3649, Nil Ptr
Environment: Sony Clie NX70V,
PalmOS? 5, SW 4.0, 4.01 and 4.02
This was because I had PBSPkcs11.prc installed on my PDA. After I removed it from the PDA, everything worked fine - no fatal alert.
--
VikOlliver - 19 Oct 2003, updated by --
MiroslavLago? - 20 Oct 2003