Given an Oracle Database and a MySQL DB, and the impossibility of integrating both databases:
Would it be possible, for example, to class my application 'look' at the mysql table and update an oracle table?
try {
Connection lig = DriverManager.getConnection("jdbc:mysql://localhost/gym", "root", "0000");
PreparedStatement inst = lig.prepareStatement("SELECT * FROM produtos_has_historico WHERE Produtos_idProdutos AND Historico_idHistorico");...
Bank connection error. Can anyone help me?
package conexaoprojeto;
import java.sql.*;
import javax.swing.JOptionPane;
public class ConexaoProjeto {
private final String Driver = "com.mysql.jdbc.Driver";
private final String Url = "j...
The java.lang.ref package provides classes that model reference types in Java, such as Reference, SoftReferece, WeakReference, and PhantomReference.
Still do not know these references in Java? See this question:
Canonicalized Mapping an...
I'm making software in JSF (2.2), primefaces and JPA with Postgres bank. I need to make a schedule of accounts payable with the following columns and their data:
Column before yesterday with data: due date, vendor and value.
Column yesterday wit...
I have datatable displayed within Dialog primefaces , when I click on commandLink of the line I want, I want to get this value and render it within inputText of my screen, but I'm getting the% following error in my...
I made software to monitor servers
I have Jframe with several buttons where these are one color (green if server is online and red otherwise). I run this test using ping .
When I click the button to open this frame, all buttons are...
I'm developing a web app in java using the Spring MVC framework. However, a part of the project has broken out!
First I'll show the print on the screen to make it easier to understand.
Image: WhatIwanttodois:whentheuserselectsthecompany,th...
I'm having trouble writing information to the database.
This information I extract from an Excel file.
For example, I have 3 fields and I do not know how to get the 1st cell and save it to the bank, then get the 2nd and save and finally ge...