Related with Oracle Client

Hello everybody!
I have Oracle-OraClient 10g in my system.
I dont have Oracle Server in my system.
How can I establish a connection with my Java Application?
Is it possible to connect my Java application with Oracle DB?.
I tried using Connection Url(jdbc:oracle:thin:@localhost:1521:manojdb).
Is it correct?
Warm regards,
Manoj Paul

Hi,
no, it's not correct.
localhost mean that Oracle database server is running on your pc but it isn't.
you should know where db is running. server name or ip address and than you can use connection string like this:
jdbc:oracle:thin:@<server_name>:1521:manojdb
String URL = "jdbc:oracle:thin:@host:port:sid";
String USERNAME = "scott";
String PASSWORD = "tiger";
Wiki:
http://www.orafaq.com/wiki/JDBC
java:
http://java.cz/konference/2003-June/000802.html
REgards,
Tom
Edited by: Soli on 17.8.2009 14:42

Similar Messages

  • Crash in 32 bit C++ application on Linux 5.4 with Oracle Client 11.2.0.2.

    Hi ,
    I am getting following crash in 32 bit C++ application built on Linux platform 5.4 with Oracle client version 11.2.0.2.
    Program terminated with signal 6, Aborted.
    [New process 22157]
    #0 0xffffe410 in __kernel_vsyscall ()
    (gdb) bt
    #0 0xffffe410 in __kernel_vsyscall ()
    #1 0xf7dc5c81 in raise () from /lib/libpthread.so.0
    #2 0xf73d4d43 in skgesigOSCrash () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #3 0xf7643d61 in kpeDbgSignalHandler () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #4 0xf73d5003 in skgesig_sigactionHandler () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #5 <signal handler called>
    #6 0xffffe410 in __kernel_vsyscall ()
    #7 0x00be7df0 in raise () from /lib/libc.so.6
    #8 0x00be9701 in abort () from /lib/libc.so.6
    #9 0x0804b716 in main (argc=2, argv=0xffabe244) at crewxa.cc:371From the stack trace, it seems that the crash is occurring at oracle client library libclntsh.so.11.1 . When looked at Metalink, there is a note Pro*c Application Cores On 11g Client [ID 1410089.1], which says that Pro *C application consistently produces core dumps with above stack trace in Oracle client 11.2.0.2 .
    Such traces are resulting from the function “sqlnst ()”. But in this case, the stack is called from the main function of our application.
    Please advice.

    Thanks again, Phil.
    It seems to be some specific situation, since I could get to install the same version (Client 11.2.0.1 32 bits) in a Windows Vista 64 bits.
    I still hope somebody has an answer.
    Best regards!

  • Facing issues with oracle client installation 32 bit 10.2.0.1

    Hi ,
    I am facing issues with oracle client installation 32 bit 10.2.0.1
    Windows 2008 R2 enterprise edition 64 bit
    Java 1.6 update 34
    Below is the error recieved:
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
    Function=[Unknown.]
    Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
      at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
      at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
      at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
      at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
      at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
      at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
      at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
      at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
    Dynamic libraries:
    0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
    0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
    0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
    0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
    0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
    0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
    0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
    0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
    0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
    0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
    0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
    0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
    0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
    0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
    0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
    0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
    0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
    0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
    0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
    0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
    0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
    0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
    0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
    0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
    0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
    0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
    0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
    0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
    0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
    0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
    0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
    0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
    0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
    0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
    0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
    0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
    0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
    0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
    0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
    0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
    0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
    0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
    0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
    0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
    0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
    0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
    0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
    0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
    0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
    0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
    0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
    0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
    0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
    0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
    0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
    0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
    0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
    0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
    0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
    0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
    0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
    0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
    0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
      eden space 640K,  13% used [0x10010000, 0x10026448, 0x100b0000)
      from space 64K,   2% used [0x100c0000, 0x100c07a8, 0x100d0000)
      to   space 64K,   0% used [0x100b0000, 0x100b0000, 0x100c0000)
    tenured generation   total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
       the space 8436K,  67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
    compacting perm gen  total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
       the space 12288K,  98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
    Local Time = Thu Aug 22 14:42:03 2013
    Elapsed Time = 40
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    Thanks

    10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
    Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
    http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
    HTH
    Srini

  • Low Performance with Oracle Client 11g R2

    Hi Experts
    I installed Crystal Report Server 2008 on Windows Server 2003. We use Oracle Client 11R2 to create an ODBC to link with an Oracle Database which installed on another Redhat Linux Server.
    I found the performance of generating report by Crystal is really bad, it's a really simple SQL query.
    Before the Oracle, we used the SQL Server 2005 as the database, the time to open the same report only took 1-3 seconds, but on Oracle it took more than 20 seconds.
    Please help~~ thank you.

    Hi Don
    Thank you for your reply, I built a report by myself, it's really fast, so I think it's not the problem of ODBC.
    I double checked the 'Query SQL' of the old report, it only took 3 tables and generate a SQL like hereafter,
    then I checked this SQL on "SQL Developer", it's working fine, very fast.
    I don't know why Crystal Report Server take so long time to generate this report.
    ODBC
    SELECT
    a.CR01_NATURAL_PER_FLAG taxpayer_category,
    CASE WHEN a.CR01_NATURAL_PER_FLAG='Y' THEN to_char(to_number(a.cr04_natural_per_id)) else to_char(to_number(a.cr10_legal_per_id)) END per_id,
    to_char( to_number(a.cr01_internal_id)) cr01_internal_id,
    nvl(a.CR01_TIN_ID,'') cr01_tin_id,
    a.CSTD_TAXPAYER_STATUS,
    a.CSTD_SECURITY_LEVEL_ID,
    a.CSTD_CERTIFICATE_STATUS,
    a.CR01_MISS_INFO,
    a.CR01_ACT_START_DATE,
    B.CSTD_TAXPAYER_TYPE,
    d.CS04_ID,
    f.CSTD_ACTIVITY_CODE
    FROM tr01_taxpayer A,TR14_TAXPAYER_ACTIVE_TYPE B, TR16_TAXPAYER_OFFICE d,TR06_BRANCH_BUSINESS_ACTIVITY f
    WHERE a.cr01_internal_id = d.cr01_internal_id
    AND nvl(d.cr16_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=sysdate
    and nvl(d.cr16_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>= sysdate
    AND A.cr01_internal_id = B.cr01_internal_id
    and nvl(B.cr14_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=sysdate
    and nvl(B.cr14_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=sysdate
    and a.cr01_internal_id = f.cr01_internal_id
    and f.CR03_BRANCH_CODE = '000'
    and nvl(f.cr06_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=sysdate
    and nvl(f.cr06_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=sysdate
    and f.CR06_PRIMARY_FLAG='Y'
    EXTERNAL JOIN TAXPAYER.TAXPAYER_CATEGORY={?ODBC: NAME.TAXPAYER_CATEGORY} AND TAXPAYER.PER_ID={?ODBC: NAME.PER_ID} AND TAXPAYER.CR01_INTERNAL_ID={?ODBC: INTERNALID.CR01_INTERNAL_ID}
    ODBC
    select 'Y' taxpayer_category,to_char(to_number(a.cr04_natural_per_id)) per_id,
    cr11_first_name||' '||cr11_second_name||' '||cr11_third_name||' '||cr11_last_name NAME
    FROM
    tr01_taxpayer A, TR11_NATURAL_PER_NAME B
    WHERE cr01_natural_per_flag = 'Y'
    and A.cr04_natural_per_id=B.cr04_natural_per_id
    and nvl(b.cr11_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=sysdate
    and nvl(b.cr11_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=sysdate
    union
    select 'N' taxpayer_category,to_char(to_number(a.cr10_legal_per_id)) per_id,
    cr13_name NAME
    FROM
    tr01_taxpayer A, TR13_LEGAL_PER_NAME C
    WHERE cr01_natural_per_flag = 'N' and A.cr10_legal_per_id = C.cr10_legal_per_id
    and nvl(c.cr13_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=sysdate
    and nvl(c.cr13_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=sysdate
    EXTERNAL JOIN NAME.TAXPAYER_CATEGORY={?ODBC: TAXPAYER.TAXPAYER_CATEGORY} AND NAME.PER_ID={?ODBC: TAXPAYER.PER_ID}
    ODBC
    select distinct x.cr01_internal_id from
        (select to_char(to_number(cr01_internal_id)) cr01_internal_id from TR16_TAXPAYER_OFFICE where
        (nvl(cr16_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and nvl(cr16_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr16_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr16_start_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr16_end_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr16_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr16_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr16_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        AND to_char(cs04_id) = case when '{?p_taxoffice}' is null then to_char(cs04_id) else '{?p_taxoffice}' END
        ) x,
        (select to_char(to_number(cr01_internal_id)) cr01_internal_id from TR14_TAXPAYER_ACTIVE_TYPE where
        (nvl(cr14_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and nvl(cr14_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr14_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr14_start_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr14_end_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr14_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or(
        nvl(cr14_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr14_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and cstd_taxpayer_type = case when '{?p_taxpayerType}' is null THEN cstd_taxpayer_type else '{?p_taxpayerType}' END
        ) y,
        (select cr01_internal_id from(
        select to_char(to_number(cr01_internal_id)) cr01_internal_id,'Y' taxpayer_category
        FROM
         tr01_taxpayer A, TR11_NATURAL_PER_NAME B
        WHERE cr01_natural_per_flag = 'Y'
        and A.cr04_natural_per_id=B.cr04_natural_per_id
        and
        (nvl(cr11_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and nvl(cr11_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr11_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr11_start_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr11_end_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr11_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or(
        nvl(cr11_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr11_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and cr11_first_name||' '||cr11_second_name||' '||cr11_third_name||' '||cr11_last_name like
        case when '{?p_taxpayerName}' is null then cr11_first_name||' '||cr11_second_name||' '||cr11_third_name||' '||cr11_last_name  else '%{?p_taxpayerName}%' end
        union
        select to_char(to_number(cr01_internal_id)) cr01_internal_id,'N' taxpayer_category
        FROM
         tr01_taxpayer d, TR13_LEGAL_PER_NAME C
        WHERE cr01_natural_per_flag = 'N' and d.cr10_legal_per_id = C.cr10_legal_per_id
        and
        (nvl(cr13_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and nvl(cr13_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr13_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr13_start_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or
        (nvl(cr13_end_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr13_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        or(
        nvl(cr13_start_date,to_date('1950-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))<=to_date('2011-05-01 00:00:00','yyyy-mm-dd HH24:mi:ss') 
        and nvl(cr13_end_date,to_date('3000-01-01 00:00:00','yyyy-mm-dd HH24:mi:ss'))>=to_date('2011-05-31 00:00:00','yyyy-mm-dd HH24:mi:ss')
        and cr13_name like
        case when '{?p_taxpayerName}' is null then cr13_name else '%{?p_taxpayerName}%' end
        where taxpayer_category =
        case when '{?p_taxpayerCategory}' is null then taxpayer_category else '{?p_taxpayerCategory}' END
        ) z
    where x.cr01_internal_id=y.cr01_internal_id
    and x.cr01_internal_id=z.cr01_internal_id      
    EXTERNAL JOIN INTERNALID.CR01_INTERNAL_ID={?ODBC: TAXPAYER.CR01_INTERNAL_ID}
    Edited by: WangGang0411 on Jul 3, 2011 12:27 PM

  • Compile with Oracle Client 10.0.5

    I know that node-oracledb needs Oracle Client 11.2 or above as it states on the github repository. What I would like to know if it is possible to use the oracle client 10.0.5, even with less features.
    I'm asking this because I have some oracle 9.0.1 databases in production and they won't be upgraded soon and I would like to use nodejs with them :-)
    Event-loop and asynchronous access are perfect for what I need...
    TYA
    Alex

    I would love to upgrade :-)
    We're talking about 400 Oracle 7.3.4 Databases connected to 400 Oracle 9.0.1 databases, running Oracle Forms 3  and Forms 6 :-)
    I imagine that 5 years from now we will still have this situation, so my question about this possibility.
    Just to lighten up I was imagining node as a broker for all these databases :-)

  • Unifiers for drag & relate with oracle forms application

    Hi All,
      Is it possible to do drag & relate functionality in the portal with oracle forms application?? Is there any unifiers already available for drag & relate functionality with oracle forms application ?? If yes, then can anyone share the information.
    Regards
    Moses

    Hi Moses, you can use D&R with querys in Oracle using query iviews.
    You can find a lot of information in:https://www.sdn.sap.com/sdn/ep.sdn?page=unification_welcome.htm
    Regards.

  • Problem with Oracle Client(64 bit) install on Windows 7

    Hi,
    I am trying to install Oracle Client 64 bit (win64_11gR2_client) on my laptop and its giving me all the pre requisite failed for "Physical Memory, Free Space, Architecture and Enviornment variable: Path". So i need to exit that setup.
    I have enough space almost 130 GB free on my laptop. Also, i cleared temp data. Then increased physical memory to 4096 MB but still facing the same error and not able to install the Oracle Client on my laptop.
    Please assist as soon as possible.
    -Parth

    Pl identify exact version of Win 7 - you will need Professional version or higher - Home versions are not supported. Pl verify you meet all of the pre-reqs for the install as identified in the Install Guide - http://download.oracle.com/docs/cd/E11882_01/install.112/e16774/pre_install.htm
    HTH
    Srini

  • Using TOAD 7.6.0.11 with Oracle Client 10g (Release 2)

    So far, I've been using Oracle Client 9i.
    I decided to install Oracle Client 10g and thus copied 9i's tnsnames.ora over to 10g. The problem is when I fire up TOAD. It doesn't show the 10g client in the drop down menu nor in the Oracle Home Editor button. It only shows 9i (i.e., ias_home)
    How do I make 10g visible to TOAD?

    Use SQL Developer or try to post it in other forum...<br>
    <br>
    Nicolas.

  • Encrypt data over the wire with oracle client?

    Can the Oracle Client encrypt data over the wire? If I have an Oracle 10g R2 server that is outside of my department's firewall, what is the best way to ensure that none of our data is going across the network in the clear? Thanks.

    Why don't you use a VPN?
    If that is for some reason or other no good idea, and you still need a solution: We have a tool to redirect TCP connections, which is able to encrypt the connection. Just mail to [email protected]
    Best Regards
    Artur Södler

  • How to create reports from my existing web application on Java/J2EE with Oracle Client 10g as the backend?? Help sought for

    Our company has developed an  Web Application and we are also looking out for the development of reports using Business Objects Exterprise XI Release 2 and for this purporse I do require some help from the forum who can literally show me how to get on and working on creating the reports.

    Thats why I thought I should make the following chain in the keystore, possibly in this order.
    1. My private key (simply generated in the server)
    2. Import Root certificates from NS
    3. Import Trusted certificate issued by NS
    Then when I sign with my private key surely an association will be formed to the trusted authority certificate. The problem I'm having is when I first made my private key I used openSSL as it was only intended for HTTPS. Now I need to create a keystore so I can use jarsigner to sign the jar file, and I can't see how to create a keystore using my existing private key. Surely if I created a new key and self sign, then import the trusted certificate the association will fail, as the private key will not be the same 1 that I used to make the CSR when applying for the trusted certificate.

  • Related with Oracle Database port no.

    Hello everbody!
    Is there a way to know the port no of my Oracle Database.
    I want to connect it in my java application but not sure about the port no.
    Regards,
    Manoj Paul

    Paul M. wrote:
    But where will I type the command $lsnrctl status ?At OS prompt, but without the dollar sign, which is the standard OS prompt for Unix/Linux.Thank you so much for the kind help..
    It's very helpful.
    Thank you all too for your kind cooperation.
    Regards,
    Manoj Paul

  • Running in 64 bit mode with the 32 bit Oracle client installed

    I have seen many postings on this issue but none of the suggested solutions have helped me.
    I am running visual studio 2010 professional with SP1 on windows 7 64 bit machine. When I try to run a web service locally and call it with SoapUI, I get the following error message during OracleConnection.Open().
    Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
    I have tried setting up the build configuration and the project settings to target 32 bit but that has not helped. I have also tried removing the reference to System.Data.OracleClient that shows being under Program Files (x86) and add a new reference to the dll under GAC_64. That too did not work.
    I only have the 64 bit client installed on my machine.
    Any help will be appreciated.
    Thank you

    1. Visual Studio any version is 32 bit ONLY irrespective of hardware or OS bits.  So to DEVELOP with Oracle Client you MUST install 32 bit Oracle ODAC components. Task manager will show devenv.exe *32 (to confirm 32 bit Visual Studio application).
    2. You can run your web application inside IIS/IIS Express in your PC which independently can be either 32bit or 64bit.  If it is 64 bit, you MUST also install 64 bit Oracle ODAC components which means you'll have to install both 32bit and 64bit in your 64 bit Win7 running on 64bit hardware.
    3. In Visual Studio if you compile with "AnyCPU" as target, the resultant binaries (Web/NonWeb) can be both 32bit or 64bit.  So if target PC is "AnyCPU" or "x64", you MUST install Oracle ODAC 64 bit in the target OS if that target OS is 64bit.  You don't have to install 32bit ODAC in the target PC.
    4. One more catch to above scenario is the target OS could be 64bit simulated OS on a 32bit hardware. In such case you MUST install both 32bit and 64bit ODAC components.
    So while you ask your network team to download ODP.NET/ODAC Components make sure you ask them to download both 32bit and 64bit. Total nearly 600MB.
    Hope this helps many people out there.

  • IPlanet 6.0 SP6 compatibility with Oracle 11g Client in Windows server 2003

    Hi All,
    We have issues with our classic ASP application when connecting to Oracle 11g. Our application Database is migrating from oracle 10g to oracle 11g, with oracle 10g we don't have any issues but we are facing issues with Oracle 11g database
    We are running iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 (formerly known as Chili!Soft ASP) on windows 2003 machine for running ASP application.
    The connection we are trying is
    Provider=OraOLEDB.Oracle; Data Source=xxxx;User Id=xxx;Password=xxx;
    The error we are getting is "OraOLEDB error '80004005' "
    Question: Is iPlanet-WebServer-Enterprise/6.0SP6. And Chilisoft is Sun ONE ASP 4.0 is compatible with Oracle Client 11g in Windows 32 bit machine
    Appreciate your quick response
    Thanks,
    Murthy

    I have the same situation. Could you please share your experience if you resolve it? Thanks.

  • Oracle client in linux problem with tnsnames.ora

    hi all
    i installed oracle-xe-cleint10.2 on linux machine i did not get any tnsnames.ora in my machine i am unable to connect to database. it shows tns connectiont identifier unfound. . is it come all with oracle client or some where else it .
    or further any proceeding i should follow steps. if found solution regard this pls forward solution to me
    Regard
    syam

    hi all
    i did not get any tnsnames.ora after installing oracle client in linux machine
    i installed oracle-xe-cleint10.2 on linux machine i did not get any tnsnames.ora in my machine i am unable to connect to database. it shows tns connectiont identifier unfound. . is it come all with oracle client or some where else it .
    or further any proceeding i should follow steps. if found solution regard this pls forward solution to me
    Regard
    syam
    Regards syam

  • How to install Oracle client on UBUNTU LInux

    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it and is there any other tool which i can install instead of oracle client?
    Regards,
    RJiv.

    RJiv wrote:
    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it All recent Oracle version support different Linux flavours
    The problem is Oracle usually don't provide direct Oracle Client download except for Windows. You need to download the Server installation file and install the client piece. The download files are rather large.
    and is there any other tool which i can install instead of oracle client?It depends on what you plan to do with Oracle client and why you need it.
    On alternative is instance client, it has direct download for all supported platform.
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html

Maybe you are looking for

  • Scale external SWF

    Hi! I'm trying to load a Flex 4 SWF into the application, but I want that the external swf to fill all the application while maintaining the aspect ratio. The code is above: ResizableSWF.mxml <?xml version="1.0" encoding="utf-8"?> <s:Application xmln

  • How to setup a GPO to control Firefox?

    I have found how to get the adm files from other websites. But i am trying to set a default homepage in Firefox and can not seem to find the correct answer to get this to work. I have gotten the homepage set as default for IE and Chrome. Any help wou

  • Integrating 10g OSB  and 11g BAM

    Hi, I was trying to put some data into BAM data object through OSB proxy and business service,but i am unable to connect to BAM.Can someone let me know how to connect to BAM data objects through a proxy or business service. Thanks Chandrachur

  • New slideshow widget how to link images

    Hello, I installed the slideshow widget, how do I link the images to other pages?

  • SetModal on JDialog is reflecting on new instance of API.

    In java application we have facilitated user to open a "New Instance". While working with copy i.e. on new instance if user has been opened a dialog box onto we have set Modal "True" then on another instance of application, user would not perform any