Is the example for CDC ? i'm writing midlet (CLDC).. i cant import java.*

----- Original Message ----
From: John Embretsen <[EMAIL PROTECTED]>
To: Derby Discussion <[email protected]>
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 10.3.2.1 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:

http://svn.apache.org/viewvc/db/derby/code/trunk/java/demo/simplemobile/SimpleMobileApp.java?view=markup

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:

http://wiki.apache.org/db-derby/JavaMESupport


-- 
John








      
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

Reply via email to