Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

852203Jun 4 2013 — edited Feb 26 2020
Hi All,

I want to connect to a stored procedure that is on mySQL database via BPEL and Jdeveloper 11.1.1.5

The version of the MySQL database:

mysqld Ver 5.1.53

I am using the following driver :

mysql-connector-java-5.1.25-bin


I have pointed my JDeveloper to the new driver
By doing the following :
JDeveloper > Tools > Manage Libraries > ...
When I test the connection it give me a success.


In creating a new BPEL partnerlink - DatabaseAdapter with the new Connection to the MySQL and it seems to work, when I want to select from a table.

But when I use the option Call stored procedure or function, using the schema aci. I can see the stored procedure aci_insert but when I want to select it, I am getting the following:

An Error occured while obtaining arguments/source code for the selected stored procedure. Verify that the database connection is valid.

Details :

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'parameters' in information_schema
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)


I am selecting the aci schema, but do not know why it keep on refering to information_schema

Comments

User_64CKJ
867570 wrote:
In an applet, StyleManager.loadStylesheet(final String fname) causes a null exception .
What's a <tt>StyleManager</tt>? I don't see it in the Java 6 JavaDocs.
The code below evade this :

StyleManager styleManager= StyleManager.getInstance();
URL url=getURL("/indicateurs/charts.css", Main.class);
What <tt>URL</tt> constructor takes a <tt>String</tt> and ..what is that, a <tt>Class</tt>?
} catch (IOException ex) {
System.out.println("exception:"+e);
Don't throw away exception information. Call <tt>e.printStackTrace()</tt>. Even if you choose to dump part of the message to output, <tt>System.err</tt> rather than <tt>System.out</tt> should be used.
Will there be a more simple way to deal with the css in an applet ?
Can you:
<li>Use the code formatting tags as described on the sticky post at the top of the forum thread listing?
<li>Ask a smart question? The current code & text reads like nonsense.
870573
it is in the javafx general Question :
StyleManager is from the package : com.sun.javafx.css
aidreamer
Packages in com.sun are usually intended as implementation or experimentation. Using them in your own projects is not recommended. As for using CSS in an applet, you should be able to do that without having to resort to those packages. The tutorial on CSS is right here: http://download.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial.htm
David Grieve-Oracle
I am interested in knowing what the traceback of the NPE is so I can see if it is a bug in the code. Thanks.
darrylburke
I would guess it's just a result of the security manager preventing the applet from accessing files on the local filesystem.

db
870573
when the code is :
Scene scene = new Scene(root);
scene.getStylesheets().addAll("/indicateurs/charts.css");


the message from the console java is :
WARNING: com.sun.javafx.css.StyleManager$2 run Resource "null" not found.

SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@1feac8e[styleClass=sample-tile]

SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@1feac8e[styleClass=sample-tile]



thanks for your help
1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 2 2013
Added on Jun 4 2013
0 comments
1,902 views