sql

SQLException: ORA-01008: non tutte le variabili bound-SQL errore utilizzando java per interrogare database JDBC

Statement stmt = con.createStatement(); String pubBooks = "select title_name " + "from publi ... tutte le variabili legate. Ho provato tutto ciò che posso pensare, ma non sono del tutto sicuro di cosa fare a questo punto.

Il driver Microsoft JDBC non funziona dopo l'aggiornamento da Java 1.7 a Java 1.8

Dopo l'aggiornamento da Java 1.7 a Java 1.8, ricevo l'errore seguente quando ho sqljdbc4.jar (versione 4.0) nel mio percorso di compilazione. Come posso risolvere questo problema?

Come faccio a generare report in Java?

Come faccio a generare report in Java usando IO? Voglio generare file PDF con record di database. Al momento ho qualcosa d ... alcuno potesse aiutarmi qui. Edit: non voglio usare i generatori di report iReports/JasperReports/iText/other. Molte grazie

MySQL NELL'operatore

Http://pastebin.ca/1946913 Quando scrivo " IN (1,2,4,5,6,7,8,9,10) "all'interno della procedura, ottengo il risultato corre ... variabile id in" IN", i risultati non sono corretti. Ho fatto una funzione su mysql ma non funziona ancora, cosa posso fare?

Viste argomento del forum utilizzando jTable in java swing

Ho provato a creare un forum in java swing. Attualmente ho diverse categorie. Gli argomenti sono differenziati per topicId. C ... i un forum in java swing? Voglio dire se non si utilizza il metodo getSelectedRow per ottenere l'topicId. Grazie in anticipo.

con la causa principale java.lang.ClassNotFoundException: com.mysql.ccg.Driver

Ho questo piccolo codice per collegare il mio jsp al mio db mysql. String driver = "com.mysql.jdbc.Driver"; Class.forNa ... pilazione: Ma ho ancora questo errore: Java.lang.ClassNotFoundException: com.mysql.ccg.Conducente Qualcuno può aiutarmi?

connessione al database sql server 2014 dall'applicazione java di base?

Sto seguendo insieme al libro "imparare java per lo sviluppo web" di vishal layka al momento. Ma ho incontrato un problema ch ... to! Solo una rapida modifica. Ho anche provato a spegnere completamente il mio firewall e non riuscivo ancora a connettermi.

Programma Java per una ricevuta di vendita

Lo scopo del programma è quello di stampare per salutare il cliente e quindi fornire loro informazioni su ciò che è in vendit ... 65.69 Payment 70.00 Your Change 4.31 Thank you. Come Again!

Raccomandazione per un database Java in memoria [chiuso]

Alla ricerca di una raccomandazione. Ho un'utilità a riga di comando che ora deve elaborare una grande quantità di dati prov ... na tabella e quindi eseguire il mio query contro quei dati? Redis può essere utilizzato senza installazione? Qualcos'altro?

Java: sistema di elaborazione delle transazioni

Ho le tabelle accounts e action. accounts deve essere modificato in base alle istruzioni memorizzate in action. In action ogn ... ienza con Java e JDBC, ma sfortunatamente non so come iniziare qui. Ho bisogno di un tavolo aggiuntivo? Devo usare i trigger?

Come risolvere java.sql.BatchUpdateException: numero non valido

Quando provo a inserire il record nel database un errore che indica: Impossibile eseguire l'aggiornamento batch JDBC ... weblogic server e net.SF.ibernare i file. Si prega di indicare la possibilità di risolvere questo problema problema.

Come convertire system change number (SCN) fino ad oggi in Java?

In Oracle DB è possibile scoprire quando la tabella è stata aggiornata l'ultima volta utilizzando SELECT SCN_TO_TIMESTAMP(M ... mio SCN_TO_TIMESTAMP funzione in Java. Come posso farlo? Aggiornamento: voglio ottenere la data dal numero SCN (268908318).

Create a PostgreSQL database using an SQL script for a java application

I am making an application on Java with a small local database and I need this database to be created using an sql file. That ... maintainer SUPERUSER CREATEROLE CREATEDB; Tell me, will it work and create a database and if so, how do I run this script?

Java-SQL procedure

Hi everyone. You need to get the ResultSet from such a procedure: exec ais_disp.p_lk.p_add_client (v_sis_id => 1640, ... ommit; How to cram this into java code? I tried using CallableStatement, but I can't insert select from the procedure there.

Java or C++ for a database

I was given a course work on the subject of databases, and I have a question: with the help of which language to implement th ... estion: what is more relevant today and which language is more suitable for the purpose of writing a database of Java or C++?

Java. Count in JDBC PostgreSQL

Tell me how to get the number of rows in the database via ResultSet and the count query?

How to implement such a query in Java c sql (SELECT count(*) FROM Man GROUP BY countOfChildren, age)

mans.stream() .collect((Collectors.groupingBy(Man::getAmountOfChild, Collectors.groupingBy(Man::getOld)))) //как подсчитать .entrySet() .forEach(map-> System.out.println(map.getKey() + " " + map.getValue()));

Java, JDBC, GROUP BY ROLLUP

In 1C, when traversing the query result, you can traverse the query hierarchically. Each final result contains, in addition t ... ect that the situation is similar in bare SQL. Tell me how to correctly bypass the query result in the code using groupings.

Error: java. sql. SQLException: ORA-06550: PLS-00103: Met character " / "Character" / " omitted

Hello I have an error: Java. sql. SQLException: ORA-06550: Row 1, column 63: PLS-00103: Met character " / "Character" / " ... r(listener); The fact is that the character omitted by java during compilation cannot be removed from the package(request).

pg-promise FATAL ERROR: CALL AND RETRY LAST Allocation failed - JavaScript heap out of memory

There is such a code: var pgp = require('pg-promise')(/*options*/); var cn = { host: 'localhost', // server name or IP ... ice.. So far, I have considered another option with node-postgres - I also did not find the work there very good convenient..