├── Jar Files ├── mysql-connector-j-8.0.31 │ ├── src │ │ ├── build │ │ │ └── misc │ │ │ │ └── debian.in │ │ │ │ ├── compat │ │ │ │ ├── source │ │ │ │ └── format │ │ │ │ ├── watch │ │ │ │ ├── changelog │ │ │ │ ├── copyright │ │ │ │ ├── install │ │ │ │ └── control │ │ ├── main │ │ │ ├── resources │ │ │ │ └── com │ │ │ │ │ └── mysql │ │ │ │ │ └── cj │ │ │ │ │ └── configurations │ │ │ │ │ ├── clusterBase.properties │ │ │ │ │ ├── fullDebug.properties │ │ │ │ │ ├── coldFusion.properties │ │ │ │ │ ├── solarisMaxPerformance.properties │ │ │ │ │ ├── 3-0-Compat.properties │ │ │ │ │ ├── maxPerformance.properties │ │ │ │ │ └── maxPerformance-8-0.properties │ │ │ ├── doc │ │ │ │ ├── connector-j-overview.html │ │ │ │ └── mysqlx-overview.html │ │ │ ├── core-api │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── mysql │ │ │ │ │ └── cj │ │ │ │ │ ├── QueryResult.java │ │ │ │ │ ├── protocol │ │ │ │ │ ├── ProtocolEntity.java │ │ │ │ │ ├── PacketReceivedTimeHolder.java │ │ │ │ │ ├── WatchableStream.java │ │ │ │ │ ├── MessageHeader.java │ │ │ │ │ ├── Warning.java │ │ │ │ │ ├── OutputStreamWatcher.java │ │ │ │ │ ├── ServerCapabilities.java │ │ │ │ │ └── Message.java │ │ │ │ │ ├── PingTarget.java │ │ │ │ │ ├── exceptions │ │ │ │ │ ├── StreamingNotifiable.java │ │ │ │ │ ├── DeadlockTimeoutRollbackMarker.java │ │ │ │ │ ├── NumberOutOfRange.java │ │ │ │ │ ├── CJOperationNotSupportedException.java │ │ │ │ │ ├── DataConversionException.java │ │ │ │ │ ├── DataReadException.java │ │ │ │ │ └── CJTimeoutException.java │ │ │ │ │ ├── TransactionEventHandler.java │ │ │ │ │ ├── util │ │ │ │ │ ├── TestUtils.java │ │ │ │ │ └── LRUCache.java │ │ │ │ │ ├── CacheAdapterFactory.java │ │ │ │ │ ├── QueryReturnType.java │ │ │ │ │ ├── conf │ │ │ │ │ ├── HostsListView.java │ │ │ │ │ └── DatabaseUrlContainer.java │ │ │ │ │ ├── DataStoreMetadata.java │ │ │ │ │ ├── CacheAdapter.java │ │ │ │ │ ├── WarningListener.java │ │ │ │ │ ├── callback │ │ │ │ │ ├── MysqlCallback.java │ │ │ │ │ └── UsernameCallback.java │ │ │ │ │ ├── CancelQueryTask.java │ │ │ │ │ ├── MessageBuilder.java │ │ │ │ │ └── log │ │ │ │ │ └── ProfilerEventHandler.java │ │ │ ├── user-api │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── mysql │ │ │ │ │ └── cj │ │ │ │ │ ├── xdevapi │ │ │ │ │ ├── package-info.java │ │ │ │ │ ├── Warning.java │ │ │ │ │ ├── DocResult.java │ │ │ │ │ ├── SqlStatement.java │ │ │ │ │ ├── Type.java │ │ │ │ │ ├── UpdateType.java │ │ │ │ │ ├── InsertResult.java │ │ │ │ │ ├── AddResult.java │ │ │ │ │ ├── JsonValue.java │ │ │ │ │ └── RowResult.java │ │ │ │ │ └── jdbc │ │ │ │ │ ├── result │ │ │ │ │ └── CachedResultSetMetaData.java │ │ │ │ │ ├── ha │ │ │ │ │ └── LoadBalancedConnection.java │ │ │ │ │ └── JdbcPropertySet.java │ │ │ ├── core-impl │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── mysql │ │ │ │ │ └── cj │ │ │ │ │ ├── SimpleQuery.java │ │ │ │ │ ├── conf │ │ │ │ │ ├── EnumProperty.java │ │ │ │ │ ├── BooleanProperty.java │ │ │ │ │ └── StringProperty.java │ │ │ │ │ └── protocol │ │ │ │ │ └── WriterWatcher.java │ │ │ ├── protocol-impl │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── mysql │ │ │ │ │ └── cj │ │ │ │ │ └── protocol │ │ │ │ │ ├── x │ │ │ │ │ ├── Ok.java │ │ │ │ │ ├── FetchDoneMoreResults.java │ │ │ │ │ ├── CompressionMode.java │ │ │ │ │ ├── FetchDoneEntity.java │ │ │ │ │ ├── OkFactory.java │ │ │ │ │ ├── NoticeFactory.java │ │ │ │ │ ├── FetchDoneEntityFactory.java │ │ │ │ │ ├── StatementExecuteOkFactory.java │ │ │ │ │ ├── FetchDoneMoreResultsFactory.java │ │ │ │ │ ├── SyncFlushDeflaterOutputStream.java │ │ │ │ │ ├── XProtocolRowFactory.java │ │ │ │ │ └── ContinuousOutputStream.java │ │ │ │ │ └── a │ │ │ │ │ └── ClobValueEncoder.java │ │ │ └── user-impl │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── mysql │ │ │ │ └── cj │ │ │ │ ├── xdevapi │ │ │ │ ├── AddResultBuilder.java │ │ │ │ ├── InsertResultBuilder.java │ │ │ │ ├── JsonLiteral.java │ │ │ │ ├── AddResultImpl.java │ │ │ │ └── InsertResultImpl.java │ │ │ │ └── jdbc │ │ │ │ ├── EscapeProcessorResult.java │ │ │ │ ├── NClob.java │ │ │ │ ├── result │ │ │ │ └── CachedResultSetMetaDataImpl.java │ │ │ │ └── exceptions │ │ │ │ └── OperationNotSupportedException.java │ │ ├── test │ │ │ ├── config │ │ │ │ └── ssl-test-certs │ │ │ │ │ ├── ca-truststore │ │ │ │ │ ├── client-keystore │ │ │ │ │ ├── ca-truststore-ext │ │ │ │ │ ├── client-keystore-ext │ │ │ │ │ ├── mykey.pub │ │ │ │ │ ├── mykey.pem │ │ │ │ │ ├── client-cert-ext.pem │ │ │ │ │ ├── client-cert.pem │ │ │ │ │ ├── server-cert-ext.pem │ │ │ │ │ ├── ca-cert.pem │ │ │ │ │ ├── ca-cert-ext.pem │ │ │ │ │ ├── server-cert.pem │ │ │ │ │ ├── ca-key.pem │ │ │ │ │ ├── server-key.pem │ │ │ │ │ ├── ca-key-ext.pem │ │ │ │ │ ├── client-key.pem │ │ │ │ │ ├── server-key-ext.pem │ │ │ │ │ └── client-key-ext.pem │ │ │ └── java │ │ │ │ ├── testsuite │ │ │ │ ├── x │ │ │ │ │ ├── devapi │ │ │ │ │ │ └── package-info.java │ │ │ │ │ └── internal │ │ │ │ │ │ └── package-info.java │ │ │ │ ├── regression │ │ │ │ │ └── NonLocalSocketFactory.java │ │ │ │ └── simple │ │ │ │ │ └── SimpleTransformer.java │ │ │ │ └── com │ │ │ │ └── mysql │ │ │ │ └── cj │ │ │ │ └── result │ │ │ │ └── BinaryStreamValueFactoryTest.java │ │ ├── generated │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── mysql │ │ │ │ └── cj │ │ │ │ └── x │ │ │ │ └── protobuf │ │ │ │ └── package-info.java │ │ └── legacy │ │ │ └── java │ │ │ └── com │ │ │ └── mysql │ │ │ └── jdbc │ │ │ └── Driver.java │ ├── INFO_SRC │ ├── mysql-connector-j-8.0.31.jar │ ├── INFO_BIN │ └── README ├── RSCalendar.jar ├── RSFoto_v1.0.jar ├── RSTableMetro.jar ├── RojeruSan.parte1.jar ├── jcommon-1.0.23.jar └── jfreechart-1.0.19.jar ├── .gitattributes ├── Readme-images ├── XAMPP.png ├── issuses.png ├── signup.png ├── Dashboard.gif ├── database.png ├── open-nbp.png ├── overview.gif ├── overview2.gif ├── git-download.png ├── subject add.png ├── Admin_user_add.png ├── login-database.png ├── location_search.png ├── signup-database.png └── Admin_lecture_hall.png ├── Timetable Management System ├── manifest.mf ├── src │ ├── icons │ │ ├── DTK.png │ │ ├── Admin.png │ │ ├── Clock.png │ │ ├── Exam.png │ │ ├── check.png │ │ ├── email.png │ │ ├── group.png │ │ ├── idea.png │ │ ├── mail.png │ │ ├── menu.png │ │ ├── time.png │ │ ├── users.png │ │ ├── view.png │ │ ├── Location.png │ │ ├── add (1).png │ │ ├── backlong.jpg │ │ ├── calendar.png │ │ ├── dashbord.png │ │ ├── homepage.png │ │ ├── lecturer.png │ │ ├── lectures.png │ │ ├── subject.png │ │ ├── library-2.png │ │ ├── Signup page.png │ │ ├── car-chair (1).png │ │ ├── clock (1) (1).png │ │ ├── library-3.png.png │ │ ├── mortarboard.png │ │ ├── switch users.png │ │ ├── Manage subjects.png │ │ ├── SLIITl_ogo (1).png │ │ ├── background (1).jpg │ │ ├── conference (1).png │ │ ├── administration (1).png │ │ ├── icons8_Exit_26px_2.png │ │ ├── icons8_Rewind_48px.png │ │ ├── icons8_Secure_50px.png │ │ ├── icons8_Sell_26px.png │ │ ├── login background.png │ │ ├── icons8_Account_50px.png │ │ ├── signup-library-icon.png │ │ ├── Webp.net-resizeimage (1).jpg │ │ ├── icons8_Google_Mobile_50px.png │ │ ├── icons8_Secured_Letter_50px.png │ │ ├── icons8_Forgot_Password_50px_4.png │ │ └── undraw_building_websites_i78t.png │ └── jframe │ │ ├── userType.java │ │ └── DBConnection.java └── nbproject │ ├── genfiles.properties │ └── project.xml └── LICENSE /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /Jar Files/RSCalendar.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/RSCalendar.jar -------------------------------------------------------------------------------- /Jar Files/RSFoto_v1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/RSFoto_v1.0.jar -------------------------------------------------------------------------------- /Readme-images/XAMPP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/XAMPP.png -------------------------------------------------------------------------------- /Readme-images/issuses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/issuses.png -------------------------------------------------------------------------------- /Readme-images/signup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/signup.png -------------------------------------------------------------------------------- /Jar Files/RSTableMetro.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/RSTableMetro.jar -------------------------------------------------------------------------------- /Readme-images/Dashboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/Dashboard.gif -------------------------------------------------------------------------------- /Readme-images/database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/database.png -------------------------------------------------------------------------------- /Readme-images/open-nbp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/open-nbp.png -------------------------------------------------------------------------------- /Readme-images/overview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/overview.gif -------------------------------------------------------------------------------- /Readme-images/overview2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/overview2.gif -------------------------------------------------------------------------------- /Timetable Management System/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Jar Files/RojeruSan.parte1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/RojeruSan.parte1.jar -------------------------------------------------------------------------------- /Jar Files/jcommon-1.0.23.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/jcommon-1.0.23.jar -------------------------------------------------------------------------------- /Readme-images/git-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/git-download.png -------------------------------------------------------------------------------- /Readme-images/subject add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/subject add.png -------------------------------------------------------------------------------- /Jar Files/jfreechart-1.0.19.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/jfreechart-1.0.19.jar -------------------------------------------------------------------------------- /Readme-images/Admin_user_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/Admin_user_add.png -------------------------------------------------------------------------------- /Readme-images/login-database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/login-database.png -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/watch: -------------------------------------------------------------------------------- 1 | version=3 2 | http://mysql.osuosl.org/Downloads/@PRODUCT_NAME@-(.+)\.tar\.gz 3 | -------------------------------------------------------------------------------- /Readme-images/location_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/location_search.png -------------------------------------------------------------------------------- /Readme-images/signup-database.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/signup-database.png -------------------------------------------------------------------------------- /Readme-images/Admin_lecture_hall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Readme-images/Admin_lecture_hall.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/DTK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/DTK.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Admin.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Clock.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Exam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Exam.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/check.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/email.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/group.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/idea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/idea.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/mail.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/menu.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/time.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/users.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/view.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Location.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/add (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/add (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/backlong.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/backlong.jpg -------------------------------------------------------------------------------- /Timetable Management System/src/icons/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/calendar.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/dashbord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/dashbord.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/homepage.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/lecturer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/lecturer.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/lectures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/lectures.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/subject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/subject.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/library-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/library-2.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Signup page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Signup page.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/car-chair (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/car-chair (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/clock (1) (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/clock (1) (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/library-3.png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/library-3.png.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/mortarboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/mortarboard.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/switch users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/switch users.png -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/clusterBase.properties: -------------------------------------------------------------------------------- 1 | # Basic properties for clusters 2 | autoReconnect=true 3 | failOverReadOnly=false 4 | -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Manage subjects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Manage subjects.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/SLIITl_ogo (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/SLIITl_ogo (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/background (1).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/background (1).jpg -------------------------------------------------------------------------------- /Timetable Management System/src/icons/conference (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/conference (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/administration (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/administration (1).png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Exit_26px_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Exit_26px_2.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Rewind_48px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Rewind_48px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Secure_50px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Secure_50px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Sell_26px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Sell_26px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/login background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/login background.png -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/INFO_SRC: -------------------------------------------------------------------------------- 1 | version: 8.0.31 2 | branch: release/8.0.31 3 | date: 2022-09-03 22:46:04 +0100 4 | commit: 0c86fc148d567b62266c2302bdad0f1e7a7e4eba 5 | short: 0c86fc14 6 | -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Account_50px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Account_50px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/signup-library-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/signup-library-icon.png -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/mysql-connector-j-8.0.31.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/mysql-connector-j-8.0.31/mysql-connector-j-8.0.31.jar -------------------------------------------------------------------------------- /Timetable Management System/src/icons/Webp.net-resizeimage (1).jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/Webp.net-resizeimage (1).jpg -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Google_Mobile_50px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Google_Mobile_50px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Secured_Letter_50px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Secured_Letter_50px.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/icons8_Forgot_Password_50px_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/icons8_Forgot_Password_50px_4.png -------------------------------------------------------------------------------- /Timetable Management System/src/icons/undraw_building_websites_i78t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Timetable Management System/src/icons/undraw_building_websites_i78t.png -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-truststore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-truststore -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-keystore -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/INFO_BIN: -------------------------------------------------------------------------------- 1 | build-date: 2022-09-03 21:54:19 +0000 2 | os-info: Linux i386 4.1.12-124.48.6.el6uek.x86_64 3 | compiler: javac 1.8.0_241 4 | build-tool: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 5 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-truststore-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-truststore-ext -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-keystore-ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusal-tharindu/Timetable-Management-System/HEAD/Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-keystore-ext -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/fullDebug.properties: -------------------------------------------------------------------------------- 1 | # Settings for 'max-debug' style situations 2 | profileSQL=true 3 | gatherPerfMetrics=true 4 | useUsageAdvisor=true 5 | logSlowQueries=true 6 | explainSlowQueries=true -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/changelog: -------------------------------------------------------------------------------- 1 | @PRODUCT_NAME@@PACKAGE_SUFFIX@ (@MYSQL_CJ_VERSION@@MYSQL_CJ_VERSION_SNAPSHOT@@DEB_VERSION_SUFFIX@@ID_RELEASE@) @CODENAME@; urgency=low 2 | 3 | * For release notes, please refer to https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/ 4 | 5 | -- @MAINTAINER_EMAIL@ @PACKAGE_TIMESTAMP@ 6 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/mykey.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBzoqQuwZ9/eKMOU0OXWJ4ISj+ 3 | 2YEk8l4OmBoC9Y2wNEe4PcjzmCF/f9aZDyH6znh0G6gmb/yrTvuNLYkTUgiFNm0y 4 | J2rSzlgmJZHkWykRkjKr4V04iAaHdU4ORre7Ms9eln7k8CeVQFpCjM51HOLkp8Ih 5 | nAVrkOhSbHI4vxprbQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/coldFusion.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Properties for optimal usage in ColdFusion 3 | # 4 | 5 | # 6 | # CF's pool tends to be "chatty" like DBCP 7 | # 8 | 9 | alwaysSendSetIsolation=false 10 | useLocalSessionState=true 11 | 12 | # 13 | # CF's pool seems to loose connectivity on page restart 14 | # 15 | 16 | autoReconnect=true 17 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/solarisMaxPerformance.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Solaris has pretty high syscall overhead, so these configs 3 | # remove as many syscalls as possible. 4 | # 5 | 6 | # Reduce recv() syscalls 7 | 8 | useUnbufferedInput=false 9 | useReadAheadInput=false 10 | 11 | # Reduce number of calls to getTimeOfDay() 12 | 13 | maintainTimeStats=false -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/copyright: -------------------------------------------------------------------------------- 1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: @PRODUCT@ 3 | Upstream-Contact: MySQL Release Engineering 4 | Source: http://dev.mysql.com/ 5 | 6 | Files: * 7 | Copyright: 2002, 2021, Oracle and/or its affiliates. 8 | License: 9 | For licensing information see the LICENSE file in this distribution. 10 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/install: -------------------------------------------------------------------------------- 1 | @DIR_PACKAGE@/@PRODUCT_NAME@-@VERSION_FULL@.jar usr/share/java 2 | 3 | #legal 4 | @DIR_PACKAGE@/@LIC_FILE@ usr/share/doc/@PRODUCT_NAME@@PACKAGE_SUFFIX@ 5 | @DIR_PACKAGE@/README usr/share/doc/@PRODUCT_NAME@@PACKAGE_SUFFIX@ 6 | @DIR_PACKAGE@/CHANGES usr/share/doc/@PRODUCT_NAME@@PACKAGE_SUFFIX@ 7 | @DIR_PACKAGE@/INFO_SRC usr/share/doc/@PRODUCT_NAME@@PACKAGE_SUFFIX@ 8 | @DIR_PACKAGE@/INFO_BIN usr/share/doc/@PRODUCT_NAME@@PACKAGE_SUFFIX@ 9 | -------------------------------------------------------------------------------- /Timetable Management System/src/jframe/userType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license 3 | * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template 4 | */ 5 | package jframe; 6 | 7 | /** 8 | * 9 | * @author Kusal Tharindu 10 | */ 11 | public class userType { 12 | 13 | public static String final_User_type; 14 | public static String final_user_name; 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Timetable Management System/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=ff06772c 2 | build.xml.script.CRC32=aab7079b 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.104.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=ff06772c 7 | nbproject/build-impl.xml.script.CRC32=712ddcd9 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.104.0.48 9 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/3-0-Compat.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Settings to maintain Connector/J 3.0.x compatibility 3 | # (as much as it can be) 4 | # 5 | 6 | emptyStringsConvertToZero=true 7 | jdbcCompliantTruncation=false 8 | noDatetimeStringSync=true 9 | nullCatalogMeansCurrent=true 10 | transformedBitIsBoolean=false 11 | dontTrackOpenResources=true 12 | zeroDateTimeBehavior=CONVERT_TO_NULL 13 | useServerPrepStmts=false 14 | autoClosePStmtStreams=true 15 | processEscapeCodesForPrepStmts=false 16 | populateInsertRowWithDefaultValues=false -------------------------------------------------------------------------------- /Timetable Management System/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Timetable Management System 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/build/misc/debian.in/control: -------------------------------------------------------------------------------- 1 | Source: @PRODUCT_NAME@@PACKAGE_SUFFIX@ 2 | Section: database 3 | Priority: optional 4 | Maintainer: Oracle MySQL Product Engineering Team 5 | Standards-Version: 3.9.2 6 | Build-Depends: debhelper (>= 8.9.4) 7 | Homepage: http://dev.mysql.com/downloads/connector/j/ 8 | 9 | Package: @PRODUCT_NAME@@PACKAGE_SUFFIX@ 10 | Section: database 11 | Architecture: all 12 | Depends: ${shlibs:Depends}, ${misc:Depends} 13 | Replaces: mysql-connector-java@PACKAGE_SUFFIX@ (<< 8.0.31) 14 | Breaks: mysql-connector-java@PACKAGE_SUFFIX@ (<< 8.0.31) 15 | Provides: mysql-connector-java@PACKAGE_SUFFIX@ 16 | Description: MySQL Connector/J 17 | Standardized MySQL database driver for Java 18 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/doc/connector-j-overview.html: -------------------------------------------------------------------------------- 1 | 2 |

MySQL Connector/J Reference

3 |

4 | 5 | This is a full documentation of Connector/J. 6 | 7 |

8 | To get started with X DevAPI, check out some of the main classes: 9 | 10 |

16 | 17 | For an introduction to X DevAPI concepts, refer to the X DevAPI User Guide. 18 | 19 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/doc/mysqlx-overview.html: -------------------------------------------------------------------------------- 1 | 2 |

MySQL Connector/J X DevAPI Reference

3 |

4 | 5 | This documentation covers the public classes and interfaces of the Java implementation of the X DevAPI. To get started, check out some of the main classes: 6 | 7 | 13 | 14 | For an introduction to concepts, refer to the X DevAPI User Guide. 15 | 16 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/mykey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQDBzoqQuwZ9/eKMOU0OXWJ4ISj+2YEk8l4OmBoC9Y2wNEe4Pcjz 3 | mCF/f9aZDyH6znh0G6gmb/yrTvuNLYkTUgiFNm0yJ2rSzlgmJZHkWykRkjKr4V04 4 | iAaHdU4ORre7Ms9eln7k8CeVQFpCjM51HOLkp8IhnAVrkOhSbHI4vxprbQIDAQAB 5 | AoGBAJbMD3L3ouCLmCfFOhiwPrr8CjrpoBvQXbD7VlnxGDL/KsLHiEFJoN7k6GQl 6 | qynMV1r4XgiyYCYnCYHa6WpYDPnHI59pq4P7UUkO8hC54FVSbnZvNLnveRa4hmYv 7 | d/7uRGEygJ0ifrHaaAztLHx5MgpMveJ4FTeQK0bjnOvTk0FBAkEA4v2QFc6em3bF 8 | 5CIvtmo44dpeX/89dzShGLheIAMlgrq2a7ZYi5L7G4NQH+nUKErObtqjGnhtZNjp 9 | 6El2B+LVfQJBANqTTz9bAIVJhnLpJz39YNXgtHQFuSNeqwI1b3XW5X037+2G1Fu5 10 | vEqc4rSn+auzqnPhvWaHL6e9s+BgxRUxELECQQCFLGLGiIzBhTOhHvWDPlrVFzrb 11 | c3JqZ7REPpbqjS4KvuSb2UWlzbwJbkcqEhPo98qZeyjKNPFpg2HoaIEZK1o5AkA6 12 | fDA4Q6FgCMxw8vINJD9E+1tNsDpZvHsFnEa2wUmmt9D7PZiU8p3vWQtQS6ICz5BM 13 | cZq8VG/r8lavMzWI9hgBAkBz92TmpDXjqsa9pJ2reqjc9EwvBwH0d4Up8jKrUotc 14 | qFNXFtt+UCBRM358LYNHJlEmorc/EM9Tx89YeNGwSgXU 15 | -----END RSA PRIVATE KEY----- 16 | -------------------------------------------------------------------------------- /Timetable Management System/src/jframe/DBConnection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package jframe; 7 | 8 | import java.sql.Connection; 9 | import java.sql.DriverManager; 10 | 11 | /** 12 | * 13 | * @author sunil 14 | */ 15 | public class DBConnection { 16 | 17 | public static void main(String args[]) { 18 | getConnection(); 19 | } 20 | 21 | 22 | static Connection con = null; 23 | 24 | public static Connection getConnection(){ 25 | try { 26 | Class.forName("com.mysql.jdbc.Driver"); 27 | con = DriverManager.getConnection("jdbc:mysql://localhost:3306/schooltimetable","root",""); 28 | System.out.println("DataBase connected"); 29 | } catch (Exception e) { 30 | e.printStackTrace(); 31 | System.out.println("DataBase Disconnected"); 32 | } 33 | return con; 34 | } 35 | 36 | 37 | } 38 | 39 | 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 pasindu26 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/maxPerformance.properties: -------------------------------------------------------------------------------- 1 | # 2 | # A configuration that maximizes performance, while 3 | # still staying JDBC-compliant and not doing anything that 4 | # would be "dangerous" to run-of-the-mill J2EE applications 5 | # 6 | # Note that because we're caching things like callable statements 7 | # and the server configuration, this bundle isn't appropriate 8 | # for use with servers that get config'd dynamically without 9 | # restarting the application using this configuration bundle. 10 | 11 | cachePrepStmts=true 12 | cacheCallableStmts=true 13 | 14 | cacheServerConfiguration=true 15 | 16 | # 17 | # Reduces amount of calls to database to set 18 | # session state. "Safe" as long as application uses 19 | # Connection methods to set current database, autocommit 20 | # and transaction isolation 21 | # 22 | 23 | useLocalSessionState=true 24 | elideSetAutoCommits=true 25 | alwaysSendSetIsolation=false 26 | 27 | # Can cause high-GC pressure if timeouts are used on every 28 | # query 29 | enableQueryTimeouts=false 30 | 31 | # Bypass connection attribute handling during connection 32 | # setup 33 | connectionAttributes=none 34 | 35 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/resources/com/mysql/cj/configurations/maxPerformance-8-0.properties: -------------------------------------------------------------------------------- 1 | # 2 | # A configuration that maximizes performance, while 3 | # still staying JDBC-compliant and not doing anything that 4 | # would be "dangerous" to run-of-the-mill J2EE applications 5 | # 6 | # Note that because we're caching things like callable statements 7 | # and the server configuration, this bundle isn't appropriate 8 | # for use with servers that get config'd dynamically without 9 | # restarting the application using this configuration bundle. 10 | 11 | cachePrepStmts=true 12 | cacheCallableStmts=true 13 | 14 | cacheServerConfiguration=true 15 | 16 | # 17 | # Reduces amount of calls to database to set 18 | # session state. "Safe" as long as application uses 19 | # Connection methods to set current database, autocommit 20 | # and transaction isolation 21 | # 22 | 23 | useLocalSessionState=true 24 | elideSetAutoCommits=true 25 | alwaysSendSetIsolation=false 26 | 27 | # Can cause high-GC pressure if timeouts are used on every 28 | # query 29 | enableQueryTimeouts=false 30 | 31 | # Bypass connection attribute handling during connection 32 | # setup 33 | connectionAttributes=none 34 | 35 | # INFORMATION_SCHEMA in MySQL 8.0 is more efficient because 36 | # of integration with data dictionary 37 | useInformationSchema=true 38 | 39 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-cert-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDsjCCApoCAQEwDQYJKoZIhvcNAQELBQAwgZwxCzAJBgNVBAYTAlVTMRMwEQYD 3 | VQQIDApDYWxpZm9ybmlhMRcwFQYDVQQHDA5SZWR3b29kIFNob3JlczEPMA0GA1UE 4 | CgwGT3JhY2xlMQ4wDAYDVQQLDAVNeVNRTDEdMBsGA1UEAwwUTXlTUUwgQ29ubmVj 5 | dG9yL0ogQ0ExHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wHhcNMjAw 6 | NjAzMjMzMDE5WhcNMzAwNjAxMjMzMDE5WjCBoDELMAkGA1UEBhMCVVMxEzARBgNV 7 | BAgMCkNhbGlmb3JuaWExFzAVBgNVBAcMDlJlZHdvb2QgU2hvcmVzMQ8wDQYDVQQK 8 | DAZPcmFjbGUxDjAMBgNVBAsMBU15U1FMMSEwHwYDVQQDDBhNeVNRTCBDb25uZWN0 9 | b3IvSiBDbGllbnQxHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wggEi 10 | MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDcO3YhUeTcyj8F3R6OqRrcLLKx 11 | h3FW6bGZL5jSO+GkMLoSWasN8wlaUGz7TJ3bmYmr1XZ8aBWVKlZVzN3vdIaOMd0/ 12 | ceoG1oiyLNHfsqo3bdA0RNMzEDj1sts8i8Ucs+sa5mI+vS7RY7gqYeybLRGYRGWu 13 | 5CTIVbTsI5BS3RS3Ekb4WcdFTFfZvEvLWSNn7ssyDdCpE6vywIwwmymk8+5L7tye 14 | xGhHQYx3Dl65yZMdgXl0b78TrJia7TIospTHRLS2cZewQCdT4Wb694JHqp1esJWP 15 | ay/xe2IACQ7H8Uco1yU1yIx1mF6YaAoyk5LKkTD9sCZgxmSoD6EhpcnhwgSbAgMB 16 | AAEwDQYJKoZIhvcNAQELBQADggEBABZNcp/PAWOQPHMjSErsqTVUpI6O2VYX8EYZ 17 | lLFb5cy7oDaTlH4vo1Fn/jCDZ7bcWuGIYVzu0xurXtowSq5xvcaxtVVzPWZobTth 18 | USrInathbupk6h2zkOjMzwS6nd86+VwI6rr6RflR5nS/T85+r19/68OtHLIcJTkP 19 | x8A03X1PzoIZh57cKcRLNabtOstk7ErnC9rXJaO8dbq9WDWkrWpQGekz4pJB2oh0 20 | CZADcrIedPRaLJ8X3ghm6ucmmCCrhKUrYYPev2O9oq9lk9Pv8ryhTWnxWjB1Ckye 21 | /Puyla0a/YDYZffWBJsunUuw7P9rnnMtKyi3/SsBOpGsxhtmSYk= 22 | -----END CERTIFICATE----- 23 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDsjCCApoCAQEwDQYJKoZIhvcNAQELBQAwgZwxCzAJBgNVBAYTAlVTMRMwEQYD 3 | VQQIDApDYWxpZm9ybmlhMRcwFQYDVQQHDA5SZWR3b29kIFNob3JlczEPMA0GA1UE 4 | CgwGT3JhY2xlMQ4wDAYDVQQLDAVNeVNRTDEdMBsGA1UEAwwUTXlTUUwgQ29ubmVj 5 | dG9yL0ogQ0ExHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wHhcNMTcw 6 | MzA0MDAwNzA3WhcNMjcwMzAyMDAwNzA3WjCBoDELMAkGA1UEBhMCVVMxEzARBgNV 7 | BAgMCkNhbGlmb3JuaWExFzAVBgNVBAcMDlJlZHdvb2QgU2hvcmVzMQ8wDQYDVQQK 8 | DAZPcmFjbGUxDjAMBgNVBAsMBU15U1FMMSEwHwYDVQQDDBhNeVNRTCBDb25uZWN0 9 | b3IvSiBDbGllbnQxHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wggEi 10 | MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCluIoIzfZDPJYrHet8kbyeG+rp 11 | 8GLVDcZ0n0EOHqkviSSpi2iEkxolpWXVBN6DddP0jE9Pitpf8dyfEnRUeEYQrU21 12 | da788gaA17mZZsfP36QRW3Jz2tekodlYtKSeo4Gl+IPIyBjeQG9sqSpQe9oyruJV 13 | LUmz9euPtJj1UqhTBVDAW9NgCGgfqAEw0Hos+H8+/LRia/9O8VThVTzlPaiJylli 14 | xxin4/JkFiQj+R7CDyhNfnY/9kY0XoeVemjkOWCMAstSqjQzevRtVdXeduzsL6fq 15 | g4tKgqOXaWUT9g2XC1807qExmo4o13X9v9fXCNv4R+vwzofYp0DSmbHUrBPhAgMB 16 | AAEwDQYJKoZIhvcNAQELBQADggEBAJg0npMHVfOXDDGbqQzRaqNY51id6/0tagRa 17 | FQfVNjaLDWI5WDDw+LRGxgiBEthbWP/dPWjiZrEr0LQFIvDcAqEtZNNcoAQEMr28 18 | tuOmVad0Es/lMf1xxghBkn8XjVwUUmLpW+WEfI1NvSdrsn70e04A0LXj88zxa2eJ 19 | smUU2ML7dAfvb+EYhLB5jnlO/ARQ8eMwHiN/lsEntX8iEDwhID+7gFubgmIkxyjM 20 | LsqgqayvTvQ/WvWSCk73oVqSRhlN30N/ses7TUDWyUvZTJorrekIiMCwNFJ6gPCU 21 | OlWO3mCFgt47XlCzLMfqfOKxDxGkcxW+S4nU0m7FbRPf7rMmBxk= 22 | -----END CERTIFICATE----- 23 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/server-cert-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDsjCCApoCAQEwDQYJKoZIhvcNAQELBQAwgZwxCzAJBgNVBAYTAlVTMRMwEQYD 3 | VQQIDApDYWxpZm9ybmlhMRcwFQYDVQQHDA5SZWR3b29kIFNob3JlczEPMA0GA1UE 4 | CgwGT3JhY2xlMQ4wDAYDVQQLDAVNeVNRTDEdMBsGA1UEAwwUTXlTUUwgQ29ubmVj 5 | dG9yL0ogQ0ExHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wHhcNMjAw 6 | NjAzMjMyNzUxWhcNMzAwNjAxMjMyNzUxWjCBoDELMAkGA1UEBhMCVVMxEzARBgNV 7 | BAgMCkNhbGlmb3JuaWExFzAVBgNVBAcMDlJlZHdvb2QgU2hvcmVzMQ8wDQYDVQQK 8 | DAZPcmFjbGUxDjAMBgNVBAsMBU15U1FMMSEwHwYDVQQDDBhNeVNRTCBDb25uZWN0 9 | b3IvSiBTZXJ2ZXIxHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNsZS5jb20wggEi 10 | MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCTHer68cds/M3Q7Z5VTn3cgDc2 11 | XKUZV4u7nXQF/lT/W7HPtpP+cJpRRbWXpwbO4whjY6vaXYvwSh9vrrfOYp7eqg9W 12 | yGQjVV3GoCJdIp+JJVG9wdYbWcWlFDNdHPOrtbkDRq9DjDlqDA9P7CM5BwykSoG1 13 | YakxjeMJWYiHLWCTJRhzE4YZ7+H/2yDwwpcgES9JwEjrEnevjR9ygCJlC05ofkwL 14 | CG6PDYdOagxcY70fW5q6U2fpBfS1WqkUZtxs5cPf7F+kdRUXPfLi2c6eAjTZVJEl 15 | JCajrGH6+f/d4pP/4ial0+nBhpZbxwccjHnhFb3YZLJprz0g3q9cBU1xMkuvAgMB 16 | AAEwDQYJKoZIhvcNAQELBQADggEBAEcoIY6hiQ9Pw3axZIY1k70Hj2EFrjtrCZNz 17 | IaOTuosQvZXAhyLU1YViU//KdR6JwI4orLZJWrSQkoAJrp38nlaiQIjqOCz2kEkE 18 | 70Cs1KWSJ9PSmQG5+JfpK+q7rFLu62MwsswRdWxXImnXrp0+pAKjGffBtuM0r51s 19 | z2nyZEpJM82h4JoFbfYm7G/7LGSiZYFEYMuVuR1N/IkAkLa6pYJuzP8CQX9BV0sb 20 | hhVCyG2xaRRk7l3OrGGUGLpGaGZAUoQtsmTrL0v533qCl0FpKAe8oL3TGP5qGgJY 21 | 1nZOplN4foXOvjKEBm+cf0gI2vQ7FzSROZ0GsY3WCLZwnwLGZkU= 22 | -----END CERTIFICATE----- 23 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIEDTCCAvWgAwIBAgIJAIiYHFajCcAZMA0GCSqGSIb3DQEBCwUAMIGcMQswCQYD 3 | VQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEXMBUGA1UEBwwOUmVkd29vZCBT 4 | aG9yZXMxDzANBgNVBAoMBk9yYWNsZTEOMAwGA1UECwwFTXlTUUwxHTAbBgNVBAMM 5 | FE15U1FMIENvbm5lY3Rvci9KIENBMR8wHQYJKoZIhvcNAQkBFhBteXNxbEBvcmFj 6 | bGUuY29tMB4XDTE3MDMwNDAwMDM0M1oXDTI3MDMwMjAwMDM0M1owgZwxCzAJBgNV 7 | BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRcwFQYDVQQHDA5SZWR3b29kIFNo 8 | b3JlczEPMA0GA1UECgwGT3JhY2xlMQ4wDAYDVQQLDAVNeVNRTDEdMBsGA1UEAwwU 9 | TXlTUUwgQ29ubmVjdG9yL0ogQ0ExHzAdBgkqhkiG9w0BCQEWEG15c3FsQG9yYWNs 10 | ZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLkHXpKMO4oUI0 11 | S64R4D2MIFtS9xXX4BK7jDW/VefKh87k9kLBPqKPb7NKqdCFcJk/JBrfvgQwb63U 12 | FH2TX3NYSQ/4gXG/UZoUMG9EK8KZ7gpKvrbgBSYAyOhE+dLrE7HYCesmS3Y4Owib 13 | 0QJx8IozDQm/JencKk7swfT6sSBvPb/rvAegiOoxb7S2EW0zWlIw4P9kPmu8X4IW 14 | 6u79gW1HyOAIi0wKFbqgXwTHaz+VtqjRglYi0U48H2xqw5IpVhZg9Di1VzeZESkD 15 | RVPNoFhhlX0xYfl3/+ZoNRVJDQHE6qXSfkDLePzw81Bl+OwO2CYZ0EXwW0bzgk9u 16 | HXuvuKrpAgMBAAGjUDBOMB0GA1UdDgQWBBSaoJ8RI8gbLGSrUwrrCbqvZR3i6DAf 17 | BgNVHSMEGDAWgBSaoJ8RI8gbLGSrUwrrCbqvZR3i6DAMBgNVHRMEBTADAQH/MA0G 18 | CSqGSIb3DQEBCwUAA4IBAQCHl2ezisRplspyEyqEH4uvBbBr1zGDXKn6BtPufXws 19 | 4S+itxrw16sGI3RmYheyYuZPM+9PlwFMsWRJtfxZc4svZRr/s9IoHHQiV/KBILfu 20 | 5JDxY1UwZcGHZ0b8XlgeBOxnq15z7YaU7+pPAVmpxmnehJCK8s+y5TlM2S2OEvYP 21 | I2swAXDE5Gzwq1Y/VExQZhRQL5LXGiNjZV+VHeLO3Vf5HrKUsKSTnq5kvdIwWELz 22 | o3NqS88gr36lBzh3aqX3/rxS0QdR4iecoG+ztO5ZS5mFpgqP+2aNAano/8cQ7jIQ 23 | 8cm4akxWarBQRLik2lB+kwsxiyGF+k8NjVUAIUh70U7H 24 | -----END CERTIFICATE----- 25 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-cert-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIEGzCCAwOgAwIBAgIUFkSKT1xCWg2PSu8fZs6OlZps+WIwDQYJKoZIhvcNAQEL 3 | BQAwgZwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRcwFQYDVQQH 4 | DA5SZWR3b29kIFNob3JlczEPMA0GA1UECgwGT3JhY2xlMQ4wDAYDVQQLDAVNeVNR 5 | TDEdMBsGA1UEAwwUTXlTUUwgQ29ubmVjdG9yL0ogQ0ExHzAdBgkqhkiG9w0BCQEW 6 | EG15c3FsQG9yYWNsZS5jb20wHhcNMjAwNjAzMjMyNTMwWhcNMzAwNjAxMjMyNTMw 7 | WjCBnDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFzAVBgNVBAcM 8 | DlJlZHdvb2QgU2hvcmVzMQ8wDQYDVQQKDAZPcmFjbGUxDjAMBgNVBAsMBU15U1FM 9 | MR0wGwYDVQQDDBRNeVNRTCBDb25uZWN0b3IvSiBDQTEfMB0GCSqGSIb3DQEJARYQ 10 | bXlzcWxAb3JhY2xlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB 11 | AMkV8+jk2aOxHxnNOu86Ejlqd28i6BcfXtjXz9c7sEDrKJStrOzSHI94wka7HEYe 12 | r3lcMf5rBO3/hNGcL6YLzkpZVKfttR/lvqsihxatLgZ0mFHp2onXd7yPkK3Ana6q 13 | xmHCQ1ASAq4sFXCmNN7Zo6u5Y48pg1ZEMCyGlz3Stu9jov4/YrXY8r3bvnda+B9S 14 | FNJenl8ynSxy6ynnpgk9y9wKFbM2wj2BjGbpirvgr+wmPsmbgExzUrED2YsJpkof 15 | nxlWBuxPnpx7cJ6zGdDQLagbfZ5ortHRSFMcYVMIpGJr9eGjf7u4sE9/UVx4gp/f 16 | p6jQKlOG2FxjQLyvjstu7BsCAwEAAaNTMFEwHQYDVR0OBBYEFC6X3Chl98Mi25O5 17 | xl08SCvAaeL/MB8GA1UdIwQYMBaAFC6X3Chl98Mi25O5xl08SCvAaeL/MA8GA1Ud 18 | EwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAIs+qEZxZUcjdYSIbXMxbppf 19 | r522fQ1yAzVgb/k2SaRR8gRTMW2/u6iazIrTRCuy2UyCY0cSw/I6j+H7rKEikhLl 20 | Nu2whzIQKUCoO1b8EKYrtX0djmxTTo/G/AgjygmlxEWMI1v2GpiaD+rOXXMvfFGC 21 | sNfQ2Bbi1mw8V/ZHShb53Bdpzs5H5NNF75Lz0SIiLxmi6fXoHXXmUHtE5dkfRmko 22 | a4/V8WcyMDOJQK/TSnsG3ug3Mg6Lkdu8uwXZcyEJ3eX40xjLyrNpq+evVHI4jM/W 23 | 93ak/JebSNWMyMY9USETkDT0nWxvcKm5stMH6WKW+7cf4TQdGNKWwbzE4GMwQnw= 24 | -----END CERTIFICATE----- 25 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/QueryResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface QueryResult { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/java/testsuite/x/devapi/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | /** 31 | * Dev API test suite. 32 | */ 33 | 34 | package testsuite.x.devapi; 35 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | public interface ProtocolEntity { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/server-cert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIEUjCCAzqgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBnDELMAkGA1UEBhMCVVMx 3 | EzARBgNVBAgMCkNhbGlmb3JuaWExFzAVBgNVBAcMDlJlZHdvb2QgU2hvcmVzMQ8w 4 | DQYDVQQKDAZPcmFjbGUxDjAMBgNVBAsMBU15U1FMMR0wGwYDVQQDDBRNeVNRTCBD 5 | b25uZWN0b3IvSiBDQTEfMB0GCSqGSIb3DQEJARYQbXlzcWxAb3JhY2xlLmNvbTAe 6 | Fw0yMDA3MDgxMDUxNTNaFw0zMDA3MDYxMDUxNTNaMIGgMQswCQYDVQQGEwJVUzET 7 | MBEGA1UECAwKQ2FsaWZvcm5pYTEXMBUGA1UEBwwOUmVkd29vayBTaG9yZXMxDzAN 8 | BgNVBAoMBk9yYWNsZTEOMAwGA1UECwwFTXlTUUwxITAfBgNVBAMMGE15U1FMIENv 9 | bm5lY3Rvci9KIFNlcnZlcjEfMB0GCSqGSIb3DQEJARYQbXlzcWxAb3JhY2xlLmNv 10 | bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJw8ZFOmkBrUmAwPtmWS 11 | tdfWR6GTw1mfzWEDKwz3wHiyqkZ2tBLxVSs+bou7d9ig+v+t7d2zsc2I4IArK5rv 12 | sbheZ/qhjxrFekGAgfJHuY2J9sdhP208Lv3DSf+9GYyCMbccSNbFEWNkE4TvwHs/ 13 | cekr0+UjH1eJ476WLjiuDTZwUlR5X/uVPKWDr2lGzMt+CCIOTygMqj6pi11Cr0Pj 14 | +IUK96NwBg+tOknD8Z7bl979Fl8WNPl6SGhhQ6FLtfZCz7U5FKEybYrRYgVfd5DG 15 | ke6y76VOaN9YFpS7VvSB5b+OkZ1WtNgo7Iao5PqT7Nks5T9gr2jNZVJjWz1+hIvp 16 | EM8CAwEAAaOBmDCBlTCBkgYDVR0RBIGKMIGHghdidWc5OTc2Ny5teXNxbC5zYW4x 17 | LnRzdIIQKi5teXNxbC5zYW4yLnRzdIITYnVnKi5teXNxbC5zYW4zLnRzdIIVKjk5 18 | NzY3Lm15c3FsLnNhbjQudHN0ghNidWc5OTc2Ny4qLnNhbjUudHN0ggpidWc5OTc2 19 | Ny4qggEqhwQJCQdDhwRjBwYHMA0GCSqGSIb3DQEBCwUAA4IBAQAHjmQ6bUvc2gLp 20 | 0OnGTTx22yfTK5xfClKQod5qCow20TZZJKmRa8vbXzPnXYi2eyn+NFqXtzI1BSc1 21 | 3DN+A3l/yyfvm3nnbRVqTdHTNNKWFuXdrdSaKY3pVUbTT+ZV4rx/dDBI94lQQ7lV 22 | SvEITgzda3JmloICZiIFuKgZ3pnJwGh7yakqKTZOC9w2G7zQjwC129L8gczimd9C 23 | 0NB7Ux5Lxz8KG5ggk6EgXtSjrw5kz9bLKbrBxqeTbt6hIijzdg/DN9ARswFxmEW5 24 | gRE9efLrjyuO7ceZ9Qdw7PEsbClf5Hq5FeOrlNeew3AnKMUPFRddVJF+cOemhZvE 25 | 6ancGoGh 26 | -----END CERTIFICATE----- 27 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/PingTarget.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface PingTarget { 33 | 34 | void doPing() throws Exception; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | /** 31 | * Java classes for X DevAPI support. 32 | * 33 | * @since 6.0 34 | */ 35 | 36 | package com.mysql.cj.xdevapi; 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/java/testsuite/x/internal/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | /** 31 | * Tests for internal components of the X Protocol and X DevAPI features. 32 | */ 33 | 34 | package testsuite.x.internal; 35 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/StreamingNotifiable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | public interface StreamingNotifiable { 33 | 34 | void setWasStreamingResults(); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/README: -------------------------------------------------------------------------------- 1 | Copyright (c) 2000, 2022, Oracle and/or its affiliates. 2 | 3 | This is a release of MySQL Connector/J, a JDBC Type 4 driver for MySQL that 4 | also supports the new X DevAPI. 5 | 6 | License information can be found in the LICENSE file. 7 | 8 | This distribution may include materials developed by third parties. 9 | For license and attribution notices for these materials, please refer to the 10 | LICENSE file. 11 | 12 | For more information on MySQL Connector/J, visit 13 | https://dev.mysql.com/doc/connector-j/8.0/en/ 14 | 15 | For additional downloads and the source of MySQL Connector/J, visit 16 | https://dev.mysql.com/downloads/ 17 | 18 | MySQL Connector/J is brought to you by the MySQL team at Oracle. 19 | 20 | Notice: 21 | - In order to use the logging capabilities provided by the default 22 | implementation com.mysql.cj.log.Slf4JLogger, it is required to add one or 23 | more jars for Simple Logging Facade for Java (SLF4J) to your CLASSPATH. 24 | - To use the X DevAPI features in Connector/J, you also need the external 25 | library protobuf-java, which you can download manually from the official 26 | Maven repository and add it to the CLASSPATH, or use Maven's automatic 27 | dependency resolution features by adding a dependency to "GroupId: com.mysql" 28 | and "ArtifactId: mysql-connector-j" to your project's pom.xml file. 29 | - To use OCI AIM authentication, you will need to add the external library 30 | oci-java-sdk-common, which you can download manually from the official Maven 31 | repository and add it to the CLASSPATH, or use Maven's automatic dependency 32 | resolution features by adding a dependency to "GroupId: com.oracle.oci.sdk" 33 | and "ArtifactId: oci-java-sdk-common" to your project's pom.xml file. -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/TransactionEventHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface TransactionEventHandler { 33 | 34 | void transactionBegun(); 35 | 36 | void transactionCompleted(); 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/Warning.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * A warning generated during statement execution. 34 | */ 35 | public interface Warning extends com.mysql.cj.protocol.Warning { 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/util/TestUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.util; 31 | 32 | public class TestUtils { 33 | 34 | public static void dumpTestcaseQuery(String query) { 35 | System.err.println(query); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/DocResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * A sequence of documents retrieved from a find query. 34 | */ 35 | public interface DocResult extends FetchResult, Result { 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/SqlStatement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * A statement representing a raw SQL command. 34 | */ 35 | public interface SqlStatement extends Statement { 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface CacheAdapterFactory { 33 | 34 | CacheAdapter getInstance(Object syncMutex, String url, int cacheMaxSize, int maxKeySize); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEpAIBAAKCAQEAy5B16SjDuKFCNEuuEeA9jCBbUvcV1+ASu4w1v1XnyofO5PZC 3 | wT6ij2+zSqnQhXCZPyQa374EMG+t1BR9k19zWEkP+IFxv1GaFDBvRCvCme4KSr62 4 | 4AUmAMjoRPnS6xOx2AnrJkt2ODsIm9ECcfCKMw0JvyXp3CpO7MH0+rEgbz2/67wH 5 | oIjqMW+0thFtM1pSMOD/ZD5rvF+CFuru/YFtR8jgCItMChW6oF8Ex2s/lbao0YJW 6 | ItFOPB9sasOSKVYWYPQ4tVc3mREpA0VTzaBYYZV9MWH5d//maDUVSQ0BxOql0n5A 7 | y3j88PNQZfjsDtgmGdBF8FtG84JPbh17r7iq6QIDAQABAoIBAQCAQDGphl9ZUW/u 8 | lsfCx26/fBtNeBKxAaGLu9iZBbyVo168blK8gYPVruBc6ARSLhC+8TZlRMhK4/G2 9 | rno3gWmgc9e2D4fkq7rRgXp4jsF6Tbj6QpHhLh01XV7JJkS2ip//prAaXmzLHJZd 10 | 5R8PPicz5sD/RxnB9n3nOIPp9fKjYjlikzESEn+BaimTFGTX2X2w/exrzDpT6jd5 11 | hTBg/v4UAs/+5v/M6646VPctz+Mc9Db1b2EH35Nv3kXHX2ts3ChRzjgKEDbEBT/q 12 | d6yb+3zd8sdZJqxWQtWMAN6BGwzSJZ3//zaqyY8K7YNEHwHJWAjjlRG1PcgQRgZc 13 | zcKVfKOpAoGBAPlu+strrwUBJD9AA1FgUQBMmCtvS1L5e4VQSqyR1g62ok3VBnJ/ 14 | olUREbMVoSJK0Kjuz+Hzrs4t6md8i1AC4zwOly/JKqWsuPXb6sCNNEi6SB6zrg4p 15 | 9CmUIp99QdpZV5Gqkk2kK/nyMHuwIbuZRLBoEpzAFmPghU+ajalKcemzAoGBANDs 16 | WiSZ6iRa9AHY69kC2V8eoRueZJTl1Kb7MsRo3vJ4GNHA5g/qbkSzDndPwpgfalvV 17 | nOZLYOCBw/HpNxAjjLMgELaVi6LsG9yA7BiXjpcUFykFsc1KdHhTOFoIS+E9mspq 18 | Otj26gwuPNJkzePJjPLAbD8KszCvoDFr8iI1EdLzAoGBAPcS5GAdcYdegx4X9XFl 19 | G7dVJ6JWouE0+RKr3twjtUprxEeejL1cCluDBepDsZH7U8cSj16899mJh9gseP6v 20 | bZEuzrlp5dGoTqpSxa0n8bNculWXHAExs4aAEu+yrklwGBrVQAiiZ2E1cqsCY9ek 21 | 0XKAFHeqmkMiwkqAyHP5pu6bAoGAYe85PkkMEei00xzdScflH4qbGPhBy+6EpZXB 22 | MYK7Z8vWTpTvA2zwLbIFyPYRkP/A+rWCrA2Ppw4NTRv2nNEdRmZ0jzJA16l4Uf/5 23 | LHn29GkNhkROGZ6aREE2fDXBZB9drR7o4QW1puoRxspMHUhAkxaSZ2bboqnhHOmu 24 | Ak0AQvMCgYAEBbYfB6PmIvPL458OL3DSc+CGyp+SMep9d5WJrSjjersO55nn3/LL 25 | lxV+zdN6gR7jQn0xtn7rHp/IpPFBc7FUqcTPFnc9YrIrBaS5yvhmv94yOf+4MCq0 26 | 7FYG2XRl9QRl+FSsxHFl8m/sl38GdIl7CQvafc2BXozdwTrzSjTSuA== 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/server-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEowIBAAKCAQEAnDxkU6aQGtSYDA+2ZZK119ZHoZPDWZ/NYQMrDPfAeLKqRna0 3 | EvFVKz5ui7t32KD6/63t3bOxzYjggCsrmu+xuF5n+qGPGsV6QYCB8ke5jYn2x2E/ 4 | bTwu/cNJ/70ZjIIxtxxI1sURY2QThO/Aez9x6SvT5SMfV4njvpYuOK4NNnBSVHlf 5 | +5U8pYOvaUbMy34IIg5PKAyqPqmLXUKvQ+P4hQr3o3AGD606ScPxntuX3v0WXxY0 6 | +XpIaGFDoUu19kLPtTkUoTJtitFiBV93kMaR7rLvpU5o31gWlLtW9IHlv46RnVa0 7 | 2Cjshqjk+pPs2SzlP2CvaM1lUmNbPX6Ei+kQzwIDAQABAoIBAGGepn1SBJaPIVXf 8 | 93Kt4asz+1vtDNGSNOyZ4yteHkgMMrKGduujGTlE8COlBjQ4Gbzp+0dcgQtQrB3J 9 | W5yaiiwN6OBEVDtBCquk1Q0CXeEfRC++BriFM0Nh43nEuRL/QnsMVELFraCxpjSY 10 | 7WbU9KLhvKteb7XttXyfL9BAiIbrW5TrHQ9FPfADg6pmckHoQnNkE4S1CQq1z/4w 11 | erlyeTNFa/ExAsrPsmjMp/6bur4zdW4t+5GpB2DZf+4P4pEIHJGRwNzU/Eq0TlNs 12 | TTmhlba6X/gSMNm0vYEXnNItb+ItiOsGqoLCzUzaAN7jvdsqAiVaiRvObtBLj76/ 13 | 17INnOECgYEA0E2ZHzVg9MaMUhC9dwHawGbbqeZfnAC89J9Hapt0WDtMuulsA+V8 14 | C2Ek4Rxpe62DuXdcvYSSuL3VJ4oWffkKngll5m+SiCSuuaDT9KAJ01sklIsGDAWE 15 | E0gYWg1sqsj5UE2r7O5TzfRnitglDwyNY87KYvxX7jI6mpHCPSHbblECgYEAwAKy 16 | DaIS6gtOfXLhXfzV+Qslsulcf4FRdI06XFVhmXziW6spdl2qVuKTWAiKK69zTRQD 17 | 2cXVxMf+VEvF7btyllNBYEdU1NcX3gCqCmb1LRqngIQkL0oPlXVaZnN5q17tXAPO 18 | Oxd3waefIqBjWJ03qc37oQzuCAXBiYKlUFLVJR8CgYAmgNF29VTwqeqyGKoM32jh 19 | +6FK7Gxr168VwINg7084J+3s9syig77EE7bPbYMJ+27Hz4py9ZhxUZWe82Vo76nI 20 | wI/3YlRBmhY59cJ4C0UFrmk6k+AQRMy/C6qEqsqVXwTGlTTcXMlc3nptLbrb50QT 21 | WNwMI/zU6K/wdlTjG+kFoQKBgG79X+UHib1mOcHENUe6Dgm+itUnlcNSgj5IILMc 22 | 26T4jnQEtZvpOrysjhV2IkBsU877QdqRRCdSn84kWs43612/1GuN8Bh0GSTH54LJ 23 | zvF6ldZxC+WV/voa8t2D5JHN9pCY1o5L23rCpPdEFQk1H+b03X5T1ggnI5+UOHD8 24 | 4J5rAoGBAJ2x4bRSj/vBgiNUvyvTv6JQoH1hCvDNEYT4TUr8XzMjVcS5voqokAQc 25 | mGseepXn6OU+JDW7N/DvgNStkgN6Gj1J/aTwPerC7exkMr4c6YOudjZUZJnOjUj4 26 | qHfAGQ5Vwo7fc9S6ymaxzAw5bFNHhZd4P3D1qzpU4804r8CMExUM 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/QueryReturnType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2021, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | /** 33 | * The possible return types from executing queries. 34 | */ 35 | public enum QueryReturnType { 36 | PRODUCES_RESULT_SET, MAY_PRODUCE_RESULT_SET, DOES_NOT_PRODUCE_RESULT_SET, NONE; 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/DeadlockTimeoutRollbackMarker.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | /** 33 | * Marker interface for exceptions that are caused by deadlock/wait timeout 34 | */ 35 | public interface DeadlockTimeoutRollbackMarker { 36 | 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/ca-key-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEpgIBAAKCAQEAyRXz6OTZo7EfGc067zoSOWp3byLoFx9e2NfP1zuwQOsolK2s 3 | 7NIcj3jCRrscRh6veVwx/msE7f+E0ZwvpgvOSllUp+21H+W+qyKHFq0uBnSYUena 4 | idd3vI+QrcCdrqrGYcJDUBICriwVcKY03tmjq7ljjymDVkQwLIaXPdK272Oi/j9i 5 | tdjyvdu+d1r4H1IU0l6eXzKdLHLrKeemCT3L3AoVszbCPYGMZumKu+Cv7CY+yZuA 6 | THNSsQPZiwmmSh+fGVYG7E+enHtwnrMZ0NAtqBt9nmiu0dFIUxxhUwikYmv14aN/ 7 | u7iwT39RXHiCn9+nqNAqU4bYXGNAvK+Oy27sGwIDAQABAoIBAQCeQ832JnB5WoWM 8 | 7C+Pa9g+ImKgMQwUbtdaufjWgR8G6U7GPi9VMUXTUgsuWkQ1mB8p2Htsr9RwcWSb 9 | CV+jQ7V4ZPixNvEQiuVXklRab7FC2W+tQO6FAPY3jZMkfe5dNAHxnVEXayV66i1x 10 | vQ7tusQL+1y1p8m8Eu0Ljl7pBLiAjjgNJKDCalgo9EeYlWB4DOKLsiF24E5GKUqB 11 | X3zXAKvi5zzYMejhkZFLQE2dekshRP88O35+bw3ozw238HAKyoMAYeVf2jVwktUW 12 | 30jHW4yru5Af2W2030EWoh4nUDfZUk7jvw8zquhltMm/Ca/qSvKjq6kOTXu+7U6U 13 | sIJHBqxhAoGBAPNHE1uKUzu0KV1yVXkc3jTYnknoCCE6iu/0dC6L9PcR4td7wTmq 14 | WAqfUUv8dfwR2mAmyvULIWwaiWv7IcPnt4amXe+biukE4vzOoa74i9cgxXu5A8od 15 | zUwBq07mk01UABQy63LJHB9kDeo6XeTNZjM7a3vFJgDKc3pc78JvGnkxAoGBANOa 16 | BoXIWYu5RKIFhyBRLNDSCdZPKi5AMh3Er2oi5QJztf87sFm2EK6vuCnLc+Qhcj8f 17 | MgZiXwlJCOKgRKyGKGaIl/zIwKxEhHKsN8slHQuVvhp+9qz/CFQYcyM9ye4GdHTq 18 | pfNVrIMZdu83aIRcmi04F+obsu+ZZVZoQCDk2WcLAoGBAKqIRDWC/V14qRZsMyY2 19 | 6jy5LBw6nphMZWBXR6npScp3qz/J7GTz18t6ao6NZldQXHfSOasUJlWVNIeQ/tZI 20 | 9AlbTbXMns9BMaxtXEE+0Sf4PPbBdrqTsXl6Ig+o6dDm9TczioBoIWKPzIFIcNEW 21 | enGnUWztgfpD8DbyNs9g+nnBAoGBAKDOo/hVit+pe2QaCVfg+Mr1ZC5u2SJu/Ocs 22 | ixaA0EMtxnjiVqHGwCTRO4bfrAIJ/PXFclHxvkGjNFJt8+KczeUmF0MvGWWRaIpx 23 | ILGMUed09BTUugg8hIrMTevRUD1IwIX9sQIc8M5ssrsXA6Hbcfu9bkcmp7R4gc/J 24 | yDp3UFSDAoGBAKPlusGAGwoM+Rk1fUiNHLF3uzi69OoeKFqeq9mUmGpkXs7fB1HJ 25 | b1/XaTQSMMt35JFlHbiQIG/iINNHL92IO1X2jUswB1P0gyPhv/KTcQ4VRXU+l846 26 | rq26BAfo/dxUd761PNj0XyIjYhddgbkbeF1lxnLqNZJ80rW0JXPa76qz 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEpAIBAAKCAQEApbiKCM32QzyWKx3rfJG8nhvq6fBi1Q3GdJ9BDh6pL4kkqYto 3 | hJMaJaVl1QTeg3XT9IxPT4raX/HcnxJ0VHhGEK1NtXWu/PIGgNe5mWbHz9+kEVty 4 | c9rXpKHZWLSknqOBpfiDyMgY3kBvbKkqUHvaMq7iVS1Js/Xrj7SY9VKoUwVQwFvT 5 | YAhoH6gBMNB6LPh/Pvy0Ymv/TvFU4VU85T2oicpZYscYp+PyZBYkI/kewg8oTX52 6 | P/ZGNF6HlXpo5DlgjALLUqo0M3r0bVXV3nbs7C+n6oOLSoKjl2llE/YNlwtfNO6h 7 | MZqOKNd1/b/X1wjb+Efr8M6H2KdA0pmx1KwT4QIDAQABAoIBADV0tXHpngpKPNZj 8 | rFZeXE1UDA6yL+8xplZwGHgJg+GFh4H5Khm5qbGDDLoN/AjDtT8pE1xBGffg+J2H 9 | QmcM9OzkOjDSaUPGfjqJW6ET+lgfd7jxmpWsferpGkb23jMd4vA6nafig8MNXePb 10 | HX8gtF2s8+0t0pxuMzIDu2NG6mz8wQ3/V4vrbOM/AV5oXysfWei1NyU8z0DDHBd6 11 | GrriUvKUPmSXWR1uO6LKMO0+TxCZlAFHN0K7Ej1LU5nw3nzGaHkggvmch7od1qXr 12 | 7C6Hlf1I2iX2x7l14P99rQrj0JLZtm0aB3HHAymfNk0yrzkEraaUgkTccSfknfaq 13 | iD4ZBwECgYEA0SMQXt4ZyOVGYFPxegQF8BW/7S/FRdoQS94t5NJ04uZgWo0VMYII 14 | Pl05r3QLn4+86ZB5Pzg6lsC0d/GpsHxPoHXl9+LTlXkGWoorLGbMA1L+P7ZrUwP0 15 | tx/tDioc6mwautExV/VcIJm5j1c6PbpsEBCRBDCu9meVcKl18UAl2qkCgYEAytrz 16 | 6Dy5qxyXui3jcBvKPtk6ETs5uxWekQvMNB6jmN6qKlKle1yaJwIwWwV671iUjPst 17 | UN+AJGELdgZJOzg9AHeoIpvgGQ2bMp5NwTimvY6M6kbH4za+bgZAXZdYoqB5ReZG 18 | 5QR1+eEL+r9oVvqcCaAYc3r30uDxMPNRZR6oKnkCgYEAkvyO6+4ztyOVU+yLolMj 19 | jTrsGprhjpeVrozoOpPD/RknjVztEU+v1Y0WFv97j9ipUIru/ITbgMrNzCM4PUcR 20 | e9iBGbj9NmfKFGZZs6pIJun0sfjW85CrNO2mYbctfYEfRD/06zoSVwNUDK+kym+0 21 | tZG/Km/A+IOS34zqzPVl5YkCgYEAiDLOBKWQ+6Qs8yIQTJs8BUqQRDWBo2z2k+hZ 22 | 6LyRlvgZRGVNGjCoh3xevx5E1iKhSq7yVBRb0xEdQtchoBM4UfIE/4esxOVvyGKl 23 | ThAdU7Q8RKfVWWbOIM0ttikBp98azaW4/9co5ucExgxxn8SPs568C/0KG5pQFk+n 24 | 3L7ipfECgYBAoVUMbq8WbT9GQr2lIs4P3/tDX7PZ3YgoN2+txoVi16Xzxcy1YUBE 25 | gd9prvNpOULwlXd7/Ip3riXkypU7tKXmsu8WloucOO+cHSpGXKzt0I8bbHYYx46N 26 | 2GZb7oVya/0nv9vWuPF94eKAd//qA/FyCgQexDG/F7fT44uf5Vw0Vw== 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/server-key-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEowIBAAKCAQEAkx3q+vHHbPzN0O2eVU593IA3NlylGVeLu510Bf5U/1uxz7aT 3 | /nCaUUW1l6cGzuMIY2Or2l2L8Eofb663zmKe3qoPVshkI1VdxqAiXSKfiSVRvcHW 4 | G1nFpRQzXRzzq7W5A0avQ4w5agwPT+wjOQcMpEqBtWGpMY3jCVmIhy1gkyUYcxOG 5 | Ge/h/9sg8MKXIBEvScBI6xJ3r40fcoAiZQtOaH5MCwhujw2HTmoMXGO9H1uaulNn 6 | 6QX0tVqpFGbcbOXD3+xfpHUVFz3y4tnOngI02VSRJSQmo6xh+vn/3eKT/+ImpdPp 7 | wYaWW8cHHIx54RW92GSyaa89IN6vXAVNcTJLrwIDAQABAoIBAHoBH7RI+ogKB22z 8 | AdHhLEPHGQK+RjUEA1/uLiAiUb8L/iQyV/10yKWJ2BUScXT1lylFqWmIltsJvZRT 9 | Ix/HbdVe1yWzPkiHLSPh/V2brw5/opBpxfQcuOo0HHyl2/aU2AA9iG/ORHcL1U8E 10 | mBldHUDKgVM40KXF83j3hWAFY8fig8dsq8cCEGHZjSVFk4NqCk2kYvgq/yZD+CZe 11 | K+drgTSvTymLY1RRz3VPQlPVP1aJjimjUIXIQHsVH+eYq0mt3fpDDiq2hpjctJr/ 12 | kct9gASxtzkIwX1h6UJY6OI6Uc9PUEQDn+s1YYp3Me8imsG2QHFchQV4z0oUy/kc 13 | g0PI7fECgYEAwobACHdRbmDzP9ePJn7giMT9YwS8UuMuJUfXjNeuH7rDxjMnRlYB 14 | 2O4NdVNbgheiE15tQRdSRse1ND3D8+oLIy9I0ruMQwqqnMZqAD1lOnrMRC0jblpy 15 | nUX+OVF7YILHHUEa0hv5wGJwW/0hEqqN/rduxL8kl8f9yMeQhdqpXsMCgYEAwZu5 16 | DlzaH5wbtK1he7jk2Hxrxmxq5AbnfJJsSGQ1fbvilEV290tmkgjVSUFPz5TzlWFf 17 | 8CgcnL06KZzqK2nRieHuWyIlCgJiy6HbfL6TaL9Y7P1t1/T0EEuT3M21kceKXodr 18 | QHFOyhYMbJkLSX/feAZ023wb7vkXXCNG5BfDaKUCgYAkTc+zBMmuxus+4/T0Y0N2 19 | YwVDIJQhCAMJtCG3SF1X0JxO9icDSnPnz221kswGOHDoGnxbZIXXbdgUmt5iPDC9 20 | 7UozAguIS4pR3fnUd6DXzCkpJB9zre+sCG8MtXdIKMAOZqMhyVTQIc8Ea/ZrLGd5 21 | vTQwBdhHd2yWtx/yyz9GzwKBgQC4xzqzLoMvL/pxUhh70Fb5FqZ11fuebch45/ZY 22 | kOtMeQkiobmNA3V9YtjM9XyKjYp8w1ahCmdkYGUmWhBUJsZJZkvqxoe7KdPIrU2h 23 | nPFrQ1RHuwge2DYnZzpTvjDQVTUGSxBdjMa5sJli/B39pAFPuDnHUIgIZ8uXsEN0 24 | Zgml0QKBgGCkWamKqDlFlPbVN+wJRIuMwAB6mNLYqL+loRd4VnYMK7crEZdbdOTK 25 | gZFUwfhvDm+6bHbza8dqSImeOUkFAi9vetycb9sXvNVtmmXNyGIGezPkL4bApJ80 26 | cKK7k/MU71+t+e9/r3s+o4PGJ8joaTFZgqzId3nuQ7iy8PIPJRlv 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-impl/java/com/mysql/cj/SimpleQuery.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | //TODO should not be protocol-specific 33 | 34 | public class SimpleQuery extends AbstractQuery { 35 | 36 | public SimpleQuery(NativeSession sess) { 37 | super(sess); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/config/ssl-test-certs/client-key-ext.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEpQIBAAKCAQEA3Dt2IVHk3Mo/Bd0ejqka3CyysYdxVumxmS+Y0jvhpDC6Elmr 3 | DfMJWlBs+0yd25mJq9V2fGgVlSpWVczd73SGjjHdP3HqBtaIsizR37KqN23QNETT 4 | MxA49bLbPIvFHLPrGuZiPr0u0WO4KmHsmy0RmERlruQkyFW07COQUt0UtxJG+FnH 5 | RUxX2bxLy1kjZ+7LMg3QqROr8sCMMJsppPPuS+7cnsRoR0GMdw5eucmTHYF5dG+/ 6 | E6yYmu0yKLKUx0S0tnGXsEAnU+Fm+veCR6qdXrCVj2sv8XtiAAkOx/FHKNclNciM 7 | dZhemGgKMpOSypEw/bAmYMZkqA+hIaXJ4cIEmwIDAQABAoIBAQDUZHQUxkoVtOb6 8 | 3LlvlB7XYDQlih4AV/hzZ7fWaPG/y05oDBovpcfLVe0EnmtPMc/X7FIMwMSvytjg 9 | fmc7XAG4eNaLLW0pkxTZ4Oe2+TO3qSw2fHnCsU59hjRxO8qpV8rRcoYlQ4Y3Yhhm 10 | p3HsZZamZrA57sSagC2v3sx9XcFwm2HaGE5iKQSst883GV/IZWPdfT9WohbwxZe5 11 | TuMDvA9bj7u1WXxzw1xcs4pv1u3UqZMY29tEmnkiz2125Ju8ADMYjgsJS1TDcwn4 12 | xHrKVItQrXmfOh8EvXneo0ROlBwSVIHNA7CPoZJKtmOjZ1VOwV2Q//OzhO6wysFx 13 | xJhMIC9hAoGBAPAWNY9Cnx2YlJbhATChixpNBtQXiiufPE3sG+U9ZGxC06b5yoeW 14 | V5q0d9ejy/B5y1UhlqQEIoYm47Rf0n4gJxymWnoq3C279x6mXxBR+KwATufDcxvm 15 | HTRyAFqjNOZSlknM5v4n6hmAQWhLIv/vRLzNulZ4maCQ6pp72AJN/KAVAoGBAOrU 16 | XIiFnqJ866XihA2pi8XAIcfRH0tFWrNYFyOJifRa3N59/YxTI+mxBqVFldNToT4w 17 | BOG0nAQsrvCk2dtBb2pOhrqpgqLW29uBdrclHp2qr/zXT6eQUMCl2HngGsYR/Ge5 18 | itbKrtREEgfioc6huU97OeuhPfquuFZTFj2WCY3vAoGBALytt4nOoZ1wu9WXHohJ 19 | bDhPMH6dwUhm682RMJsHlFRAcHVY+YF09YPvL/+YCj4CeXl93BUp6rfi+DBY3eOh 20 | ARvS4GgCJucKQTslJLB+ux7xXxFk2KGkRm9g6EZS3M/lN5boIOC8HY3M7Zo48liQ 21 | gUSfqUErphA50yV1Dl1BTLfBAoGBAKZE9LvJeFfugV90MjIGQSwkbQaxICpIkf74 22 | OXH1GZPFnit/I75uw7fcmyr8SShXR4zjrSEuo2UlSjyjTIm9HCk2LpkOGqw323Xh 23 | hfAJPVM/nto0jXbEbRjqlIs+zVY/N+staYvJ+N3c0LN6mTzYL4CCbLFU+rB7c5PT 24 | wqSajmtLAoGAJ84BpcZUYul9A7uDfQluVqQsp1fRS92FP4Yq7qVVccz9es2NosN9 25 | b8ZVpRdqxEvx8RvKPjXrl9VBqW7YuUvRrH7DRw+vmixeqnsLmCq6fGUeP75rTFPH 26 | EcUdNhwYMjpZWxNxOLcA34QLYZopkNVp/loQ8Dy5wntWfPZzKVwVHNI= 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/conf/HostsListView.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.conf; 31 | 32 | /** 33 | * An enumeration that identifies the type of the view intended for getting hosts lists for multi-host connections. 34 | */ 35 | public enum HostsListView { 36 | ALL, SOURCES, REPLICAS; 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Column type. 34 | */ 35 | public enum Type { 36 | BIT, TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT, FLOAT, DECIMAL, DOUBLE, JSON, STRING, BYTES, TIME, DATE, DATETIME, TIMESTAMP, SET, ENUM, GEOMETRY, 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/PacketReceivedTimeHolder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | /** 33 | * Holds the time the last packet was received. 34 | */ 35 | public interface PacketReceivedTimeHolder { 36 | default long getLastPacketReceivedTime() { 37 | return 0; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/WatchableStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | public interface WatchableStream { 33 | 34 | void setWatcher(OutputStreamWatcher watcher); 35 | 36 | int size(); 37 | 38 | byte toByteArray()[]; 39 | 40 | void write(byte b[], int off, int len); 41 | 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/DataStoreMetadata.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface DataStoreMetadata { 33 | 34 | boolean schemaExists(String schemaName); 35 | 36 | boolean tableExists(String schemaName, String tableName); 37 | 38 | long getTableRowCount(String schemaName, String tableName); 39 | 40 | } 41 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/CacheAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | import java.util.Set; 33 | 34 | public interface CacheAdapter { 35 | V get(K key); 36 | 37 | void put(K key, V value); 38 | 39 | void invalidate(K key); 40 | 41 | void invalidateAll(Set keys); 42 | 43 | void invalidateAll(); 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Ok.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.QueryResult; 33 | import com.mysql.cj.protocol.ProtocolEntity; 34 | 35 | /** 36 | * ProtocolEntity representing an OK message. 37 | */ 38 | public class Ok implements ProtocolEntity, QueryResult { 39 | 40 | public Ok() { 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/WarningListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | /** 33 | * A warning listener is notified of warnings as they happen throughout the driver. They can be queued for consumption by JDBC clients, thrown as exceptions, or 34 | * ignored. 35 | */ 36 | public interface WarningListener { 37 | void warningEncountered(String warning); 38 | } 39 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/MessageHeader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | import java.nio.ByteBuffer; 33 | 34 | /** 35 | * Represents the protocol specific message header 36 | */ 37 | public interface MessageHeader { 38 | 39 | ByteBuffer getBuffer(); 40 | 41 | int getMessageSize(); 42 | 43 | byte getMessageSequence(); 44 | 45 | } 46 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Update operation type. 34 | */ 35 | public enum UpdateType { 36 | // these must mirror exactly the names of UpdateOperation.UpdateType in mysqlx_crud.proto 37 | SET, ITEM_REMOVE, ITEM_SET, ITEM_REPLACE, ITEM_MERGE, ARRAY_INSERT, ARRAY_APPEND, MERGE_PATCH 38 | } 39 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/callback/MysqlCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, 2022, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.callback; 31 | 32 | /** 33 | * Implementations of this interface can be passed to a {@link MysqlCallbackHandler} so that the owner of the callback handler and its caller can share data in 34 | * a way that would otherwise require tighter coupling. 35 | */ 36 | public interface MysqlCallback { 37 | } 38 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/CancelQueryTask.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | public interface CancelQueryTask { 33 | 34 | boolean cancel(); 35 | 36 | Throwable getCaughtWhileCancelling(); 37 | 38 | void setCaughtWhileCancelling(Throwable caughtWhileCancelling); 39 | 40 | Query getQueryToCancel(); 41 | 42 | void setQueryToCancel(Query queryToCancel); 43 | 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-impl/java/com/mysql/cj/conf/EnumProperty.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.conf; 31 | 32 | public class EnumProperty> extends AbstractRuntimeProperty { 33 | 34 | private static final long serialVersionUID = -60853080911910124L; 35 | 36 | protected EnumProperty(PropertyDefinition propertyDefinition) { 37 | super(propertyDefinition); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResults.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntity; 33 | 34 | /** 35 | * ProtocolEntity representing a {@link FetchDoneMoreResults} message. 36 | */ 37 | public class FetchDoneMoreResults implements ProtocolEntity { 38 | 39 | public FetchDoneMoreResults() { 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-impl/java/com/mysql/cj/conf/BooleanProperty.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.conf; 31 | 32 | public class BooleanProperty extends AbstractRuntimeProperty { 33 | 34 | private static final long serialVersionUID = 1102859411443650569L; 35 | 36 | protected BooleanProperty(PropertyDefinition propertyDefinition) { 37 | super(propertyDefinition); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/jdbc/result/CachedResultSetMetaData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc.result; 31 | 32 | import java.sql.ResultSetMetaData; 33 | 34 | import com.mysql.cj.protocol.ColumnDefinition; 35 | 36 | public interface CachedResultSetMetaData extends ColumnDefinition { 37 | 38 | ResultSetMetaData getMetadata(); 39 | 40 | void setMetadata(java.sql.ResultSetMetaData metadata); 41 | } 42 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultBuilder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Result builder producing an {@link AddResult} instance. 34 | */ 35 | public class AddResultBuilder extends UpdateResultBuilder { 36 | 37 | @Override 38 | public AddResult build() { 39 | return new AddResultImpl(this.statementExecuteOkBuilder.build()); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionMode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | /** 33 | * The modes by which compression can be made. In message mode each X Protocol message is compressed independently of the others; in stream mode all messages 34 | * are compressed as if they belong to a continuous flow of compressed data. 35 | */ 36 | public enum CompressionMode { 37 | MESSAGE, STREAM; 38 | } 39 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntity; 33 | import com.mysql.cj.x.protobuf.MysqlxResultset.FetchDone; 34 | 35 | /** 36 | * ProtocolEntity representing a {@link FetchDone} message. 37 | */ 38 | public class FetchDoneEntity implements ProtocolEntity { 39 | 40 | public FetchDoneEntity() { 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultBuilder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Result builder producing an {@link InsertResult} instance. 34 | */ 35 | public class InsertResultBuilder extends UpdateResultBuilder { 36 | 37 | @Override 38 | public InsertResult build() { 39 | return new InsertResultImpl(this.statementExecuteOkBuilder.build()); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/InsertResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * A result from the table.insert() statement. 34 | */ 35 | public interface InsertResult extends Result { 36 | 37 | /** 38 | * Get the auto-increment value if one was generated from a row insert statement. 39 | * 40 | * @return auto-increment value 41 | */ 42 | Long getAutoIncrementValue(); 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/conf/DatabaseUrlContainer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.conf; 31 | 32 | /** 33 | * Implementors of this class must be able to provide a database URL. 34 | */ 35 | public interface DatabaseUrlContainer { 36 | /** 37 | * Returns the original database URL that produced this connection string. 38 | * 39 | * @return the original database URL 40 | */ 41 | String getDatabaseUrl(); 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/NumberOutOfRange.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | /** 33 | * Indicates that a number was out of the expected range. 34 | */ 35 | public class NumberOutOfRange extends DataReadException { 36 | private static final long serialVersionUID = -61091413023651438L; 37 | 38 | public NumberOutOfRange(String msg) { 39 | super(msg); 40 | setSQLState("22003"); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | 34 | /** 35 | * Factory producing {@link Ok} from protocol message. 36 | */ 37 | public class OkFactory implements ProtocolEntityFactory { 38 | 39 | @Override 40 | public Ok createFromMessage(XMessage message) { 41 | return new Ok(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/java/testsuite/regression/NonLocalSocketFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package testsuite.regression; 31 | 32 | import com.mysql.cj.Session; 33 | import com.mysql.cj.protocol.StandardSocketFactory; 34 | 35 | public class NonLocalSocketFactory extends StandardSocketFactory { 36 | 37 | @Override 38 | public boolean isLocallyConnected(Session sess) { 39 | String processHost = "www.oracle.com:3306"; 40 | return isLocallyConnected(sess, processHost); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/NoticeFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | 34 | /** 35 | * Factory producing {@link Notice} from protocol message. 36 | */ 37 | public class NoticeFactory implements ProtocolEntityFactory { 38 | 39 | @Override 40 | public Notice createFromMessage(XMessage message) { 41 | return Notice.getInstance(message); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/CJOperationNotSupportedException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | public class CJOperationNotSupportedException extends CJException { 33 | 34 | private static final long serialVersionUID = 2619184100062994443L; 35 | 36 | public CJOperationNotSupportedException() { 37 | super(); 38 | } 39 | 40 | public CJOperationNotSupportedException(String message) { 41 | super(message); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/AddResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | import java.util.List; 33 | 34 | /** 35 | * A result from the collection.add() statement. 36 | */ 37 | public interface AddResult extends Result { 38 | 39 | /** 40 | * Get a list of document ids generated in the server for the documents added by collection.add(). 41 | * 42 | * @return all generated document ids 43 | */ 44 | List getGeneratedIds(); 45 | } 46 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/DataConversionException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | /** 33 | * Indicates that data could not be converted according to the given request. 34 | */ 35 | public class DataConversionException extends DataReadException { 36 | private static final long serialVersionUID = -863576663404236982L; 37 | 38 | public DataConversionException(String msg) { 39 | super(msg); 40 | setSQLState("22018"); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/generated/java/com/mysql/cj/x/protobuf/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | /** 31 | * Message classes used for serialization with Google Protocol Buffers to support the X Protocol. Classes are generated using protoc like so: 32 | * 33 | *
34 |  * protoc --java_out=PATH/src/generated/java --proto_path=PATH_TO_IMPORTS -I=PATH_TO_MYSQL_REPO/rapid/plugin/x/protocol PATH_TO_MYSQL_REPO/rapid/plugin/x/protocol/*.proto
35 |  * 
36 | * 37 | * @since 6.0 38 | */ 39 | 40 | package com.mysql.cj.x.protobuf; 41 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-impl/java/com/mysql/cj/conf/StringProperty.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.conf; 31 | 32 | public class StringProperty extends AbstractRuntimeProperty { 33 | 34 | private static final long serialVersionUID = -4141084145739428803L; 35 | 36 | protected StringProperty(PropertyDefinition propertyDefinition) { 37 | super(propertyDefinition); 38 | } 39 | 40 | @Override 41 | public String getStringValue() { 42 | return this.value; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/MessageBuilder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2022, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj; 31 | 32 | import java.util.List; 33 | 34 | import com.mysql.cj.protocol.Message; 35 | 36 | public interface MessageBuilder { 37 | 38 | M buildSqlStatement(String statement); 39 | 40 | M buildSqlStatement(String statement, List args); 41 | 42 | M buildClose(); 43 | 44 | M buildComQuery(M sharedPacket, Session sess, PreparedQuery preparedQuery, QueryBindings bindings, String characterEncoding); 45 | } 46 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntityFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | 34 | /** 35 | * Factory producing {@link FetchDoneEntity} from protocol message. 36 | */ 37 | public class FetchDoneEntityFactory implements ProtocolEntityFactory { 38 | 39 | @Override 40 | public FetchDoneEntity createFromMessage(XMessage message) { 41 | return new FetchDoneEntity(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/Warning.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | public interface Warning { 33 | /** 34 | * Get warning level. 35 | * 36 | * @return Warning level 37 | */ 38 | int getLevel(); 39 | 40 | /** 41 | * Get warning code. 42 | * 43 | * @return Warning code 44 | */ 45 | long getCode(); 46 | 47 | /** 48 | * Get warning message. 49 | * 50 | * @return Warning message 51 | */ 52 | String getMessage(); 53 | } 54 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessorResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc; 31 | 32 | /** 33 | * Wraps output from EscapeProcessor, to help prevent multiple passes over the query string, to detect characters such as '@' (defining/using a variable), 34 | * which are used further up the call stack to handle failover. 35 | */ 36 | class EscapeProcessorResult { 37 | boolean callingStoredFunction = false; 38 | 39 | String escapedSql; 40 | 41 | byte usesVariables = StatementImpl.USES_VARIABLES_FALSE; 42 | } 43 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/log/ProfilerEventHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.log; 31 | 32 | import com.mysql.cj.Query; 33 | import com.mysql.cj.Session; 34 | import com.mysql.cj.protocol.Resultset; 35 | 36 | public interface ProfilerEventHandler { 37 | 38 | void init(Log log); 39 | 40 | void destroy(); 41 | 42 | void consumeEvent(ProfilerEvent evt); 43 | 44 | void processEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message); 45 | } 46 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | 34 | /** 35 | * Factory producing {@link StatementExecuteOk} from protocol message. 36 | */ 37 | public class StatementExecuteOkFactory implements ProtocolEntityFactory { 38 | 39 | @Override 40 | public StatementExecuteOk createFromMessage(XMessage message) { 41 | return new StatementExecuteOk(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResultsFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | 34 | /** 35 | * Factory producing {@link FetchDoneMoreResults} from protocol message. 36 | */ 37 | public class FetchDoneMoreResultsFactory implements ProtocolEntityFactory { 38 | 39 | @Override 40 | public FetchDoneMoreResults createFromMessage(XMessage message) { 41 | return new FetchDoneMoreResults(); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncFlushDeflaterOutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import java.io.OutputStream; 33 | import java.util.zip.Deflater; 34 | import java.util.zip.DeflaterOutputStream; 35 | 36 | /** 37 | * Wrapper around {@link DeflaterOutputStream} that enables sync flush by default. 38 | */ 39 | public class SyncFlushDeflaterOutputStream extends DeflaterOutputStream { 40 | public SyncFlushDeflaterOutputStream(OutputStream out) { 41 | super(out, new Deflater(), true); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalancedConnection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc.ha; 31 | 32 | import java.sql.SQLException; 33 | 34 | import com.mysql.cj.jdbc.JdbcConnection; 35 | 36 | public interface LoadBalancedConnection extends JdbcConnection { 37 | 38 | boolean addHost(String host) throws SQLException; 39 | 40 | void removeHost(String host) throws SQLException; 41 | 42 | void removeHostWhenNotInUse(String host) throws SQLException; 43 | 44 | void ping(boolean allConnections) throws SQLException; 45 | 46 | } 47 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-impl/java/com/mysql/cj/protocol/WriterWatcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | /** 33 | * Objects that want to be notified of lifecycle events on a WatchableWriter should implement this interface, and register themselves with setWatcher() on the 34 | * WatchableWriter instance. 35 | */ 36 | public interface WriterWatcher { 37 | /** 38 | * Called when the Writer being watched has .close() called 39 | * 40 | * @param out 41 | * WatchableWriter instance 42 | */ 43 | void writerClosed(WatchableWriter out); 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/java/com/mysql/cj/result/BinaryStreamValueFactoryTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.result; 31 | 32 | import static org.junit.jupiter.api.Assertions.assertEquals; 33 | 34 | import org.junit.jupiter.api.Test; 35 | 36 | import com.mysql.cj.conf.DefaultPropertySet; 37 | 38 | public class BinaryStreamValueFactoryTest extends CommonAsserts { 39 | @Test 40 | public void testBasics() { 41 | BinaryStreamValueFactory vf = new BinaryStreamValueFactory(new DefaultPropertySet()); 42 | assertEquals("java.io.InputStream", vf.getTargetTypeName()); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/jdbc/NClob.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc; 31 | 32 | import com.mysql.cj.exceptions.ExceptionInterceptor; 33 | 34 | /** 35 | * Simplistic implementation of java.sql.NClob for MySQL Connector/J 36 | */ 37 | public class NClob extends Clob implements java.sql.NClob { 38 | 39 | NClob(ExceptionInterceptor exceptionInterceptor) { 40 | super(exceptionInterceptor); 41 | } 42 | 43 | public NClob(String charDataInit, ExceptionInterceptor exceptionInterceptor) { 44 | super(charDataInit, exceptionInterceptor); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/DataReadException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | /** 33 | * Indicates that data could not be read according to the given request. 34 | */ 35 | public class DataReadException extends CJException { 36 | private static final long serialVersionUID = 1684265521187171525L; 37 | 38 | public DataReadException(Exception cause) { 39 | super(cause); 40 | setSQLState("S1009"); 41 | } 42 | 43 | public DataReadException(String msg) { 44 | super(msg); 45 | setSQLState("S1009"); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2019, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import com.mysql.cj.protocol.ProtocolEntityFactory; 33 | import com.mysql.cj.x.protobuf.MysqlxResultset.Row; 34 | 35 | /** 36 | * Factory producing an {@link XProtocolRow} from protocol message. 37 | */ 38 | public class XProtocolRowFactory implements ProtocolEntityFactory { 39 | 40 | @Override 41 | public XProtocolRow createFromMessage(XMessage message) { 42 | return new XProtocolRow(Row.class.cast(message.getMessage())); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonLiteral.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Represents JSON true, false and null literals. 34 | */ 35 | public enum JsonLiteral implements JsonValue { 36 | 37 | TRUE("\u0074\u0072\u0075\u0065"), FALSE("\u0066\u0061\u006c\u0073\u0065"), NULL("\u006E\u0075\u006C\u006C"); 38 | 39 | public final String value; 40 | 41 | private JsonLiteral(String val) { 42 | this.value = val; 43 | } 44 | 45 | @Override 46 | public String toString() { 47 | return this.value; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/test/java/testsuite/simple/SimpleTransformer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package testsuite.simple; 31 | 32 | import java.util.Properties; 33 | 34 | import com.mysql.cj.conf.ConnectionPropertiesTransform; 35 | import com.mysql.cj.conf.PropertyKey; 36 | 37 | /** 38 | * Used for testing the ConnectionPropertiesTransform functionality. 39 | */ 40 | public class SimpleTransformer implements ConnectionPropertiesTransform { 41 | 42 | public Properties transformProperties(Properties props) { 43 | props.setProperty(PropertyKey.HOST.getKeyName(), "albequerque"); 44 | 45 | return props; 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/OutputStreamWatcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | /** 33 | * Objects that want to be notified of lifecycle events on a WatchableOutputStream should implement this interface, and register themselves with setWatcher() 34 | * on the WatchableOutputStream instance. 35 | */ 36 | public interface OutputStreamWatcher { 37 | /** 38 | * Called when the OutputStream being watched has .close() called 39 | * 40 | * @param out 41 | * {@link WatchableStream} 42 | */ 43 | void streamClosed(WatchableStream out); 44 | } 45 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/util/LRUCache.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.util; 31 | 32 | import java.util.LinkedHashMap; 33 | import java.util.Map.Entry; 34 | 35 | public class LRUCache extends LinkedHashMap { 36 | private static final long serialVersionUID = 1L; 37 | protected int maxElements; 38 | 39 | public LRUCache(int maxSize) { 40 | super(maxSize, 0.75F, true); 41 | this.maxElements = maxSize; 42 | } 43 | 44 | @Override 45 | protected boolean removeEldestEntry(Entry eldest) { 46 | return (size() > this.maxElements); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/JsonValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | /** 33 | * Common interface for classes representing standard JSON object, array, number, string and 'true', 'false' and 'null' literals 34 | * and non-standard extensions like mysqlx.expr() expressions. 35 | */ 36 | public interface JsonValue { 37 | 38 | /** 39 | * Get a human readable "pretty" JSON string. 40 | * 41 | * @return human readable "pretty" JSON string 42 | */ 43 | default String toFormattedString() { 44 | return toString(); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ClobValueEncoder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2022, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.a; 31 | 32 | import java.sql.Clob; 33 | 34 | import com.mysql.cj.BindValue; 35 | import com.mysql.cj.exceptions.ExceptionFactory; 36 | 37 | public class ClobValueEncoder extends ReaderValueEncoder { 38 | 39 | @Override 40 | public byte[] getBytes(BindValue binding) { 41 | try { 42 | return readBytes(((Clob) binding.getValue()).getCharacterStream(), binding); 43 | } catch (Throwable t) { 44 | throw ExceptionFactory.createException(t.getMessage(), t, this.exceptionInterceptor); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/ServerCapabilities.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2021, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | import com.mysql.cj.ServerVersion; 33 | 34 | /** 35 | * Represents server capabilities, retrieved right after creating physical connection and before handshake. 36 | */ 37 | public interface ServerCapabilities { 38 | 39 | int getCapabilityFlags(); 40 | 41 | void setCapabilityFlags(int capabilityFlags); 42 | 43 | ServerVersion getServerVersion(); 44 | 45 | long getThreadId(); 46 | 47 | void setThreadId(long threadId); 48 | 49 | boolean serverSupportsFracSecs(); 50 | 51 | int getServerDefaultCollationIndex(); 52 | } 53 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/jdbc/result/CachedResultSetMetaDataImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc.result; 31 | 32 | import com.mysql.cj.result.DefaultColumnDefinition; 33 | 34 | public class CachedResultSetMetaDataImpl extends DefaultColumnDefinition implements CachedResultSetMetaData { 35 | 36 | /** Cached ResultSetMetaData */ 37 | java.sql.ResultSetMetaData metadata; 38 | 39 | @Override 40 | public java.sql.ResultSetMetaData getMetadata() { 41 | return this.metadata; 42 | } 43 | 44 | @Override 45 | public void setMetadata(java.sql.ResultSetMetaData metadata) { 46 | this.metadata = metadata; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPropertySet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc; 31 | 32 | import java.sql.DriverPropertyInfo; 33 | import java.sql.SQLException; 34 | import java.util.List; 35 | 36 | import com.mysql.cj.conf.PropertySet; 37 | 38 | public interface JdbcPropertySet extends PropertySet { 39 | /** 40 | * Exposes all ConnectionPropertyInfo instances as DriverPropertyInfo 41 | * 42 | * @return a {@link List} of all ConnectionPropertyInfo instances, as DriverPropertyInfo 43 | * 44 | * @throws SQLException 45 | * if an error occurs 46 | */ 47 | List exposeAsDriverPropertyInfo() throws SQLException; 48 | } 49 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | import java.util.List; 33 | 34 | import com.mysql.cj.protocol.x.StatementExecuteOk; 35 | 36 | /** 37 | * A result from the collection.add() statement. 38 | */ 39 | public class AddResultImpl extends UpdateResult implements AddResult { 40 | /** 41 | * Constructor. 42 | * 43 | * @param ok 44 | * the response from the server 45 | */ 46 | public AddResultImpl(StatementExecuteOk ok) { 47 | super(ok); 48 | } 49 | 50 | @Override 51 | public List getGeneratedIds() { 52 | return this.ok.getGeneratedIds(); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/legacy/java/com/mysql/jdbc/Driver.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.jdbc; 31 | 32 | import java.sql.SQLException; 33 | 34 | /** 35 | * Backwards compatibility to support apps that call Class.forName("com.mysql.jdbc.Driver");. 36 | */ 37 | public class Driver extends com.mysql.cj.jdbc.Driver { 38 | public Driver() throws SQLException { 39 | super(); 40 | } 41 | 42 | static { 43 | System.err.println("Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. " 44 | + "The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary."); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | import com.mysql.cj.protocol.x.StatementExecuteOk; 33 | 34 | /** 35 | * A result from a statement that doesn't return a set of rows. 36 | */ 37 | public class InsertResultImpl extends UpdateResult implements InsertResult { 38 | 39 | /** 40 | * Create a new result. 41 | * 42 | * @param ok 43 | * the response from the server 44 | */ 45 | public InsertResultImpl(StatementExecuteOk ok) { 46 | super(ok); 47 | } 48 | 49 | @Override 50 | public Long getAutoIncrementValue() { 51 | return this.ok.getLastInsertId(); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-api/java/com/mysql/cj/xdevapi/RowResult.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.xdevapi; 31 | 32 | import java.util.List; 33 | 34 | /** 35 | * A result exposing a set of rows from a SELECT query. 36 | */ 37 | public interface RowResult extends FetchResult, Result { 38 | /** 39 | * Count of columns. 40 | * 41 | * @return count 42 | */ 43 | int getColumnCount(); 44 | 45 | /** 46 | * Metadata. 47 | * 48 | * @return list of result {@link Column} objects 49 | */ 50 | List getColumns(); 51 | 52 | /** 53 | * Names of columns. 54 | * 55 | * @return list of result column names 56 | */ 57 | List getColumnNames(); 58 | } 59 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/protocol/Message.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2018, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol; 31 | 32 | /** 33 | * Message is the content of a full single message (native protocol packet or protobuf message), 34 | * independent from on-wire splitting, communicated with the server. 35 | */ 36 | public interface Message { 37 | 38 | /** 39 | * Returns the array of bytes this Buffer is using to read from. 40 | * 41 | * @return byte array being read from 42 | */ 43 | byte[] getByteBuffer(); 44 | 45 | /** 46 | * Returns the current position to write to/ read from 47 | * 48 | * @return the current position to write to/ read from 49 | */ 50 | int getPosition(); 51 | 52 | } 53 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousOutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.protocol.x; 31 | 32 | import java.io.FilterOutputStream; 33 | import java.io.IOException; 34 | import java.io.OutputStream; 35 | 36 | /** 37 | * An {@link OutputStream} wrapper that can't be closed and flushes data instead when {@link #close()} is called. 38 | */ 39 | public class ContinuousOutputStream extends FilterOutputStream { 40 | protected ContinuousOutputStream(OutputStream out) { 41 | super(out); 42 | } 43 | 44 | /** 45 | * Instead of closing the {@link OutputStream} flushes its data. 46 | */ 47 | @Override 48 | public void close() throws IOException { 49 | flush(); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/callback/UsernameCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.callback; 31 | 32 | /** 33 | * A callback that can be used to exchange username information to a callback handler owner. 34 | */ 35 | public class UsernameCallback implements MysqlCallback { 36 | private String username; 37 | 38 | public UsernameCallback(String username) { 39 | this.username = username; 40 | } 41 | 42 | /** 43 | * Get the username provided by the caller of {@link MysqlCallbackHandler#handle(MysqlCallback)}. 44 | * 45 | * @return 46 | * the username to pass over to the callback handler. 47 | */ 48 | public String getUsername() { 49 | return this.username; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/core-api/java/com/mysql/cj/exceptions/CJTimeoutException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.exceptions; 31 | 32 | import com.mysql.cj.Messages; 33 | 34 | public class CJTimeoutException extends CJException { 35 | 36 | private static final long serialVersionUID = -7440108828056331100L; 37 | 38 | public CJTimeoutException() { 39 | super(Messages.getString("MySQLTimeoutException.0")); 40 | } 41 | 42 | public CJTimeoutException(String message) { 43 | super(message); 44 | } 45 | 46 | public CJTimeoutException(Throwable cause) { 47 | super(cause); 48 | } 49 | 50 | public CJTimeoutException(String message, Throwable cause) { 51 | super(message, cause); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /Jar Files/mysql-connector-j-8.0.31/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2020, Oracle and/or its affiliates. 3 | * 4 | * This program is free software; you can redistribute it and/or modify it under 5 | * the terms of the GNU General Public License, version 2.0, as published by the 6 | * Free Software Foundation. 7 | * 8 | * This program is also distributed with certain software (including but not 9 | * limited to OpenSSL) that is licensed under separate terms, as designated in a 10 | * particular file or component or in included license documentation. The 11 | * authors of MySQL hereby grant you an additional permission to link the 12 | * program and your derivative works with the separately licensed software that 13 | * they have included with MySQL. 14 | * 15 | * Without limiting anything contained in the foregoing, this file, which is 16 | * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, 17 | * version 1.0, a copy of which can be found at 18 | * http://oss.oracle.com/licenses/universal-foss-exception. 19 | * 20 | * This program is distributed in the hope that it will be useful, but WITHOUT 21 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 22 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 23 | * for more details. 24 | * 25 | * You should have received a copy of the GNU General Public License along with 26 | * this program; if not, write to the Free Software Foundation, Inc., 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 28 | */ 29 | 30 | package com.mysql.cj.jdbc.exceptions; 31 | 32 | import java.sql.SQLException; 33 | 34 | import com.mysql.cj.Messages; 35 | import com.mysql.cj.exceptions.MysqlErrorNumbers; 36 | 37 | public class OperationNotSupportedException extends SQLException { 38 | 39 | static final long serialVersionUID = 474918612056813430L; 40 | 41 | public OperationNotSupportedException() { 42 | super(Messages.getString("RowDataDynamic.3"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT); 43 | } 44 | 45 | public OperationNotSupportedException(String message) { 46 | super(message, MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT); 47 | } 48 | } 49 | --------------------------------------------------------------------------------