db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cw <second_co...@yahoo.com>
Subject Re: 2me + derby insert/select exaple +pojo
Date Mon, 07 Apr 2008 14:10:46 GMT
Is the example for CDC ? i'm writing midlet (CLDC).. i cant import java.*

----- Original Message ----
From: John Embretsen <John.Embretsen@Sun.COM>
To: Derby Discussion <derby-user@db.apache.org>
Sent: Monday, April 7, 2008 2:28:22 PM
Subject: Re: 2me + derby insert/select exaple +pojo

cw wrote:
> is there any example on this? i already googled, but cant find any info 
> on this. I looking for example that using pojo to insert/select into 
> java db in j2me

Not exactly sure what you are looking for, but have you looked at the 
"simplemobile" demo included in the release and the 10.4.1 release 
candidate? (see ${DERBY_HOME}/demo/programs/ of the -bin distribution)

Its current source is viewable here as well:


Using Java ME is not that different from using Java SE. The main difference is 
that you have to use EmbeddedSimpleDataSource instead of DriverManager/DataSource.

More information about Derby's ME support is available here:



You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No
View raw message