Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Source Code for Connector/J 8.0.31 - User API
Where to get the Java source code for Connector/J 8.0 User API module?
✍: FYIcenter.com
Java source code files for Connector/J 8.0 User API module are:
⏎ com/mysql/cj/jdbc/JdbcStatement.java
/* * Copyright (c) 2007, 2022, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the * Free Software Foundation. * * This program is also distributed with certain software (including but not * limited to OpenSSL) that is licensed under separate terms, as designated in a * particular file or component or in included license documentation. The * authors of MySQL hereby grant you an additional permission to link the * program and your derivative works with the separately licensed software that * they have included with MySQL. * * Without limiting anything contained in the foregoing, this file, which is * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, * version 1.0, a copy of which can be found at * http://oss.oracle.com/licenses/universal-foss-exception. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, * for more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; import java.io.InputStream; import java.sql.SQLException; import com.mysql.cj.PingTarget; import com.mysql.cj.Query; import com.mysql.cj.exceptions.ExceptionInterceptor; import com.mysql.cj.jdbc.result.ResultSetInternalMethods; /** * This interface contains methods that are considered the "vendor extension" to the JDBC API for MySQL's implementation of java.sql.Statement. * * For those looking further into the driver implementation, it is not an API that is used for plugability of implementations inside our driver * (which is why there are still references to StatementImpl throughout the code). */ public interface JdbcStatement extends java.sql.Statement, Query { public static final int MAX_ROWS = 50000000; // From the MySQL FAQ /** * Workaround for containers that 'check' for sane values of * Statement.setFetchSize() so that applications can use * the Java variant of libmysql's mysql_use_result() behavior. * * @throws SQLException * if an error occurs */ void enableStreamingResults() throws SQLException; /** * Resets this statements fetch size and result set type to the values * they had before enableStreamingResults() was called. * * @throws SQLException * if an error occurs */ void disableStreamingResults() throws SQLException; /** * Sets an InputStream instance that will be used to send data * to the MySQL server for a "LOAD DATA LOCAL INFILE" statement * rather than a FileInputStream or URLInputStream that represents * the path given as an argument to the statement. * * This stream will be read to completion upon execution of a * "LOAD DATA LOCAL INFILE" statement, and will automatically * be closed by the driver, so it needs to be reset * before each call to execute*() that would cause the MySQL * server to request data to fulfill the request for * "LOAD DATA LOCAL INFILE". * * If this value is set to NULL, the driver will revert to using * a FileInputStream or URLInputStream as required. * * @param stream * input stream */ void setLocalInfileInputStream(InputStream stream); /** * Returns the InputStream instance that will be used to send * data in response to a "LOAD DATA LOCAL INFILE" statement. * * This method returns NULL if no such stream has been set * via setLocalInfileInputStream(). * * @return * input stream */ InputStream getLocalInfileInputStream(); void setPingTarget(PingTarget pingTarget); ExceptionInterceptor getExceptionInterceptor(); /** * Callback for result set instances to remove them from the Set that * tracks them per-statement * * @param rs * result set */ void removeOpenResultSet(ResultSetInternalMethods rs); /** * Returns the number of open result sets for this statement. * * @return the number of open result sets for this statement */ int getOpenResultSetCount(); void setHoldResultsOpenOverClose(boolean holdResultsOpenOverClose); Query getQuery(); void setAttribute(String name, Object value); void clearAttributes(); ResultSetInternalMethods getResultSetInternal(); }
⏎ com/mysql/cj/jdbc/JdbcStatement.java
Or download all of them as a single archive file:
File name: mysql-connector-java-user-api-8.0.31.zip File size: 78392 bytes Release date: 2022-09-03 Download
⇒ Source Code for Connector/J 8.0.31 - User Impl
⇐ Source Code for Connector/J 8.0.31 - Protocol Impl
2023-05-31, 2798👍, 0💬
Popular Posts:
What Is jniwrap.jar in JNIWrapper 3.7.1? winpack.jar in JNIWrapper 3.7.1 is an add-on JAR file for J...
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...