Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.java > #8639

Re: hsql

From Gulp® <gulp@hotmail.it>
Newsgroups it.comp.java
Subject Re: hsql
Date 2015-10-17 12:26 +0200
Organization Aioe.org NNTP Server
Message-ID <mvt7v9$66t$1@speranza.aioe.org> (permalink)
References <mvravk$tfs$1@speranza.aioe.org> <mvskpp$va5$1@speranza.aioe.org>

Show all headers | View raw


Il 17/10/15 07:02, Dr.UgoGagliardelli ha scritto:
  Ci sono esempi famosi, come ad esempio
> il carattere £ (lira sterlina) che traslando dalla code-page italiana
> alla code-page inglese diventa # (cancelletto).

Allora seguendo il consiglio di alcuni del ng ho abbandonato Access, da 
molti considerato una db antidiluviano, per passsare ad altro db.Ho 
scelto hsqldb che, ho letto, può avere una portabilità da un pc 
all'altro,senza problemi.
Le tabelle con cui sto lavorando arrivano da Access---> Conversione in 
odb (a mezzo Openoffice)
e quindi trasformazione 
(http://programmaremobile.blogspot.it/2009/01/java-and-openoffice-base-db-through.html) 
in -->hsqldb

Funzionano tutte, clienti, anamnesi, listino ecc. e con query diverse, 
ad es. questa:

"Select COGNOME,NOME,INDIRIZZO,LUOGO,TELEFONO,CELLULARE,DATANASCITA,CF 
from \"clienti\" Where " + nomecampo + "='" + Uty.Aposdouble(dacercare) 
+ "' order by COGNOME,NOME,LUOGO"

La tabella fornitori è composta da vari campi tutti Testo VARCHAR, che 
nel nome hanno solo quello che vedete qui sotto:

DITTA,TIP,CONTATTO,INDIRIZZO,PARTITAIVA,TELEFONO

Dove DITTA è chiave primaria.

A quelli che mi hanno scritto di eliminare gli apici in \"clienti\"
penso risponda questa query funzionante:
String sql="Select * from \"fornitori\"";
che comunque non funziona più se aggiungo Where TIP='L'"

Comunque non è che non provo a seguire i suggerimenti, ma non sono 
riuscito a far digerire il nome della tabella senza le backslash e gli 
apici.
Questo è il collegamento:conn = 
DriverManager.getConnection("jdbc:hsqldb:file:" + Path + 
"/dbase/opto","sa","");

Non capisco proprio dove sta il problema.

-- 
Gulp®
(forse mi sono perso qualcosa :))

Back to it.comp.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

hsql Gulp® <gulp@hotmail.it> - 2015-10-16 19:06 +0200
  Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-16 12:20 -0700
    Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 01:14 +0200
      Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-16 16:24 -0700
        Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-16 16:26 -0700
        Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-17 06:51 +0200
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:08 -0700
            Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:15 +0200
  Re: hsql Delta11 <delta11NSP@email.it> - 2015-10-16 22:52 +0200
    Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 01:11 +0200
    Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-16 16:25 -0700
      Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-17 06:54 +0200
      Re: hsql Delta11 <delta11NSP@email.it> - 2015-10-17 10:31 +0200
        Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-17 12:23 +0200
        Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:11 -0700
  Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-17 07:02 +0200
    Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 12:26 +0200
      Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:14 -0700
        Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-18 14:12 +0200
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 10:52 -0700
        Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-18 14:15 +0200
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 10:53 -0700
            Re: hsql Jack <jack4747@gmail.com> - 2015-10-23 01:47 -0700
              Re: hsql "Vittorio" <scipionelafricano@tim.it> - 2015-11-02 20:36 +0100
                Re: hsql Enrico Bianchi <enrico.bianchi@ymail.com> - 2015-11-03 00:01 +0000
                Re: hsql rootkit <rootkit@email.it> - 2015-11-02 22:41 -0800
          Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:28 +0200
  Re: hsql rootkit <rootkit@email.it> - 2015-10-17 04:59 -0700
    Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 14:46 +0200
      Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-17 15:05 +0200
        Re: hsql rootkit <rootkit@email.it> - 2015-10-17 06:32 -0700
        Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 16:26 +0200
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:17 -0700
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:18 -0700
            Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-18 14:02 +0200
              Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-18 17:19 +0000
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 10:56 -0700
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:45 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-20 09:02 +0000
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-20 08:10 -0700
              Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 10:55 -0700
            Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:37 +0200
          Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:36 +0200
            Re: hsql Roberto Tempesti <roberto.tempesti@nospam.it> - 2015-10-20 11:18 +0200
              Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 11:49 +0200
                Re: hsql Roberto Tempesti <roberto.tempesti@nospam.it> - 2015-10-20 12:06 +0200
            Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-20 23:14 +0200
      Re: hsql rootkit <rootkit@email.it> - 2015-10-17 07:04 -0700
        Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 16:19 +0200
          Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-17 08:19 -0700
            Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:51 +0200
              Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-20 08:14 -0700
          Re: hsql Enrico Bianchi <enrico.bianchi@ymail.com> - 2015-10-18 09:29 +0000
          Re: hsql rootkit <rootkit@email.it> - 2015-10-18 05:20 -0700
            Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-18 17:40 +0200
              Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-18 17:27 +0000
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 09:58 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-20 09:05 +0000
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-20 08:17 -0700
                Re: hsql rootkit <rootkit@email.it> - 2015-10-20 14:34 -0700
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-21 07:23 +0000
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-21 09:40 +0200
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-21 02:02 -0700
                Re: hsql rootkit <rootkit@email.it> - 2015-10-21 22:40 -0700
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-21 01:59 -0700
                Re: hsql rootkit <rootkit@email.it> - 2015-10-21 13:12 -0700
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-22 07:48 +0000
                Re: hsql rootkit <rootkit@email.it> - 2015-10-22 08:57 -0700
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-22 16:39 +0000
                Re: hsql rootkit <rootkit@email.it> - 2015-10-22 22:38 -0700
              Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 11:03 -0700
              Re: hsql rootkit <rootkit@email.it> - 2015-10-18 11:59 -0700
                Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-19 00:17 +0200
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-18 15:51 -0700
                Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-19 01:13 +0200
                Re: hsql rootkit <rootkit@email.it> - 2015-10-18 23:19 -0700
                Re: hsql Gulp® <debvales@hotmail.com> - 2015-10-19 10:37 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-19 09:16 +0000
                Re: hsql "Gulp®" <Adebval@email.it> - 2015-10-19 11:28 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-19 10:50 +0000
                Re: hsql "Gulp®" <Adebval@email.it> - 2015-10-19 13:08 +0200
                Re: hsql 4ndre4 <a.laforgia@gmail.com> - 2015-10-19 04:22 -0700
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-19 09:12 +0000
                Re: hsql "Gulp®" <Adebval@email.it> - 2015-10-19 11:32 +0200
                Re: hsql rootkit <rootkit@email.it> - 2015-10-19 06:20 -0700
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 10:16 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-20 09:06 +0000
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-19 09:07 +0000
              Re: hsql Sylar Surfer <Sylar.Surfer@gmail.com> - 2015-10-21 22:50 +0200
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-10-22 07:56 +0000
                Re: hsql "Gulp®" <Adebval@email.it> - 2015-11-02 12:22 +0100
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-11-02 14:45 +0000
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-11-03 12:38 +0100
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-11-03 16:06 +0000
                Re: hsql Roberto Tempesti <roberto.tempesti@nospam.it> - 2015-11-03 18:03 +0100
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-11-03 17:23 +0000
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-11-04 11:53 +0100
                Re: hsql rootkit <rootkit@email.it> - 2015-11-04 03:54 -0800
                Re: hsql "ciccio" <21669invalid@mynewsgate.net> - 2015-11-05 08:21 +0000
                Re: hsql rootkit <rootkit@email.it> - 2015-11-07 09:40 -0800
                Re: hsql rootkit <rootkit@email.it> - 2015-11-03 21:46 -0800
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-11-04 11:55 +0100
                Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-11-02 15:48 +0100
                Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-25 23:18 +0100
        Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-17 16:22 +0200
          Re: hsql rootkit <rootkit@email.it> - 2015-10-17 08:52 -0700
            Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 10:18 +0200
          Re: hsql "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-20 10:19 +0200
            Re: hsql Gulp® <gulp@hotmail.it> - 2015-10-20 23:08 +0200

csiph-web