[sqlite] Java JDBC type Interface to SQLite

2012-03-21 Thread danap
Currently the MyJSQLView application uses the Xerial SQLiteJDBC interface to interact with a SQLite database. Does anyone know of a more native type of JDBC interface mechanism that Java may use to access a SQLite database? The project would really like to be able to create a local file or memory

Re: [sqlite] Create custom function Sqlite Java to use in clause where

2011-08-30 Thread Igor Tandetnik
Erico Leite wrote: > Can I create a custom function to use in clause where? > > Ex. > select * from tbl where tbl.x myfunction '031'; No. You'll have to settle for myfunction(tbl.x, '031') > this function will go return all register with start '0' or '03' or '031'.

[sqlite] Create custom function Sqlite Java to use in clause where

2011-08-30 Thread Erico Leite
Can I create a custom function to use in clause where? Ex. select * from tbl where tbl.x myfunction '031'; this function will go return all register with start '0' or '03' or '031'. Thanks, sorry my bad english. -- Érico Luis Barrientos Leite Graduado em Ciência da Computação Universidade

Re: [sqlite] Java and accented characters

2011-07-03 Thread Pavel Ivanov
> Any idea? Please, anyone can help me? How did you put your data into database? I guess you did that with command line utility. And as your console wasn't set to have UTF-8 charset then contents of pais now is not in UTF-8. But jdbc driver tries to treat it as UTF-8 and so you don't see what you

[sqlite] Java and accented characters

2011-07-03 Thread Fabiana Nascimento
Hello, I'm having problem with accented characters when getting text data from sqlite3 with Java (sqlite jdbc). When i query in command line, the result came correct with accentuation. For example: *sqlite> select nom_pais from pais ; Itália Rússia * But, when I query from java app, it's work

[sqlite] SQLite, Java and Custom Collation

2011-05-15 Thread Wolfgang Enzinger
Hello, a friend of mine needs to read from an SQLite database that I made. He needs to do it in Java, and what's special about the database is that it contains some indexes which are based on a custom collation (German umlaut). Does anyone know of a recommendable java library (JDBC or else)

[sqlite] SQLite Java Viewer

2011-04-18 Thread Richard Hawkes
Hello there, I hope this isn't going to too wide a dist-list. If it is, let me apologise now. Sorry ;-) I needed to write a read-only viewer for SQLite. It's intention is to allow my "power users" to see the various tables, triggers and views but not be able to do anything with them. I know

Re: [sqlite] java SQLite Wrapper

2010-04-14 Thread Dave Dyer
The java sqlite wrapper is actually a pretty amazing piece of work. As I understand it from reading the docs: The original sqlite.c is compiled for the mips processor and unix operating system. The mips binary is translated into java byte codes, and structured into a java class, which are

Re: [sqlite] SQLite Java Store Files in database

2010-04-04 Thread Erin Drummond
If you want to store files in a database using Java, you're better off not using SQLite None of the Sqlite JDBC drivers support streaming bytes to and from the database. You have to load the entire file into memory and store it in the database using setBytes(), and retrieve it using getBytes()

Re: [sqlite] SQLite Java Store Files in database

2010-04-04 Thread Simon Slavin
On 4 Apr 2010, at 9:47pm, Andreas Henningsson wrote: > So my question is. How do I store files in the database from Java? Is > it possible. I hope so. I don't want to change database. > Is there some other way to do this that work? I don't know if your Java method of using SQLite allows this,

[sqlite] SQLite Java Store Files in database

2010-04-04 Thread Andreas Henningsson
Hi I use SQLite in a project of mine. I want to strore files in the database. I tried to do it something like this. See Code section below. I get an error that say it is not implementet. See Message section below. I use this driver Class.forName("org.sqlite.JDBC"); The Jar files name is

Re: [sqlite] JAVA and sqllite.

2010-03-10 Thread D. Richard Hipp
On Mar 10, 2010, at 4:04 AM, Fredrik Svensson wrote: > Hi! > > I would like to use sqllite in my java project but to my surprise i > see no java support? > > Is there a away to use sqllite in java? There are about a dozen different solutions. Please do a web search for "java sqlite" or

Re: [sqlite] Java and sqlite

2010-01-27 Thread Chris Herssens
See http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC for een Java interface of SQLite Regards On Tue, Jan 26, 2010 at 8:51 PM, Miloud B. wrote: > Hi guys, > > I want to use SQLite in Java applications, what do you advice ? Which > interface do you use ? > I found two: >

[sqlite] Java and sqlite

2010-01-26 Thread Miloud B.
Hi guys, I want to use SQLite in Java applications, what do you advice ? Which interface do you use ? I found two: http://www.ch-werner.de/javasqlite/ : Which I like a lot but seems no longer maintained and http://www.zentus.com/sqlitejdbc/ Which on do you think is better to use ? Have you

Re: [sqlite] Sqlite Java blob

2009-11-26 Thread Ulric Auger
I really think your simply missing a ps.close(); before your connection.commit() Ulric ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Sqlite Java blob

2009-11-26 Thread Peter Kelly
Thanks for taking the time Ulric, I'm using sqlitejdbc-v054 from http://files.zentus.com/sqlitejdbc/, I notice they are up to v056, so I'll give that a go. The stack trace ERROR 53:13 [DB.prepareStatement() 697]: Error in sql: INSERT INTO delay_forms (t2_access_wp_action_required, t2_access_key,

Re: [sqlite] Sqlite Java blob

2009-11-26 Thread Ulric Auger
Having the complete stack trace of the exception would help a lot. Here are some thoughts: 1- You did not explicitly close the preparedstatement before calling commit. 2- You are trying to commit without having started a transaction. I don't think the problem is related to the setBytes() as I

Re: [sqlite] Sqlite Java blob

2009-11-26 Thread Peter Kelly
line that is failing 695 connection.commit(); Thanks for help so far. > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Peter Kelly > Sent: November 24, 2009 12:51 AM > To: sqlite-users@sqlite.org >

Re: [sqlite] Sqlite Java blob

2009-11-24 Thread Ulric Auger
sqlite.org] On Behalf Of Peter Kelly Sent: November 24, 2009 12:51 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Sqlite Java blob Thanks, I've tried that, but to no avail. Maybe a bit of background, our applaiction generates its froms from the database layout, this is so it can be used for

Re: [sqlite] Sqlite Java blob

2009-11-23 Thread Peter Kelly
e wrong. Any ideas greatly appreciated :) Ulric Auger wrote: > Use PreparedStatement setBytes method. > No need to convert to base64. > > Ulric > > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Pet

Re: [sqlite] Sqlite Java blob

2009-11-23 Thread Peter Kelly
e wrong. Any ideas greatly appreciated :) Ulric Auger wrote: > Use PreparedStatement setBytes method. > No need to convert to base64. > > Ulric > > -Original Message- > From: sqlite-users-boun...@sqlite.org > [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Pet

Re: [sqlite] Sqlite Java blob

2009-11-23 Thread Ulric Auger
Use PreparedStatement setBytes method. No need to convert to base64. Ulric -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Peter Kelly Sent: November 23, 2009 10:47 PM To: sqlite-users@sqlite.org Subject: [sqlite] Sqlite Java

[sqlite] Sqlite Java blob

2009-11-23 Thread Peter Kelly
Hi, I've been tearining my hair out trying to figure out how store my image data in sqlite using Java. I think the best way to go is just store the base64 encoded string in the column, but I can for the life of me get a prepared statement for that to work. Can anybody show me how they are storing

[sqlite] Java Code to Generate Foreign Key Constraint Trigger

2009-08-02 Thread Phil Jacobsma
This is a Java method that will create a SQLite foreign key constraint for inserts or updates. You pass in the action (Insert, Update), the table name, the foreign key field name, the foreign table name, and the foreign table key field name. public String

Re: [sqlite] SQLite.Exception: not authorized (to load a shared librarywith SQLite Java Wrapper/JDBC Driver)

2009-02-18 Thread Christian Werner
Bejay Bamboo wrote: > > Hello, > i'm trying to load new SQL functions from a shared library with the > help of the SQLite Java > Wrapper/JDBC Driver (http://www.ch-werner.de/javasqlite). I'm trying > > java -cp :. -Djava.library.path=/tmp/javasqlite-20090213/.libs >

[sqlite] SQLite.Exception: not authorized (to load a shared library with SQLite Java Wrapper/JDBC Driver)

2009-02-18 Thread Bejay Bamboo
Hello, i'm trying to load new SQL functions from a shared library with the help of the SQLite Java Wrapper/JDBC Driver (http://www.ch-werner.de/javasqlite). I'm trying java -cp :. -Djava.library.path=/tmp/javasqlite-20090213/.libs SQLite.Shell db "select load_extension('/tmp/spatialite-2.2-

Re: [sqlite] Java Database Access Code Generator

2009-01-08 Thread Mark Fraser
boun...@sqlite.org >> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Mark Fraser >> Sent: Thursday, January 08, 2009 12:24 AM >> To: sqlite-users@sqlite.org >> Subject: [sqlite] Java Database Access Code Generator >> >> Hello, >> >> I am loo

Re: [sqlite] Java Database Access Code Generator

2009-01-08 Thread Thomas DILIGENT
e.org > Subject: [sqlite] Java Database Access Code Generator > > Hello, > > I am looking for suggestions on a simple tool to generate > java db access code that works with SQLite. > > Ideally what I want is something that will take a database > schema file with create tabl

Re: [sqlite] Java Database Access Code Generator

2009-01-07 Thread jose isaias cabrera
can do it. .-) just a thought... .-) josé - Original Message - From: "Mark Fraser" <m...@mark100.net> To: <sqlite-users@sqlite.org> Sent: Wednesday, January 07, 2009 6:23 PM Subject: [sqlite] Java Database Access Code Generator > Hello, > > I am look

[sqlite] Java Database Access Code Generator

2009-01-07 Thread Mark Fraser
Hello, I am looking for suggestions on a simple tool to generate java db access code that works with SQLite. Ideally what I want is something that will take a database schema file with create table statements as input and will generate the java classes necessary to encapsulate basic

Re: [sqlite] Java wrapper for both windows and linux

2007-03-30 Thread BardzoTajneKonto
> Hello All > iam java starter and love sqlite . when i download java wraper for sqlite > this is good work in windows but it cant work in linux .i have this > exception "not found libraryjsqlite.so" Althought, i download sqlite.so and > rename to it .where is solution export

Re: [sqlite] Java wrapper for both windows and linux

2007-03-30 Thread mohsen ahmadian
Hello All iam java starter and love sqlite . when i download java wraper for sqlite this is good work in windows but it cant work in linux .i have this exception "not found libraryjsqlite.so" Althought, i download sqlite.so and rename to it .where is solution On 3/30/07, [EMAIL PROTECTED]

Re: [sqlite] Java wrapper for both windows and linux

2007-03-29 Thread Randy J. Ray
On 3/29/07, Xavier RAYNAUD <[EMAIL PROTECTED]> wrote: I currently use this one: http://www.zentus.com/sqlitejdbc/ o The nestedVM will work for both windows and linux, but you will loose performance. o The native JNI libraries are faster, but do not work for both windows and linux. I have

Re: [sqlite] Java wrapper for both windows and linux

2007-03-29 Thread Xavier RAYNAUD
Hi Jim, Jim Dodgen a écrit : Hello, first off I am not a java guy. I'm a perl C guy. I am getting involved in a upcoming project that needs a java wrapper that will work for both windows and linux. Any preferences? I currently use this one: http://www.zentus.com/sqlitejdbc/ o The

[sqlite] Java wrapper for both windows and linux

2007-03-28 Thread Jim Dodgen
Hello, first off I am not a java guy. I'm a perl C guy. I am getting involved in a upcoming project that needs a java wrapper that will work for both windows and linux. Any preferences? - To unsubscribe, send email

[sqlite] java applet access to sqlite on an arm architecture?

2006-08-10 Thread Keiichi McGuire
Hello, I was wondering if it is possible for a java applet to access sqlite2.8 databases that is installed on an arm architecture. Currently the arm system has apache, php and sqlite installed. The applet will run on windows/linux machine via a browser, but the applet file will be accessed

RE: [sqlite] Java bindings

2006-01-31 Thread Marian Olteanu
Subject: [sqlite] Java bindings any success. I failed to compile http://www.ch-werner.de/javasqlite and in Windows. I've compiled this for Windows. My build is here: http://www.itwriting.com/sqlite_jni_win.zip (Apologies for missing link in previous message). Note that the author also offers

RE: [sqlite] Java bindings

2006-01-31 Thread Tim Anderson
> -Original Message- > From: Marian Olteanu [mailto:[EMAIL PROTECTED] > Sent: 31 January 2006 05:14 > To: sqlite-users@sqlite.org > Subject: [sqlite] Java bindings > any success. I failed to compile > http://www.ch-werner.de/javasqlite and > in

RE: [sqlite] Java bindings

2006-01-31 Thread Tim Anderson
> -Original Message- > From: Marian Olteanu [mailto:[EMAIL PROTECTED] > Sent: 31 January 2006 05:14 > To: sqlite-users@sqlite.org > Subject: [sqlite] Java bindings > any success. I failed to compile > http://www.ch-werner.de/javasqlite and > in

Re: [sqlite] SQLite Java Wrapper?

2005-05-14 Thread Christian Werner
majed chatti wrote: > > I tried to use the SQLite Java Wrapper wich I > download froh here http://www.ch-werner.de/javasqlite/ > I extract it > I do > > $./configure > $make > > but I have this errors > Please try out the new version from the above

[sqlite] SQLite Java Wrapper?

2005-05-13 Thread majed chatti
I tried to use the SQLite Java Wrapper wich I download froh here http://www.ch-werner.de/javasqlite/ I extract it I do $./configure $make but I have this errors ./libtool gcc -I -o native/mkconst native/mkconst.c \ /usr/local/lib/libsqlite3.la gcc -I -o native/mkconst native/mkconst.c

RE: [sqlite] java class to connect to an sqlite DB

2005-05-13 Thread majed chatti
from the > web site in the path > and away you go. > The Java source should be self explainatory. > > Steve > > -Original Message- > From: majed chatti [mailto:[EMAIL PROTECTED] > Sent: 12 May 2005 18:34 > To: sqlite-users@sqlite.org > Subject: [sqlite] ja

Re: [sqlite] Java Hibernate support?

2005-03-23 Thread Richard Boehme
Yes, I had it backwards :) Thanks. Richard Ionut Filip wrote: I think the question is: "Does Hibernate for Java support SQLite?" Ionut -Original Message- From: Richard Boehme [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 6:23 PM To: sqlite-users@sqlite.org Subjec

RE: [sqlite] Java Hibernate support?

2005-03-23 Thread Ionut Filip
I think the question is: "Does Hibernate for Java support SQLite?" Ionut -Original Message- From: Richard Boehme [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 6:23 PM To: sqlite-users@sqlite.org Subject: [sqlite] Java Hibernate support? Does SQLite support

[sqlite] Java Hibernate support?

2005-03-23 Thread Richard Boehme
Does SQLite support Hibernate for Java? I've been googling on it but haven't come up with anything Richard Boehme

[sqlite] java sqlite problems with test

2005-01-23 Thread j-marvin
hi- i am attempting to learn java. i tried to install the sqlite jdbc and ran into these messages. can someone who knows java better (especially all the make and configuration stuff) offer some advice as to what might be going wrong? C:\sqlite-2.8.15>make test MAKE Version 5.2 Copyright (c)

[sqlite] Java Wrapper for SQLite3

2004-09-13 Thread [EMAIL PROTECTED]
Hello, is there a stable and tested java (1.5) wrapper for sqlite3 out? Very best regards -- ### # # alex-t.de # Softwareentwicklung & Webentwicklung # Alex Tugarev # -- # mobil: (+49 179) 909 379 2 # privat:

Re: [sqlite] Java

2004-08-25 Thread Christian Werner
[EMAIL PROTECTED] wrote: > > Hi, > I'm new to SQLite and maybe was this already said, but is there a way to use > SQLite inside a Java program? > I've found Javasqlite (www.ch-werner.de/javasqlite) which is a JDBC Driver > for SQLite but it seems to work with versions SQLite 2.8.13 and this one

[sqlite] Java

2004-08-25 Thread Mathieu . MOSCHIETTI
Hi, I'm new to SQLite and maybe was this already said, but is there a way to use SQLite inside a Java program? I've found Javasqlite (www.ch-werner.de/javasqlite) which is a JDBC Driver for SQLite but it seems to work with versions SQLite 2.8.13 and this one is not available anymore on the SQLite

[sqlite] Java wrapper

2004-01-05 Thread Tim Anderson
I'd like to hear from users of the Java wrapper at http://www.ch-werner.de/javasqlite/. It is marked as "experimental" but as far as I know is the only Java wrapper available. Has anyone any comments concerning the reliability of this wrapper or any other features or limitations? Or know of any