Обсуждение: CLDC implementation of the pgsql driver.

Поиск
Список
Период
Сортировка

CLDC implementation of the pgsql driver.

От
Richard Meester
Дата:
Hi All,

We would like to hookup our embedded devices to a database connected to
the network. In order for this to succeed we need to change the driver
in some places to allow for the use of the CLDC instead of J2ME java.
Looking at the source it doesn't seem to much to do, but i am concerned
about the commercial usage. When we change the implementation to a cldc
implementation, are we allowed to use this driver for commercial usage?
and if so are we allowed to distribute the binary classes as part of our
product free of charge?

Thanks in advance,

Richard Meester


Re: CLDC implementation of the pgsql driver.

От
"James Abbott (Hotmail)"
Дата:
Hi guys,
 
I'm desperate for a CLDC compatible JDBC for postgresql.
 
Unfortunately, a single processor license of Mimer SQL costs USD$3995!
 
I can't afford that, and besides, I already have a perfectly functioning postgresql DBMS and I like using pgadminII!
Have you guys done progressed with this? Can I get a copy of the sources or help you with the task?
 
Cheers,
James.

Re: CLDC implementation of the pgsql driver.

От
Dave Cramer
Дата:
James,

what is a CLDC compatible driver ?

DAve
On Tue, 2004-05-04 at 09:54, James Abbott (Hotmail) wrote:
> Hi guys,
>
> I'm desperate for a CLDC compatible JDBC for postgresql.
>
> The only CLDC JDBC I can find is the Mimer midjdbc2:
>
http://www.google.co.nz/search?q=cache:JX_F-IniRA0J:developers.mimer.com/features/feature_24.htm+mimer+sql+midp+jdbc+driver&hl=en
> Unfortunately, a single processor license of Mimer SQL costs USD$3995!
>
> I can't afford that, and besides, I already have a perfectly
> functioning postgresql DBMS and I like using pgadminII!
> Have you guys done progressed with this? Can I get a copy of the
> sources or help you with the task?
>
> Cheers,
> James.
> !DSPAM:40990ff6175321278953510!
--
Dave Cramer
519 939 0336
ICQ # 14675561


Re: CLDC implementation of the pgsql driver.

От
Kris Jurka
Дата:

On Wed, 5 May 2004, James Abbott (Hotmail) wrote:

> Hi guys,
>
> I'm desperate for a CLDC compatible JDBC for postgresql.
>
> The only CLDC JDBC I can find is the Mimer midjdbc2:
http://www.google.co.nz/search?q=cache:JX_F-IniRA0J:developers.mimer.com/features/feature_24.htm+mimer+sql+midp+jdbc+driver&hl=en
> Unfortunately, a single processor license of Mimer SQL costs USD$3995!

CLDC does not in fact define a JDBC API.  If you take a closer look at the
Mimer javadoc you can see that it does not do things like implement
java.sql.ResultSet or any other kind of standard API.  What they have done
is just named some objects the same as standard JDBC ones so that you can
write programs by importing their package instead of java.sql.* and
pretending it is JDBC.

JSR 169 appears to try to standardize JDBC access for CDC, but CDC
appears to be a level above CLDC.  I don't know anything about the J2ME
technology stack and how these are all related or how one would
compile for a CLDC target, but I can say I don't know of any existing
projects to support such a platform.

Kris Jurka