LeakedIn Logo
Stories About Data Leaks and Related Stuff

Posts Tagged ‘Oracle URI’

Oracle URI

0 votedvote

Detected 1 occurrence(s) of ‘dbc:oracle:thin:’:

sqoop import -D mapred.job.name='default oraoop'  --driver oracle.jdbc.driver.OracleDriver --connect "jdbc:oracle:thin:MyIp:MyServiceName" --username "XXXX" --password "XX" --target-dir "My_dir" --query 'select * from MyTable where $CONDITIONS' --split-by "coulmn"  --boundary-query "SELECT min(splitColumn),max(SplitCoulmn)  FROM DUAL" --num-mappers 30

Source: http://pastebin.com/raw.php?i=HLcz024p

Oracle URI

0 votedvote

Detected 1 occurrence(s) of ‘dbc:oracle:thin:’:

import java.sql.*;
import java.util.Scanner;

class JDBCTest {

public static void main(String[] args) {

try {
String builder5 = "";
int doit = 0;
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@claros.csxxxxxxxxxe.edu:1xx24:sxxep", args[0], args[1]);
conn.setAutoCommit(false);
String courseIDparsed = "";
// Get Input for Course
Scanner scan = new Scanner(System.in);
String test = scan.nextLine();
PreparedStatement ps,ps1;

//Select Table

Source: http://pastebin.com/raw.php?i=WBeYA4xk

Oracle URI

0 votedvote

Detected 1 occurrence(s) of ‘dbc:oracle:thin:’:

nvironment id = "development">
            <transactionManager type = "JDBC"/>

            <dataSource type = "POOLED">
                <property name = "driver" value = "oracle.jdbc.driver.OracleDriver"/>
                <property name = "url" value = "jdbc:oracle:thin:@my_ip:port/dbname"/>
                <property name = "username" value = "username"/>
                <property name = "password" value = "password"/>
            </dataSource>

        </environment>
    </environments>

    <!--<mappers>-->
        <!--

Source: http://pastebin.com/raw.php?i=H0G7mUEy

Oracle URI

0 votedvote

Detected 1 occurrence(s) of ‘dbc:oracle:thin:’:

static Connection conn = null;
    static Statement stmt = null;

    public void createConnection() {
        try {
            //Connect conn = new Connect();
            conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "test", "test");
            stmt = conn.createStatement();
        } catch (SQLException e) {
            System.err.println("Error at create connection " + e);
        }
    }

    public void fillTable(JTable table, String Qu

Source: http://pastebin.com/raw.php?i=UCcSYpuL

Oracle URI

0 votedvote

Detected 1 occurrence(s) of ‘dbc:oracle:thin:’:

    String str1 = tf1.getText();
        char[] p = p1.getPassword();
        String str2 = new String(p);
        try
        {
            Class.forName("oracle.jdbc.driver.OracleDriver");
            Connection con = DriverManager.getConnection("jdbc:oracle:thin:@mcndesktop07:1521:xe", "sandeep", "welcome");
            PreparedStatement ps = con.prepareStatement("select name from reg where email=? and pass=?");
            ps.setString(1, str1);
            ps.setString(2, str2);
            ResultSet rs = ps

Source: http://pastebin.com/raw.php?i=sY77rayG