Java database component
Hi!
Is there any GUI component in Java such as the TDBGrid in the Delphi?
I mean, is there any way to manipulate data in a database through a graphic component what is NOT a JTable?
Thanks!
Not in Swing directly. Several third parties have components like this. For example, JBuilder has JDBTable. A quick google should be able to find others, some even free (sourceforge.com).
Personally, I won't use these. I have some available, but just like the GUI builder integrated into the IDE, it creates unmaintainable code. You are stuck with their interface and their methodology. Nobody will be able to modify it wilhout that IDE or incredible amoumts of time.
It takes a little while to learn all the concepts you need to code it manually, but once you do, I think it's just as fast as using their components and infinitely more flexible.
Similar Messages
-
PAS/AAS JAVA instances on UNIX/Linux - database component
Hi SCN,
Firstly consider this is all UNIX/Linux based...
In the past when creating AS (or AAS now) SAP dialog instances for ABAP systems I rarely ran a SAPINST process. It was simpler to copy existing profiles and NFS mount the kernel. There is no database component relating to the instances so you could easily add/remove them
However in Java it seems there is instance data inside the database Java schema, meaning that you have to install/re-install AS/AAS instances using SAPINST/SWPM to ensure these are properly created; otherwise the instance will not connect.
Does anyone have any details on what constitutes this database component? I would like to look at it with my own eyes and see what makes it up.
Regards all, Jamie
AKA doonan_79Hi Jamie,
In case of JAVA, there we have BOX number. If you have a logical host on top of your physical host, then you can go with over scheme. Otherwise, because of BOX number, you have to go with export/import option.
Refer this thread: Understanding the Java Instance ID issue
Divyanshu -
Test connection in Database component is failed
In JDeveloper 2.0 when I try test connection in Database
component I get message:
borland.jbcl.dataset.DataSetException: End of TNS data channel
at
borland.jbcl.dataset.DataSetException.throwException(Compiled
Code)
at
borland.jbcl.dataset.DataSetException.throwException(Compiled
Code)
at
borland.jbcl.dataset.DataSetException.SQLException(Compiled Code)
at borland.sql.dataset.Database.openConnection(Compiled
Code)
java.sql.SQLException: End of TNS data channel
at
oracle.jdbc.dbaccess.DBError.check_error(DBError.java:363)
at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
125)
at
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:155)
at
java.sql.DriverManager.getConnection(DriverManager.java:91)
at
java.sql.DriverManager.getConnection(DriverManager.java:134)
at borland.sql.dataset.Database.openConnection(Compiled
Code)
I try use JDBC Thin 8.0.5 and 8.1.4
My Applet work is fine. In JDeveloper 1.0 (AppBuider) I not get
this message.
It's bug?
nullHi Eugeny,
If you are using the JDBC 8.0.5 driver to connect to an 8.1.4
database, you need to make sure of the following:
* within the JDeveloper IDE, open Project->Project Properties
from the menu
* in the libraries list, make sure that Oracle 8.0.5 JDBC appears
in the list of libraries before BOTH Oracle 8.1.4 JDBC AND
'Enterprise Java Beans'
If the Oracle 8.0.5 JDBC library appears after either of the
above two libraries, select it in the list, and drag it up so
that it appears first. Save your project and retry the compile.
I think this may be what is causing the errors. Please reply if
this does not fix your problem, or if I misunderstood.
- Laura
Eugeny Orlov (guest) wrote:
: In JDeveloper 2.0 when I try test connection in Database
: component I get message:
: borland.jbcl.dataset.DataSetException: End of TNS data channel
: at
: borland.jbcl.dataset.DataSetException.throwException(Compiled
: Code)
: at
: borland.jbcl.dataset.DataSetException.throwException(Compiled
: Code)
: at
: borland.jbcl.dataset.DataSetException.SQLException(Compiled
Code)
: at borland.sql.dataset.Database.openConnection(Compiled
: Code)
: java.sql.SQLException: End of TNS data channel
: at
: oracle.jdbc.dbaccess.DBError.check_error(DBError.java:363)
: at
oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
: 125)
: at
: oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:155)
: at
: java.sql.DriverManager.getConnection(DriverManager.java:91)
: at
: java.sql.DriverManager.getConnection(DriverManager.java:134)
: at borland.sql.dataset.Database.openConnection(Compiled
: Code)
: I try use JDBC Thin 8.0.5 and 8.1.4
: My Applet work is fine. In JDeveloper 1.0 (AppBuider) I not get
: this message.
: It's bug?
null -
Making a java browser component for Mac platform(Urgent)
I was trying to make a simple java browser component from scratch for running on Mac platform. I was using JFrame/JEditorPane. Although JEditorPane can open web pages but it can't support Javascript, flash and other interactive features of many websites. Does anyone know any way to make JEditorPane support javascript?
I also researched on JDIC java web browser, but unfortunately they don't support for Mac yet. Is there any free third party tool available which I can use?
Any quick help is appreciated. Thanks.I was trying to make a simple java browser component from scratch for running on Mac platform. I was using JFrame/JEditorPane. Although JEditorPane can open web pages but it can't support Javascript, flash and other interactive features of many websites. Does anyone know any way to make JEditorPane support javascript?
I also researched on JDIC java web browser, but unfortunately they don't support for Mac yet. Is there any free third party tool available which I can use?
Any quick help is appreciated. Thanks. -
Add & use custom jars in "Java embedding" component
I need to generate pdf file in process.
So I included "Java embedding" component, and write my code. For clarity example:
com.itextpdf.text.Document document = new com.itextpdf.text.Document(
com.itextpdf.text.PageSize.A4, 50, 50, 50, 50);
try {
com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter
.getInstance(document, new java.io.FileOutputStream("c:\\text.pdf"));
document.open();
document.add(new com.itextpdf.text.Paragraph("This is test message"));
catch (com.itextpdf.text.DocumentException de) { System.err.println(de.getMessage()); }
catch (Exception de) { System.err.println(de.getMessage());}
document.close();Im using external jar file, of course I add it to classpath (right click soa project -> properties -> libraries and classpath ->add jar).
But I get folowing error (no during compilation, but during deploying):
Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "SimpleProcess" of composite "default/SOAProject!1.0*soa_9f8e80a4-346d-424e-9e12-1b69e2024e58"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
[04:35:23 PM] Check server log for more details.
[04:35:23 PM] Error deploying archive sca_SOAProject_rev1.0.jar to soa_server1 [[fe80:0:0:0:5968:cb45:2001:f6ce]:8001]
[04:35:23 PM] #### Deployment incomplete. ####
[04:35:23 PM] Error deploying archive file:/C:/Projects/SOAProject/deploy/sca_SOAProject_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)where ist the problem???
Edited by: user1175491 on Nov 2, 2010 4:39 PMAjaykumar, can u please write me what exactly append to bpel:exec part (which classes include?)? it looks now:
<bpelx:exec name="GeneratePDF" version="1.5" language="java">
<![CDATA[
com.itextpdf.text.Document document = new com.itextpdf.text.Document(
com.itextpdf.text.PageSize.A4, 50, 50, 50, 50);
try {
com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter
.getInstance(document, new java.io.FileOutputStream("c:\\text.pdf"));
document.open();
document.add(new com.itextpdf.text.Paragraph("This is test message"));
catch (com.itextpdf.text.DocumentException de) {System.err.println(de.getMessage());}
catch (java.lang.Exception de) {System.err.println(de.getMessage());}
document.close();]]>
</bpelx:exec>Edited by: user1175491 on Nov 2, 2010 5:07 PM
Edited by: user1175491 on Nov 2, 2010 5:08 PM -
Database component is not displayed in system monitoring
hi all
I configured system monitoring but I can`t see Database conponent (ex.SID_database) .
I can see another components that are servers and systems (ex.host_SID_SNO)
I checked database in SMSY and rfc commuication is trustconnection between SOLMAN and ERP
Another Servers (ex. BW, XI, EP) are displayed Database component.
how can I solve this problem
thankshi, Andreas
thanks for your reply
I tried but same.
any help plz -
Java DataBase in NetBeans!!
Hi there,
can you help guy,
I have the NetBeans IDE 4.1,
Oracle 9,
j2sdk1.4.0,
and win xp (on standalone machine)
I remember the old version of NetBeans, you can use Mounting FileSystem for jdbc\oracle\driver
to use the OracleDriver
but I get message error at compiler says that package jdbc.oracle.driver does not exist
please I need help in who to do Mounting FileSystem or other way
here is my code of java
// Database application using Oracle and Java programming Language
import java.io.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
import jdbc.sql.*
import java.awt.*;
public class OracleJavaCustomerWindow extends JFrame
private JLabel labelCId,labelCName,labelCCity,labelCPhone;
private JTextField textCId,textCName,textCCity,textCPhone;
private JPanel labelPanel,buttonPanel,textAreaPanel,labelTextAreaPanel;
private JTextArea outputArea;
private JScrollPane scrollPane;
private JButton buttonDisplay,buttonAdd,buttonModifyRecord,buttonUpdate,buttonDelete;
private JButton buttonClear;
private JTextField field1,field2,field3,field4;
private JLabel label1,label2,label3,label4;
private JPanel mixedPanel,mixedPanel2,fieldPanel1,fieldPanel2,fieldPanel3,fieldPanel4;
static Connection sqlconn = null;
// set up GUI with constrictor(IT IS A METHOD. EACHO CLASS AT LEST HAVE ONE)
public OracleJavaCustomerWindow ()
super("Display Oracle Data for Customers");
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
sqlconn= DriverManager.getConnection ("jdbc:oracle:oci:@Kawasaki", "scott", "tiger");
catch(SQLException ex)
System.out.println("SQLException:" + ex.getMessage() + "<BR>");
// add GUI components to container
Container container = getContentPane();
container.setLayout(new FlowLayout(FlowLayout.CENTER));
// Build labelPanel
labelCId = new JLabel(" Customer ID");
labelCName = new JLabel("Customer Name");
labelCCity = new JLabel("Customer City");
labelCPhone = new JLabel("Customer Phone");
labelPanel = new JPanel();
labelPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
labelPanel.add(labelCId);
labelPanel.add(labelCName);
labelPanel.add(labelCCity);
labelPanel.add(labelCPhone);
// Build textAreaPanel
outputArea = new JTextArea(10,30);
outputArea.setEditable(false);
scrollPane = new JScrollPane(outputArea);
textAreaPanel = new JPanel();
textAreaPanel.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
textAreaPanel.add(scrollPane);
// Build labelTextAreaPanel which contains labelPanel and textAreaPanel
// to be ready for adding to container
labelTextAreaPanel= new JPanel();
labelTextAreaPanel.setLayout(new BorderLayout());
labelTextAreaPanel.add(labelPanel,BorderLayout.NORTH);
labelTextAreaPanel.add(textAreaPanel,BorderLayout.SOUTH);
// Buld buttonPanel
buttonDisplay = new JButton ("Display Table");
buttonClear = new JButton ("Clear");
buttonAdd = new JButton("Add New Record");
buttonUpdate= new JButton("Display Record");
buttonModifyRecord = new JButton("Modify Record");
buttonDelete = new JButton("Delete Record");
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout(6,1,10,5));
buttonPanel.add(buttonAdd);
buttonPanel.add(buttonUpdate);
buttonPanel.add(buttonModifyRecord);
buttonPanel.add(buttonDisplay);
buttonPanel.add(buttonDelete);
buttonPanel.add(buttonClear);
// build fieldPanel1
label1 = new JLabel("Customer Number");
field1 = new JTextField(10);
fieldPanel1 = new JPanel();
fieldPanel1.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
fieldPanel1.add(label1);
fieldPanel1.add(field1);
// build fieldPanel2
fieldPanel2 = new JPanel();
label2 = new JLabel("Customer Name");
field2 = new JTextField(10);
fieldPanel2.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
fieldPanel2.add(label2);
fieldPanel2.add(field2);
// build fieldPanel3
fieldPanel3 = new JPanel();
label3 = new JLabel("Customer City");
field3 = new JTextField(10);
fieldPanel3.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
fieldPanel3.add(label3);
fieldPanel3.add(field3);
// build fieldPanel4
fieldPanel4 = new JPanel();
label4 = new JLabel("Customer Phone");
field4 = new JTextField(10);
fieldPanel4.setLayout(new FlowLayout(FlowLayout.CENTER,3,5));
fieldPanel4.add(label4);
fieldPanel4.add(field4);
// Build mixedPanel which contains fieldPanel1, fieldPanel2,fieldPanel3
// to be ready for adding to container
mixedPanel = new JPanel();
mixedPanel.setLayout(new BorderLayout());
mixedPanel.add(fieldPanel1,BorderLayout.NORTH);
mixedPanel.add(fieldPanel2,BorderLayout.CENTER);
mixedPanel.add(fieldPanel3,BorderLayout.SOUTH);
mixedPanel2 = new JPanel();
mixedPanel2.add(fieldPanel4,BorderLayout.SOUTH);
// add all panels to the container
container.add(mixedPanel);
container.add(mixedPanel2);
container.setBackground(Color.DARK_GRAY);
container.add(labelTextAreaPanel);
container.add(buttonPanel);
//--------- Messages to communicate with different objects
//----------- method to clear the outputarea
buttonClear.addActionListener(
// anonymous inner class
new ActionListener()
public void actionPerformed(ActionEvent event)
outputArea.setText("");
}// actionPerformed
}// anonymous inner class
//--------- method to use button event--------------------
buttonDisplay.addActionListener(
//anonymous class
new ActionListener()
public void actionPerformed(ActionEvent event)
//Connection sqlca = null;
Statement sqlStatement = null;
ResultSet rset = null;
try{
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
sqlStatement = sqlconn.createStatement ();
rset = sqlStatement.executeQuery ("select * from customers");
while (rset.next ()){
String CUSTOMERID=rset.getObject(1).toString();
String CUSTOMERNAME =rset.getObject(2).toString();
String CUSTOMERCITY =rset.getObject(3).toString();
String CUSTOMERPHONE =rset.getObject(4).toString();
//String map=rset.getObject(4).toString();
//String region=rset.getObject(5).toString();
//System.out.println (id + "\t" + name + "\t" + loc );
outputArea.append(CUSTOMERID + "\t" + CUSTOMERNAME + "\t" + CUSTOMERCITY + "\t" + CUSTOMERPHONE + "\n" );
} // end while
}// end try
catch (SQLException ex)
System.out.println("SQLException:" + ex.getMessage() + "<BR>");
}// catch
}// action performed
} // anonymous inner class
);// end addActionListener
// ------ method to add Customers to the database
buttonAdd.addActionListener(
// anonymous inner class
new ActionListener()
public void actionPerformed(ActionEvent event)
try{
Statement sqlStatement = null;
ResultSet rtbookset = null;
// create statement
sqlStatement = sqlconn.createStatement();
int CUSTOMERID = Integer.parseInt(field1.getText());
String CUSTOMERNAME = field2.getText();
String CUSTOMERCITY = field3.getText();
int CUSTOMERPHONE = Integer.parseInt(field4.getText());
// create query
String insertquery = "INSERT INTO CUSTOMERS VALUES("
+ CUSTOMERID + "," + "'" + CUSTOMERNAME + "'," + "'" + CUSTOMERCITY + "'," + CUSTOMERPHONE + ")";
// execute the query
sqlStatement.executeQuery(insertquery);
// clear the textfields
field1.setText("");
field2.setText("");
field3.setText("");
field4.setText("");
JOptionPane.showMessageDialog(null,"Record added");
}// try
catch(SQLException ex)
System.out.println("Record exists :" + ex.getMessage() + "<BR>");
}// catch
}// actionPerformed
}// anonymous inner class
//--------- method to use buttonUpdate event--------------------
buttonUpdate.addActionListener(
//anonymous class
new ActionListener()
public void actionPerformed(ActionEvent event)
//Connection sqlconn = null;
Statement sqlStatement = null;
ResultSet rset = null;
int CUSTOMER_ID = Integer.parseInt(field1.getText());
try{
//int CUSTOMER_ID = Integer.parseInt(field1.getText());
//String d_name = field2.getText();
//String d_loc = field3.getText();
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
sqlStatement = sqlconn.createStatement ();
rset = sqlStatement.executeQuery ("select * from CUSTOMERS where CUSTOMER_ID =" + CUSTOMER_ID);
rset.next ();
//int id=rset.getInt("DEPTNO");
String CUSTOMERID = rset.getObject(1).toString();
String CUSTOMERNAME=rset.getString("CUSTOMER_NAME");
String CUSTOMERCITY=rset.getString("CUSTOMER_CITY");
String CUSTOMERPHONE=rset.getString("CUSTOMER_PHONE");
field1.setText(CUSTOMERID);
field2.setText(CUSTOMERNAME);
field3.setText(CUSTOMERCITY);
field4.setText(CUSTOMERPHONE);
//buttonUpdate.setEnabled(false);
//buttonModifyRecord.setEnabled(true);
//rset.close();
}// end try
catch (SQLException ex)
JOptionPane.showMessageDialog(null,"No Record found with CUSTOMER ID :" + CUSTOMER_ID );
//System.out.println("SQLException:No record found" + ex.getMessage() + "<BR>");
}// catch
}// action performed
} // anonymous inner class
);// end addActionListener
//---------Method to modify record------------------------------------
buttonModifyRecord.addActionListener(
//anonymous class
new ActionListener()
public void actionPerformed(ActionEvent event)
//Connection sqlconn = null;
Statement sqlStatement = null;
ResultSet rset = null;
try{
//int dept_no = Integer.parseInt(field1.getText());
//String d_name = field2.getText();
//String d_loc = field3.getText();
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
sqlStatement = sqlconn.createStatement ();
int CUSTOMERID = Integer.parseInt(field1.getText());
String CUSTOMERNAME = field2.getText();
String CUSTOMERCITY = field3.getText();
int CUSTOMERPHONE = Integer.parseInt(field4.getText());
String updatequery = "UPDATE CUSTOMERS SET CUSTOMER_NAME = " + "'" + CUSTOMERNAME + "',"
+ " CUSTOMER_CITY = " + "'" + CUSTOMERCITY + "'," + " CUSTOMER_PHONE = " + CUSTOMERPHONE
+ " Where CUSTOMER_ID = " + CUSTOMERID;
// execute the query
sqlStatement.executeQuery(updatequery);
// clear the textfields
field1.setText("");
field2.setText("");
field3.setText("");
field4.setText("");
JOptionPane.showMessageDialog(null,"Record modified");
//buttonUpdate.setEnabled(true);
//buttonModifyRecord.setEnabled(false);
}// end try
catch (SQLException ex)
System.out.println("SQLException:" + ex.getMessage() + "<BR>");
}// catch
}// action performed
} // anonymous inner class
);// end addActionListener
//---------Method to modify record------------------------------------
buttonDelete.addActionListener(
//anonymous class
new ActionListener()
public void actionPerformed(ActionEvent event)
//Connection sqlca = null;
Statement sqlStatement = null;
ResultSet rset = null;
try{
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//sqlca= DriverManager.getConnection ("jdbc:oracle:thin:@dbserver:1521:infs", "manzur", "manzur");
sqlStatement = sqlconn.createStatement ();
int CUSTOMERID = Integer.parseInt(field1.getText());
//String d_name = field2.getText();
//String d_loc = field3.getText();
String deletequery = "DELETE from CUSTOMERS "
+ " Where CUSTOMER_ID = " + CUSTOMERID;
// execute the query
sqlStatement.executeQuery(deletequery);
// clear the textfields
field1.setText("");
field2.setText("");
field3.setText("");
field4.setText("");
JOptionPane.showMessageDialog(null,"Record Deleted");
//buttonUpdate.setEnabled(true);
//buttonModifyRecord.setEnabled(false);
}// end try
catch (SQLException ex)
System.out.println("SQLException:" + ex.getMessage() + "<BR>");
}// catch
}// action performed
} // anonymous inner class
);// end addActionListener
// specify the size of the window
setSize(800,500);
show();
}// constructor
public static void main(String args[]) throws IOException{
OracleJavaCustomerWindow application = new OracleJavaCustomerWindow();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}// main
} // class OracleJavaWindow
// exceptions classes
// inserFailedException is a general exception for
// SQL insert problems
/*class insertFailedException extends SQLException
public insertFailedException(String reason)
super(reason);
public insertFailedException(String reason)
super();
}*/Sorry guys here is the correction of details i have provided
the Error message tells me that
package oracle.jdbc.driver does not exist
and the folder I used to do Mounting SystemFile for was
C:\Oracle\jdbc\lib\classes12 -
What the Enviroment required for java databases programs?
Hi guys
What the enviroment required for java databases programs?
If I have oracle of version 9i and java 1.4.1 platform
do I need Jdeveloper platform ?What the enviroment required for java databases programs?What do you mean by "environment"?
f I have oracle of version 9i and java 1.4.1 platformYou just need to download Oracle's 9i JDBC driver (ojdbc14.jar) and put that in your CLASSPATH. Then write JDBC code to connect to Oracle and issue SQL commands.
do I need Jdeveloper platform ?No, JDeveloper is an IDE. Not required.
Why Java 1.4.1? We're up to Java 6 now. You're two major versions of the JDK behind.
% -
Crystal Report Java Reporting Component Query
Hi,
If I am using the Crystal Report Java Reporting Component, do I need any other Crystal Report software to be installed during run time?
Thanks.Hi Ron,
the desired guides can be found here:
http://help.sap.com/javadocs/cr/xir2/index.html
http://devlibrary.businessobjects.com/businessobjectsxi/en/en/JRC_SDK/default.htm
The reason why you might not find the guide is as of Crystal Reports 2008 the JRC was integrated into the Crystal Reports for Ecplise package and is not availble separately anymore. See also the What' new-guide of Crystal Reports 2008 here:
http://87.229.26.143/download/crystal/doc/cr_2008_whats_new.pdf
Regards,
Harald -
How to deploy a pure jave development component to server?
i have created a pure java development component.
but i cannot find a way to deploy it to server
is there any way?You need to essencially wrap your java development component with a deployable development component.
In order to do that, you need to:
- Define a public part for your development component of type assembly.
- Create a deployable DC ( one that results in a SDA or a EAR file ).
- Reference your DC from the deployable DC. This will include the generated .jar file into the project.
The definitions of the different types can be found here:
http://help.sap.com/saphelp_nw04/helpdata/en/93/d5a73f05c4265de10000000a114084/content.htm
I would either create a library component ( results in SDA ) or a web dynpro component ( ear file ). -
Hello,
I'll like some advice on the topic mentioned above. I'm a beginner of java programming and have elementry knowledge about java. I'll like to know how is it possible to input the list of data in Excel format into Java Database Connectivity and how am I able to extract out the info. that I'll need. Like say the columns/field on designation and name. How am I able to extract the data and change it like to delete or edit the info.??
Pls. explain it step-by-step your patience is really appreciated. Thanks and God Bless.You should search Javaworld for "Excel" - they've had a few articles about using JDBC to access Excel. As far as I recall, though, you can't alter data in Excel through JDBC, only read it.
http://www.javaworld.com
There are other ways of getting at Excel data through Java but they're not very good either (unless you want to use a Java-COM bridge). -
FLEX+CAIRNGORM+BLAZEDS+JAVA+DATABASE
A very simple example for FLEX+CAIRNGORM+BLAZEDS+JAVA+DATABASE.
http://vijaaay.limewebs.com/forum/viewthread.php?tid=26&extra=page%3D1
or
visit www . flexindia . tk >> Flex Examples
The attachment zip contains the source files[ FLEX and JAVA ] and Readme.txt which helps you to setup this example.
Regards,
VijayYeah i registered, but i couldn't find zip file. Could you please tell me where is that example
Thanks,
ApacheFlex. -
About Forms JAVA UI Component AppletSecurityException
Hi,
I have been researching how to access a custom OCX control from Web Forms 6i application, and I came up with a third-party JAVA to COM bridging solution, J-Integra from Intrinsyc.
With J-Integra I was able to build a PJC compatible JAVA component which invokes a local OCX control and was able to access the JAVA component from regular JAVA application but when I tried to invoke the component with Web Forms application I got AppletSecurityException runtime error message. I have signed the component's jar file with javakey, without success, to remove the AppletSecurityException message. How can I remove the following runtime error message from my PJC JAVA component?
sun.applet.AppletSecurityException: checklink
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:50)
at java.lang.SecurityException.<init>(SecurityException.java:42)
at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:29)
at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:34)
at sun.applet.AppletSecurity.checkLink(AppletSecurity.java:256)
at java.lang.Runtime.loadLibrary(Compiled Code)
at java.lang.System.loadLibrary(System.java:561)
at com.linar.jintegra.NativeObjRef.q(Unknown Source)
at com.linar.jintegra.Dispatch.a(Unknown Source)
at com.linar.jintegra.Ocx.<clinit>(Unknown Source)
at rapidview.JRapidViewx.<init>(JRapidViewx.java:25)
at oracle.forms.handler.UICommon.instantiate(Compiled Code)
at oracle.forms.handler.UICommon.onCreate(Compiled Code)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Compiled Code)
at oracle.forms.engine.Runform.processMessage(Compiled Code)
at oracle.forms.engine.Runform.processSet(Compiled Code)
at oracle.forms.engine.Runform.onMessageReal(Compiled Code)
at oracle.forms.engine.Runform.onMessage(Compiled Code)
at oracle.forms.engine.Runform.processEventEnd(Compiled Code)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Compiled Code)
at oracle.ewt.lwAWT.LWComponent.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
Thanks!I am also having the same problem.
I have signed using the PJC.x509 certificate and it is still throwing the
link error. I am not sure what I need to. I had imported the certificate and
also ensured that identity.obj is copied to proper directory.
After following the complete instruction from PJC document,i am still having problems.Either we have incorrect document or problem and resolution section needs
to be updated.
FYI, I am running windows2000 and my forms server is 6i with patch5 . -
Java Export hangs at 'Export Java Database Content' phase
Hi All -
As part of system refresh activities,we are doing Java Export from our Production system(PE1) & we will use that export to import it in our Qulaity system(QE1).So while doing Java Export,the export gets stucks/hangs at 'Export Java Database Content" phase which is the last phase in Java Export steps.We have been doing this task since many years & we did not encounter this kind of issue ever.There are no errors or at least warnings in the logs like sapinst_dev.log,jload.log,jload.java.log,sapinst.log etc.Our environment details are as below
EP -6.0
OS - AIX 5.3,64 BIT
DB - DB2 UDB
SAPINST version - 642
Java version is below
pe1adm> java -fullversion
java full version "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20100918 (SR13 FP6)"
Please note with the SAPINST we are using currently, the exports of remaining systems in EP & other solutions like ECC,CR,SRM,XI,BI are successfull.We are having this issue only in PE1.Looks like some bug in code.So request the experts in this forum to please take a look at it & provide me with solution if any of you have faced the similar situation.
Thanks & regards,
Nagendra.Thank you for your reply Subhash.The below is the last entry in jload.log.It is at EP_ATTR_HEADERS.While doing the Java export,we asked our DBA to monitor to find out any errors at DB side.He monitored and said that no deadlocks or no infinite loops are found.Also he said that he cannot create index for that too because it is trying to do select *.In our first 2 or 3 attempts it used to hang at CA_PRODUCTS meta data exported,CA_PROPERTY meta data exported.Now here.Our DBA said that EP_ATTR_HEADERS has 1.4M rows.We tried to bounce the entire system also,but no luck.We have the same issue.Peculiar thing is we dont see any errors or warnings in the logs.
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_DEFS exported (6 rows)
23.06.11 09:54:21 com.sap.inst.jload.Jload dbExport
INFO: EP_ATTR_HEADERS meta data exported
Please let me know if you need any further info in resolving this issue.
Thanks & regards,
Nagendra. -
I'm looking for a free Java database. A few recommended MySQL, but after going to their site, it looks they charge and aren't free.
The database would be used in my own commercial product that would be sold to stores. Perhaps MySQL is just free for development? Anyone know?
If anyone knows of other free Java databases that would be appreciated too.
Thanks,You can always check out Postgres. And I'm not sure if they bundle it anymore, but there used to be a pure-Java database called Cloudscape (I think).
- saish
"My karma ran over your dogma." - Anon
Maybe you are looking for
-
Scenario on Purchasing Process - Freight Charges to Different Vendor
Hi Experts, We have a business scenario here that we want to implement on the MM - Purchasing Process. My Client's industry is on Selling Mixed Concrete. Every time they make Contract with Scheduling Agreements, for Raw Materials like Cement 20MM or
-
HT201317 Using icloud to back up photos and shared photostream, why not updating?
I've been manually backing up my camera roll on my windows 7 pc the old fashioned way (copying files through windows explorer) for some time, and have my pc as a whole backed up on a cloud product. I have this week however learned about icloud and th
-
Server crash - in function memcpy
OS- Solaris 9 and 10 (sparc) WS- SJSWS 6.1 SP5-8 JAVA- j2sdk 1.4.2_13 Frequent server crashes with the following in the logs- errors:[18/Jul/2007:14:16:04] catastrophe ( 5938): CORE3260: Server crash detected (signal SIGBUS) errors:[18/Jul/2007:14:16
-
E-mail address of respondents is selected and accurate, proper boxes are checked for this process to occur, etc. I have tested it several times with several different people and they never receive the e-mail. I have done it myself and it hasn't wor
-
Has anyone been able to recover pics and video after getting error?
Question, I'm getting the "SD CARD BLANK OR UNSUPPORTED FILESYSTEM" Error. Just wondering if anyone has had any luck getting the data back after that? I have not formatted yet. Motorola is sending me a new card, but just wondering if trying to get th