-
Hi, I couldn't find any example of how to use sSQL scripting for OpenBaseMovil from a Midlet. Can you guys please provide some code snippets?
Like for example:
- how to truncate a table
- how to get results from a select statement.
- etc.
thanks a lot.
2009-09-24 23:07:17 UTC by java-ca1
-
hi, I couldn't find any documnetation explaining how can I use the SQL scripting described in the OpenBaseMovil-DB manual from a midlet.
For example if I like to write a select on a given table(s) or do a TRUNCATE operation on a given table.
can U guys please provide some code snippets.
thanks a lot in advance.
2009-09-24 23:00:01 UTC by nobody
-
Hi,
when I excute this code:
Database db = Database.create( "mydb" );
after that I delete that code and excute below code:
Database db = Database.connect( "mydb" );
db.start();
but there is this problem:
bm.db.DBException: bm.storage.InvalidRecordIDException...
what can I do?
please help me?
thanks...
2009-08-24 07:18:32 UTC by nobody
-
Hi,
I just trying to get started by setting up the eclipse env. with eclipseme plugi + Sun WTK 2.5
Trying to compile the same app passwordKeeper from the source on the website.
Is there any documentation on setting up this env. you could share.
I seem to be running it several different issues trying to compile this.
Thanks.
2009-04-22 19:37:49 UTC by nobody
-
Uncaught exception java/lang/Error: Static initializer: java/lang/NullPointerException
I imported the passwordkeeper src into eclipse with eclipseme, after taking care of the package names and making sure I have included the deps.
The build goes through fine. When trying to run it in the WKT 2.5.2 emulator. I get the above NullPointerException.
Window XP.
Eclipse e/EclipseME.
2009-04-17 17:08:42 UTC by nobody
-
narciso_cerezo committed revision 14 to the OpenBaseMovil SVN repository, changing 41 files.
2008-12-11 19:14:59 UTC by narciso_cerezo
-
narciso_cerezo committed revision 13 to the OpenBaseMovil SVN repository, changing 46 files.
2008-12-11 19:01:56 UTC by narciso_cerezo
-
In the current implementation of the storage library, that could be easily done by adding a static method to the Store class.
public static synchronized void setUseCompression( final boolean useCompression )
{
Store.useCompression = useCompression ? CoreConstants.TRUE : CoreConstants.FALSE;
}
That will enable or disable compression globally.
We take your suggestion for the next...
2008-05-23 08:34:10 UTC by narciso_cerezo
-
Hi Stefan,
Thanks for spotting. As you say all names are converted internally to lower case, so they are case insensitive. We'll fix that.
2008-05-23 08:26:45 UTC by narciso_cerezo
-
Hi Stefan,
In the docs it is specified that the maximum current name length for any database or table is 26 (to be able to add the 6 characters and fit the 32 char limit of the RMS).
The next storage engine version will have what you say, an internal mapping where the names will be stored and mapped to the real (autogenerated) RecordStore names, so in fact the name length limit will be none or...
2008-05-23 08:25:15 UTC by narciso_cerezo