java-mysql

acemirüzgar
08-03-2008, 11:29   |  #1  
OP Yeni Üye
Teşekkür Sayısı: 0
41 mesaj
Kayıt Tarihi:Kayıt: Oca 2008

--------------------Configuration: deneme - JDK version 1.6.0_01 <Default> - <Default>------------------
herkeze meraba java bölümüyle pek ilgilene yok galiba ama yinede bi bilen varsa yardımlarını bekliyorum
sorunun şu ben javayla mysql bağlantısı yapıroeum veri giriş çıkışı yapabiliyorum ama derleyip çalıştırdığımda önce  aşağıdaki uyarıları veriyo sonra normal olarak çalışı nedenini anlayamadım yardımlarınızı bekliyorum....

Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\AppletRegressionTest.java:29: warning: sun.applet.AppletSecurity is Sun proprietary API and may be removed in a future release
import sun.applet.AppletSecurity;
                 ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\AppletRegressionTest.java:81: warning: sun.applet.AppletSecurity is Sun proprietary API and may be removed in a future release
    class CustomAppletSecurity extends AppletSecurity {
                                       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\PreparedStatement.java:90: com.mysql.jdbc.PreparedStatement is not abstract and does not override abstract method setSQLXML(int,java.sql.SQLXML) in java.sql.PreparedStatement
public class PreparedStatement extends com.mysql.jdbc.StatementImpl implements
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\ConnectionImpl.java:74: com.mysql.jdbc.ConnectionImpl is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
public class ConnectionImpl extends ConnectionPropertiesImpl implements
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\CallableStatement.java:63: com.mysql.jdbc.CallableStatement is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
public class CallableStatement extends PreparedStatement implements
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\ResultSetImpl.java:123: com.mysql.jdbc.ResultSetImpl is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet
public class ResultSetImpl implements ResultSetInternalMethods {
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\DatabaseMetaData.java:68: com.mysql.jdbc.DatabaseMetaData is not abstract and does not override abstract method getFunctions(java.lang.String,java.lang.String,java.lang.String) in java.sql.DatabaseMetaData
public class DatabaseMetaData implements java.sql.DatabaseMetaData {

Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\LoadBalancingConnectionProxy.java:511: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                return ((Long) getLocalTimeMethod.invoke(null, null))
                                                               ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\ReplicationConnection.java:46: com.mysql.jdbc.ReplicationConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
public class ReplicationConnection implements java.sql.Connection, PingTarget {
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\StringUtils.java:102: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                return (String) toPlainStringMethod.invoke(decimal, null);
                                                                    ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\Util.java:54: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class<?> for a varargs call
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
            systemNanoTimeMethod = System.class.getMethod("nanoTime", null);
                                                                      ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\Util.java:447: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            return networkInterfaceClass.getMethod("getByName", null).invoke(
                                                                ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\Util.java:477: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                return ((Long) systemNanoTimeMethod.invoke(null, null))
                                                                 ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\integration\c3p0\MysqlConnectionTester.java:54: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class<?> for a varargs call
cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
                    .getMethod("ping", null);
                                       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\integration\jboss\MysqlValidConnectionChecker.java:59: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            pingMethod = mysqlConnection.getMethod("ping", null);
                                                           ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\integration\jboss\MysqlValidConnectionChecker.java:65: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
            pingMethodWrapped = mysqlConnectionWrapper.getMethod("ping", null);
                                                                         ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\integration\jboss\MysqlValidConnectionChecker.java:80: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                    this.pingMethod.invoke(conn, null);
                                                 ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\integration\jboss\MysqlValidConnectionChecker.java:94: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                    this.pingMethodWrapped.invoke(conn, null);
                                                        ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\StatementWrapper.java:47: com.mysql.jdbc.jdbc2.optional.StatementWrapper is not abstract and does not override abstract method isPoolable() in java.sql.Statement
public class StatementWrapper extends WrapperBase implements Statement {
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\PreparedStatementWrapper.java:67: com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement

public class PreparedStatementWrapper extends StatementWrapper implements
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\CallableStatementWrapper.java:58: com.mysql.jdbc.jdbc2.optional.CallableStatementWrapper is not abstract and does not override abstract method setNClob(java.lang.String,java.io.Reader) in java.sql.CallableStatement
public class CallableStatementWrapper extends PreparedStatementWrapper

Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\ConnectionWrapper.java:64: com.mysql.jdbc.jdbc2.optional.ConnectionWrapper is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
public class ConnectionWrapper extends WrapperBase implements Connection,
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\MysqlPooledConnection.java:50: com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
public class MysqlPooledConnection implements PooledConnection {
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\MysqlDataSource.java:50: com.mysql.jdbc.jdbc2.optional.MysqlDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
public class MysqlDataSource extends ConnectionPropertiesImpl implements
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\MysqlXAConnection.java:63: com.mysql.jdbc.jdbc2.optional.MysqlXAConnection is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
public class MysqlXAConnection extends MysqlPooledConnection implements
       ^
C:\Documents and Settings\esra\Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\com\mysql\jdbc\jdbc2\optional\SuspendableXAConnection.java:16: com.mysql.jdbc.jdbc2.optional.SuspendableXAConnection is not abstract and does not override abstract method removeStatementEventListener(javax.sql.StatementEventListener) in javax.sql.PooledConnection
public class SuspendableXAConnection extends MysqlPooledConnection implements
       ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\ConnectionRegressionTest.java:1964: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this warning
                clazz.getMethod(accessorName.toString(), null);
                                                         ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\DataSourceRegressionTest.java:403: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
        enableStreamingResultsMethodStmt.invoke(physStatement, new Class[0]);
                                                               ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\DataSourceRegressionTest.java:423: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
        enableStreamingResultsMethodPstmt.invoke(physPrepStmt, new Class[0]);
                                                               ^
Belgelerim\JCreator LE\MyProjects\deneme\src\mysql-connector-java-5.1.5\src\testsuite\regression\StatementRegressionTest.java:2521: reference to setClob is ambiguous, both method setClob(int,java.sql.Clob) in java.sql.PreparedStatement and method setClob(int,java.io.Reader) in java.sql.PreparedStatement match
            pStmt.setClob(1, null);
                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors
15 warnings
biraz uzun oldu ama ..umarım bi bilen çıkarEmin değil
Process completed.

Son Düzenleme: acemirüzgar ~ 14 Mart 2008 09:26
acemirüzgar
17-03-2008, 15:25   |  #2  
OP Yeni Üye
Teşekkür Sayısı: 0
41 mesaj
Kayıt Tarihi:Kayıt: Oca 2008

sorunu çözdüm programa mysql-connector-java ekleyerek veri tabanına bağlanıyorum ama bunun hepsini değil sadece jar dosyasını eklemem gerekiyomuş belki başkalarınada yardımcı olur..herkeze kolay gelsin