Problem displaying data and Smart data debugging pl/sql

I'm using JDev 9.0.5.1 build 1065, when i debug a PL/SQL function from the connections navigator, it allows me to stop at a breakpoint, but it doesn't display anything in the data or smart data panes. Do i need to change a config setting somewhere ? The PL/SQL is in an Oracle 8i database, does it need to be 10g for this functionality to work ?
Thanks
Alistair

Are you trying to debug ASP.NET or a windows app or direct debugging?
If a windows app or direct debugging, follow these steps:
http://cshay.blogspot.com/2006/07/plsql-debugger-in-visual-studio.html
If ASP.NET, follow part of the steps above to configure, but then use these steps for External App debugging:
Debugging PL/SQL from .Net 2003

Similar Messages

  • Problem Displaying data from oracle in JTable

    Please can any one help me? I have a problem displaying the data fetched from oracle database(ResultSet) in JTables. Can any one provide me with any possible way out(and any alternative).

    User,
    As suggested in the other post - Google/Books/find a mentor is the best option.

  • Problems Displaying data from RFC on Adobe Forms

    Hi,
    I have some Problems with creating an Adobe Form and hope, someone can help me or give me some hinds to some tutorials, which can help me.
    I'm developing an webdynpro-application which get data from a R/3 via RFC-Call.
    Context-Binding and so on is done and works. I created also an interactive form and can display some datas on it.
    Here my questions:
    I have an field 'unit' which shoulb be displayed on several positions onto the form. My problem is, i can display it only once. If i copy the field, there is no output in it. What can i do, to solve the problem?
    From the RFC i get a table with several rows of data, i want to display on the form.
    With drag&drop i can place the fields onto the form but they are displayed only once. I want one line for every row from the table.
    What do i have to do? Are there tutorials which show the steps?
    When I am not using a form, i can display the data from RFC in a table with no problems (i create a table ui and choose create binding from context menue). Are the nescessary steps for displaying the data on an interactive form the same.
    I read something about creating a dynamic form design. Do i have to create it? What are the steps i have to do.
    Many questions, but i hope that someone can give me some helpful hints.
    Many thanks
    Mathias Lange

    Hi Mathias,
    If I caught you correctly, you want to display data in Adobe forms in form of tabel, right?
    So, follow the steps:
    1. Insert one sub form on your adobe form.
    2. Set its type as "flow content" in object->subform property.
    3. Set flow direction as "Table".
    4. Insert another subform inside this subform.
    5. set its type as "flow content" and flow direction as "Table row".
    6. Now, choose binding tab, and there check "repeat subform for each Data item check box" and specify min. count for your rows.
    7. Now, insert your column fields inside this sub form once.
    8. Format its look and feel as you want.
    When you run this application, it will show you multiple data as table on Adobe form.
    Regards,
    Bhavik

  • Problem displaying data in Excel with Jsp

    HI,
    For some reason when i save data from jsp to excel, my Excel dont display data.This code was working fine from past 3 years all of sudden it starts givin this problem.
    However When i open my .xls file in notepad i see data there. The problem is because of XML declaration (<?xml version="1.0" encoding="UTF-8"?> which parsed generate. If i remove this it works fine.
    Out put in file looks like this
    <?xml version="1.0" encoding="UTF-8"?>
    <table border=1 width="100%">
    <tr>
    <TH>Name</TH>
    <TH>Last Name</TH>
    <TH>state</TH>
    <TH>Country</TH>
    <TH>Currency</TH>
    </tr>
    <tr>
    <TD class="odd">John</TD>
    <TD class="odd">Hayden</TD>
    <TD class="odd">IL</TD>
    <TD class="odd">USA</TD>
    <TD class="odd">USD</TD>
    </tr>
    <tr>
    <tr>
    <TD class="odd">Ricky</TD>
    <TD class="odd">Ponting</TD>
    <TD class="odd">IL</TD>
    <TD class="odd">USA</TD>
    <TD class="odd">EUR</TD>
    </tr>
    </tr>
    </table>
    Jsp Code
    String rptHTML = (String)session.getAttribute("ReportStrHTML");
         System.out.println(rptHTML);
         response.setHeader("Content-Disposition","attachment;filename=Test.xls");
         response.setContentType("application/vnd.ms-excel");
    Thanks

    In Excel, Tools > Macro > security > medicum and Trusted tab check To access VB.

  • Problem displaying date

    Hi,
    I am trying to display date, the source code is:
    code]import java.lang.*;
    import java.text.*;
    import java.util.*;
    class Date {
    public static void main(String args[]) {
    Date date = new Date();
    System.out.println("the date is:" + date.toString());
    The output is: the date is:Date@187c6c7
    I'm using Sun Java Studio Enterprise 8.1
    Any guess? where i'm going wrong..

    Hi,
    I am trying to display date, the source code is:
    e]import java.lang.*;
    import java.text.*;
    mport java.util.*;
    class Date {
    public static void main(String args[]) {
    Date date = new Date();
    ystem.out.println("the date is:" + date.toString());
    ode]
    The output is: the date is:Date@187c6c7
    I'm using Sun Java Studio Enterprise 8.1
    Any guess? where i'm going wrong..You ought not create a class with the same name as a class in the standard library (Date), and you need to provide a toString method that outputs what you want to output.
    Good Luck
    Lee

  • Problem inserting date into MS SQL Server

    I am trying insert date into MS SQL Server database. First I used Statement and when I insert the date only date used to be inserted properly and the time used to be always 12:00:00 AM. I tried PreparedStatement and when I insert I get an error message:
    SQL Error: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
    I have attached the code.
    GregorianCalendar cal = new GregorianCalendar();
    java.util.Date dtm = (java.util.Date)cal.getTime();
    SimpleDateFormat formatOb = new SimpleDateFormat("dd/MM/yy hh:mm:ss");
    String date= (String)formatOb.format(dtm);
    dateCreated = new java.sql.Date(formatOb.parse(date).getTime());
    PreparedStatement psmt = con.prepareStatement("INSERT INTO Resume (ResumeName, Summary, Skills, OtherInformation, Interests, Memberships, Languages, Category, DateCreated, SupervisorName) VALUES(?,?,?,?,?,?,?,?,?,?)");
    psmt.setString(1, name);
    psmt.setString(2, summary);
    psmt.setString(3, skills);
    psmt.setString(4, info);
    psmt.setString(5, interest);
    psmt.setString(6, member);
    psmt.setString(7, language);
    psmt.setString(8, category);
    psmt.setDate(9, dateCreated);
    psmt.setString(10, loginName);
    psmt.executeUpdate();
    Any suggestions will be really helpful.

    Thanks,
    I changed the field in the database of DateCreated to timestamp, but when I insert the some binary data is inserted into the database. something like 0000000000000017D.
    I installed jtds-0.8.1 driver from source forge. but when try to connect to the database I get an error as:
    Connection refused: connect
    Error: Connection refused: connect
    I have attached the code for setting the driver and url also.
    private String driver = "net.sourceforge.jtds.jdbc.Driver";
    private String url = "jdbc:jtds:sqlserver://TEKKATTE:1433/placement;TDS=7.0";

  • Problem displaying data in Crystal Viewer

    Hi,
    First time posting on here, so apologies if I've got the wrong thread....
    Currently developing an application that uses ASP, via a COM+ object to connect to SQL Server 2005 Db.  My problem is that since the users default printer might not be visible on the application server anymore, we have had to use a Crystal viewer on the front end to print.  To do this we have moved some code from the COM+ and placed it in an asp page. 
    This page then creates a connection and runs a stored procedure, putting the results of the query into a recordset.  This is then used to populate CrystalRuntime Application, Report and PageEngine objects.  This page #Includes the SmartViewerActiveX.asp file which then in turn calls rptserver.asp.
    The viewer is displayed on the screen, but with the fields displaying only the field types, no data from the Db is displayed.  I have no idea why and am at my wits end!!!   Can anyone give any advice or hints that I could investigate.  I've never used Crystal Viewer before and could do with any helpfull advice.   The SmartViewerActiveX.asp and rptserver.asp files have not been ameneded.  Do I need to do anything with the ttx files????
    Thanks in advance....
    Code of the originating asp page :-
    <object runat=server progid = Print.print id=objPrint></object>
    <object runat=server progid = com.session id=objSession></object>
    <object runat=server progid = com.login id=objLogin></object>
    <object runat=server progid = com.request id=objRequest></object>
    <!#INCLUDE FILE="gen_funcs.asp">
    <!#INCLUDE FILE="adovbs.inc">
    <%
         Dim rsSession
         Dim strUserID
         Dim iUserType
         Dim strSalutation1
         Dim strNewRequestASP
         Dim rsDetails     
         Dim varRetValue
         Dim Comm
         Dim Conn
         Dim ADORs
         Dim adoRS1
         Dim adoRS2
         Dim adoRS3
         Dim oApp
         Dim oRpt
         Dim oPageEngine
         strUserID = getWindowsLogIn
         'Retrieve Session Data from session object
         Set rsSession = objSession.GetDetails(strUserID)
         strSalutation = rsSession.Fields("login_data")
         iUserType = rsSession.Fields("user_type")
         Set rsSession = Nothing
         varRetValue = "true"
    If IsObject(session("oRpt")) then
         Set session("oRpt") = nothing
    End if 
    set Comm = Server.CreateObject("ADODB.Command")
    set Conn = Server.CreateObject("ADODB.Connection")
    set session("AdoRS") = Server.CreateObject("ADODB.Recordset")
    Comm.CommandTimeout=60
    mStr = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=DEV;Data Source=GBNBS1501;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=GBNBS0500;Use Encryption for Data=False;Tag with column collation when possible=False"
    mstr=replace(mstr, "Integrated Security=SSPI;","")
    Conn.Open Mstr & ";Trusted_Connection=no", "crystaluser", "crystalpassword"
    set Comm.ActiveConnection = Conn
    Comm.CommandText = "usp_get_customer_letter"
    Comm.CommandType = adCmdStoredProc
    Comm.Parameters.Append Comm.CreateParameter("@requestID", adBigInt, adParamInput, 8, Request.QueryString("RequestID"))
    set session("AdoRS") = Comm.Execute
    If Not IsObject (session("oApp")) Then                             
         set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
    End If
    If IsObject(session("oRpt")) then
         Set session("oRpt") = nothing
    End if
    'This "While/Wend" loop is used to determine the physical path (eg: C:\) to the
    'Crystal Report file by translating the URL virtual path (eg: http://Domain/Dir) 
    dim path
    Path = Request.ServerVariables("PATH_TRANSLATED")                    
    While (Right(Path, 1) <> "\" And Len(Path) <> 0)                     
    iLen = Len(Path) - 1                                                 
    Path = Left(Path, iLen)                                              
    Wend                                                                               
    path=path + "Reports\"
    set session("oRpt") = session("oApp").OpenReport(path & "Letter.rpt", 1) 
    session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = False
    session("oRpt").DiscardSavedData
    Set crDatabase = session("oRpt").Database
    Set crTables = crDatabase.Tables
    Set crTable = crTables.Item(1)
    crTable.SetPrivateData 3, session("AdoRS")
    on error resume next
         adoRS1 = objPrint.GetSubReportSuccessful(Request.QueryString("RequestID"))
         adoRS2 = objPrint.GetSubReportUnsuccessful(Request.QueryString("RequestID"))
            'This section adds subreport data for successful traces to the letter
         If adoRS1.EOF = False Then
                 Set crSections = session("oRpt").Sections
                  For x = 1 To crSections.Count
                      Set crSection = crSections(x)
                      Set crReportObjs = crSection.ReportObjects
                          For y = 1 To crReportObjs.Count
                              If crReportObjs.Item(y).Kind = crSubreportObject Then
                                  Set crSubreportObj = crReportObjs.Item(y)
                                  If crSubreportObj.Name = "Schemes" Or crSubreportObj.Name = "WelshSchemes" Then
                                      Set crSubreport = session("oRpt").OpenSubreport(crReportObjs(y).Name)
                                      crSubreport.DiscardSavedData
                                      Set crDatabase = crSubreport.Database
                                      Set crTables = crDatabase.Tables
                                      Set crTable = crTables.Item(1)
                                      crTable.SetPrivateData 3, adoRS1
                                  End If
                              End If
                          Next
                  Next
              End If
            'This section adds subreport data for unsuccessful traces to the letter
               If adoRS2.EOF = False Then
                 Set crSections = session("oRpt").Sections
                  For x = 1 To crSections.Count
                      Set crSection = crSections(x)
                      Set crReportObjs = crSection.ReportObjects
                          For y = 1 To crReportObjs.Count
                             If crReportObjs.Item(y).Kind = crSubreportObject Then
                                  Set crSubreportObj = crReportObjs.Item(y)
                                  If crSubreportObj.Name = "Unsuccessful_traces" Then
                                      Set crSubreport = oRpt.OpenSubreport(crReportObjs(y).Name)
                                      crSubreport.DiscardSavedData
                                      Set crDatabase = crSubreport.Database
                                      Set crTables = crDatabase.Tables
                                      Set crTable = crTables.Item(1)
                                      crTable.SetPrivateData 3, adoRS2
                                  End If
                              End If
                          Next
                  Next
              End If
    session("oRpt").ReadRecords
    If IsObject(session("oPageEngine")) Then                             
         set session("oPageEngine") = nothing
    End If
    set session("oPageEngine") = session("oRpt").PageEngine
    set Conn = nothing
    set Comm = nothing
    %>
    <!-- #include file="SmartViewerActiveX.asp" -->
    <%

    Here's the code...
    <object runat=server progid = Print.print id=objPrint></object>
    <object runat=server progid = com.session id=objSession></object>
    <object runat=server progid = com.login id=objLogin></object>
    <object runat=server progid = com.request id=objRequest></object>
    <!#INCLUDE FILE="gen_funcs.asp">
    <!#INCLUDE FILE="adovbs.inc">
    <%
         Dim rsSession
         Dim strUserID
         Dim iUserType
         Dim strSalutation1
         Dim strNewRequestASP
         Dim rsDetails     
         Dim varRetValue
         Dim Comm
         Dim Conn
         Dim ADORs
         Dim adoRS1
         Dim adoRS2
         Dim adoRS3
         Dim oApp
         Dim oRpt
         Dim oPageEngine
         strUserID = getWindowsLogIn
         'Retrieve Session Data from session object
         Set rsSession = objSession.GetDetails(strUserID)
         strSalutation = rsSession.Fields("login_data")
         iUserType = rsSession.Fields("user_type")
         Set rsSession = Nothing
         varRetValue = "true"
    If IsObject(session("oRpt")) then
         Set session("oRpt") = nothing
    End if 
    set Comm = Server.CreateObject("ADODB.Command")
    set Conn = Server.CreateObject("ADODB.Connection")
    set session("AdoRS") = Server.CreateObject("ADODB.Recordset")
    Comm.CommandTimeout=60
    mStr = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=DEV;Data Source=GBNBS1501;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=GBNBS0500;Use Encryption for Data=False;Tag with column collation when possible=False"
    mstr=replace(mstr, "Integrated Security=SSPI;","")
    Conn.Open Mstr & ";Trusted_Connection=no", "crystaluser", "crystalpassword"
    set Comm.ActiveConnection = Conn
    Comm.CommandText = "usp_get_customer_letter"
    Comm.CommandType = adCmdStoredProc
    Comm.Parameters.Append Comm.CreateParameter("@requestID", adBigInt, adParamInput, 8, Request.QueryString("RequestID"))
    set session("AdoRS") = Comm.Execute
    If Not IsObject (session("oApp")) Then                             
         set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
    End If
    If IsObject(session("oRpt")) then
         Set session("oRpt") = nothing
    End if
    'This "While/Wend" loop is used to determine the physical path (eg: C:\) to the
    'Crystal Report file by translating the URL virtual path (eg: http://Domain/Dir) 
    dim path
    Path = Request.ServerVariables("PATH_TRANSLATED")                    
    While (Right(Path, 1) <> "\" And Len(Path) <> 0)                     
    iLen = Len(Path) - 1                                                 
    Path = Left(Path, iLen)                                              
    Wend                                                                               
    path=path + "Reports\"
    set session("oRpt") = session("oApp").OpenReport(path & "Letter.rpt", 1) 
    session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = False
    session("oRpt").DiscardSavedData
    Set crDatabase = session("oRpt").Database
    Set crTables = crDatabase.Tables
    Set crTable = crTables.Item(1)
    crTable.SetPrivateData 3, session("AdoRS")
    on error resume next
         adoRS1 = objPrint.GetSubReportSuccessful(Request.QueryString("RequestID"))
         adoRS2 = objPrint.GetSubReportUnsuccessful(Request.QueryString("RequestID"))
            'This section adds subreport data for successful traces to the letter
            If adoRS1.EOF = False Then
                 Set crSections = session("oRpt").Sections
                  For x = 1 To crSections.Count
                      Set crSection = crSections(x)
                      Set crReportObjs = crSection.ReportObjects
                          For y = 1 To crReportObjs.Count
                              If crReportObjs.Item(y).Kind = crSubreportObject Then
                                  Set crSubreportObj = crReportObjs.Item(y)
                                  If crSubreportObj.Name = "Schemes" Or crSubreportObj.Name = "WelshSchemes" Then
                                      Set crSubreport = session("oRpt").OpenSubreport(crReportObjs(y).Name)
                                      crSubreport.DiscardSavedData
                                      Set crDatabase = crSubreport.Database
                                      Set crTables = crDatabase.Tables
                                      Set crTable = crTables.Item(1)
                                      crTable.SetPrivateData 3, adoRS1
                                  End If
                              End If
                          Next
                  Next
              End If
            'This section adds subreport data for unsuccessful traces to the letter
               If adoRS2.EOF = False Then
                 Set crSections = session("oRpt").Sections
                  For x = 1 To crSections.Count
                      Set crSection = crSections(x)
                      Set crReportObjs = crSection.ReportObjects
                          For y = 1 To crReportObjs.Count
                             If crReportObjs.Item(y).Kind = crSubreportObject Then
                                  Set crSubreportObj = crReportObjs.Item(y)
                                  If crSubreportObj.Name = "Unsuccessful_traces" Then
                                      Set crSubreport = oRpt.OpenSubreport(crReportObjs(y).Name)
                                      crSubreport.DiscardSavedData
                                      Set crDatabase = crSubreport.Database
                                      Set crTables = crDatabase.Tables
                                      Set crTable = crTables.Item(1)
                                      crTable.SetPrivateData 3, adoRS2
                                  End If
                              End If
                          Next
                  Next
              End If
    session("oRpt").ReadRecords
    If IsObject(session("oPageEngine")) Then                             
         set session("oPageEngine") = nothing
    End If
    set session("oPageEngine") = session("oRpt").PageEngine
    set Conn = nothing
    set Comm = nothing
    %>
    <!-- #include file="SmartViewerActiveX.asp" -->
    <%

  • BI accelerator: problem displaying Data Load Status

    I have installed BI accelarator following the note : 934848.
    The problem is when I try to monitor Data Load Status , I've this error on the portal : "Error reading the data of InfoProvider 0TCT_VC12, There is still no data source assigned to VirtualProvider 0TCT_VC12" but  I've activated direct access for this virtual info prorvide  to the correct source system as it is mentionned(step 5) and it is assigned to a data source (0TCT_DS12).
    any help would be grateful,rewarded
    thomas
    Message was edited by:
            Thomas Bailleul

    You're absolutely right Rajani , it's about BI Cokpit Administration.
    In fact, I really activate direct access, I  added the right source system in the  Source System for InfoSource 3x window.
    but it 's still not working. Thanks for your Hekp.

  • Problems displaying GUI and fillRect()

    Hello all, thanks for reading this post ... this is a four part question:
    1)I have a JFrame set up with JButtons along the bottom. There is open space at the top where I would like to display some 2D drawing like fillRect(). In my paint method, when I use fillRect(), my buttons would disappear until I ran the mouse over them. To fix this problem I used a super.paint(g) before my fillRect() and in my paint method. Is there a better way to disiplay 2D images with a GUI?
    2)I am dispalying 2D images directly to the JFrame. Should I use another type of java container like a JPanel to do the 2D output? If so, how would I alter and use the paint method of JPanel (for example) so that I could call it from JFrame.
    3)I need to display repeated rectangles with the fillRect() function. Right now I am including the fillRect() call in the paint method and using another method to loop repaint. I am getting many errors and have a feeling that there is an easier way to achieve repeated display of rectangles. Can anyone offer a better way?
    4)The title bar of my JFrame steals some pixels away from the area that I am trying to draw to. Consequetly, if I try to paint to the coordinates (0,0) i cannot see the coloring becuase it is behind the title bar. I read in a book about something called insets that have variables such as .top .bot .left .right that have the size of the margins taken up (e.g. the title bar). I tried to get such information from my JFrame but didn't have much luck. Any and all help is greatly appreciated.
    To recap, I have a JFrame as my main program, with JButtons at the bottom and open space at the top for displaying 2D images.

    Follow this sample:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Draw2 extends JFrame 
         Tpan     board = new Tpan();
         JButton jb1    = new JButton("sample1");
         JButton jb2    = new JButton("sample1");
    public Draw2()
         super();
         setBounds(1,1,500,400);     
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
                   dispose();     
                   System.exit(0);
         getContentPane().setLayout(new BorderLayout());
         getContentPane().add("Center",board);
         JPanel con = new JPanel();
         getContentPane().add("South",con);
         con.add(jb1);
         con.add(jb2);
         setVisible(true);
    public class Tpan extends JPanel
    public Tpan()
         setBackground(Color.pink);
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         g.setColor(Color.black);
         for (int i=0; i < 35;i++)
              g.setColor(new Color(i*7,100,250-i*6));
              g.drawRect(i*9,i*6,50,50);
    public static void main (String[] args)
         new Draw2();  
    }       Noah

  • Problem Displaying file and doind a redirect

    Hello,
    I am displaying a file using a wpg_docload.download_file(v_bfile); call from a PL/SQL procedure that is called on a button
    which works fine once I put a call to APEX_APPLICATION.g_unrecoverable_error inside the procedure , as below.
    APEX_APPLICATION.g_unrecoverable_error := FALSE;
    The button is supposed to automatically refresh (reload, resubmit) the page once that operation is finished. However the page does not refresh unless I remove the APEX_APPLICATION.g_unrecoverable_error line, which in turn means the file is not displayed.
    I have tried putting in a APEX_APPLICATION.g_unrecoverable_error= TRUE at the end of the procedure and in Apex where the button is called but the system is not having any of it.
    How can I get the file to display (dialog button to appear) and then the redirect to work please..

    Hi,
    The requirement is as below.
    We need to create an customize xml using some  other xmls.
    Than using the generated xml,we need to generate an pdf report.
    Then we need to sent this pdf report for printing.
        I have created a custom action block using java.
       This code takes path of xml and generates a pdf report.
       It than creates a report at particular location.
       This code is working fine in xMII 11.5. As we can store/ create files at any location. 
       But not working in 12.0. I donu2019t know why?
       Is their way around in 12.0 by which we can achieve this functionality.
    Thanks,
    Vishal J

  • PDF forms have problems displaying text and only appears when the field is selected

    Hello,
    I created some pdf forms to distribute to the company clients. But we are having some people complaining about the text visibility. When they have work in team, the pdf that they receive from a third person often appears unfill or without text, the text is only visible when the field is selected. I need to find a solution for this because our company products are base on this forms.
    If there is any addition information that I should add to understand what is happening and how to fix it, I'll be happy to write it.
    In the company, we all have mac and the forms where created innitially in Adobe acrobat 9 pro, but we have now Adobe acropabt XI pro.
    The users have both Mac and Windows systems.
    Thank you,

    This is usually caused by the form being filled-in and saved by a Mac user who is using the Preview application to view the PDF. More information is here: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html
    It is a good idea to inform your users that Adobe Reader (or Acrobat) should be used to work with the forms.

  • Problem with foreign and primary keys migration from SQL Server to Oracle

    Hi folks, i'm using SQL Developer to migrate from a SQL Server database to Oracle and i'm stuck with a couple issues:
    The worst of them so far is the fact that i can't migrate any of the PKs and FKs. After successfully capturing the SQL Server DB model and converting it to Oracle, when the tool generates the scripts, all ALTER TABLE queries that add the PKs and FKs have their target columns duplicated.
    for example: when i'm trying to migrate a simple table that contains an Id (PK) and Name columns, the tool generates the following scripts:
    PROMPT Creating Table TestTable...
    CREATE TABLE TestTable (
    Id NUMBER(10,0) NOT NULL,
    Name VARCHAR2 NOT NULL
    PROMPT Creating Primary Key Constraint PK_TestTable on table TestTable ...
    ALTER TABLE TestTable
    ADD CONSTRAINT PK_TestTable PRIMARY KEY
    Id,
    Id
    ENABLE
    As for the FKs, the tool duplicates the columns as well:
    ALTER TABLE SomeTable
    ADD CONSTRAINT FK_SomeTable_SomeTable2 FOREIGN KEY
    SomeTable2Id,
    SomeTable2Id
    REFERENCES SomeTable2
    Id,
    Id
    ENABLE
    Does anyone have a clue on how to solve these issues? I'd be greatly thankful for any answers!

    Hi Fernando,
    I was unable to replicate this issue. My primary / foreign keys where defined using unique columns.
    PROMPT Creating Primary Key Constraint PK_Suppliers on table Suppliers ...
    ALTER TABLE Suppliers
    ADD CONSTRAINT PK_Suppliers PRIMARY KEY
    SupplierID
    ENABLE
    I tried a few things like
    capturing twice and renaming both models the same
    renaming the converted models
    but with no luck.
    I think this issue is occuring either at the capture or convert phase.
    1) Are you performing the capture online or offline?
    2) Can you provide a the entire DDL for one of these tables and its indexes to see if I can replicate?
    3) Did the capture or convert fail or have to be redone at any stage ?
    I all else fails I would attempt a capture and convert again using a brand new repository (create a new schema in Oracle and associate the migration repository with it).
    Regards,
    Dermot
    SQL Developer Team
    Edited by: Dermot ONeill on Oct 22, 2009 12:18 PM

  • Error in displaying date time value in Thai Windows OS browser.

    Hi,
    I have a problem displaying date time in the browser which is installed with Thai Windows OS. The time portion (the subset of datetime) does seemed to show correctly. Initially i am suspecting the virtual machine problem but i tried on bith java and microsoft vm, the result seemed the same. I tried to look in the source of the page and the character is just the same as the incorrect character displayed in the browser. The html source is -->
    <tr class="TableData">
         <td width="76">14/01/04 12:17:06 H-@5H"</td>
    the time is displaying incorrectly. I am not sure its due to any setting in the BEA weblogic server. FYI i am now using WLS6.1(SP2) version. Hope and appreaciate a prompt reply. Thanks a zillion in advance.
    Regards,
    Sunny

    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noclassdeffounderrorIWDAbstractTableColumn&adv=false&sortby=cm_rnd_rankvalue
    java.lang.NoClassDefFoundError
    Error while binding node attribute to a  UI  element (table)
    Problem with NWDS 7
    class def error?

  • SQL Developer tool sometimes does not display data with date type

    run the following query using the sql developer tool -
    select effective_date from table1 where id = 123;
    (the effective_date is stored in the database as date.)
    one record is returned with no date in the filed.
    However, if I change the query to
    select to_char(effective_date, 'mm/dd/yyyy') from table1 where id = 123;
    one record is returned with effective date.
    Why?
    Thanks for your help.

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • Debug in sql server 2012

    Hi,
    I have 3 sql server (2005,2008,2012) In 2005 and 2008 remote debug (from sql management studio installed on the client) works without problems.
    In sql 2012 debugging only works on sql management studio installed locally, why?
    The server 2012 and the client are in the same domain, and both have the firewall disabled
    to connect to all 3 I always use the same sql server management studio 2014
    thanks!

    Hi matti157,
    As your description, you fail to use remote T-SQL Debugger in the instance of SQL Server 2012. Please help to post the error information here for analysis. Based on my research, the issue could be due to the RPC or authentication issue. You could pay attention
    to the points below to troubleshoot your issue.
    1.It is recommended to verify if the configuration of the T-SQL Debugging  was done correctly. To verify that, you can follow the steps from the link:
    http://msdn.microsoft.com/en-us/library/cc646024(v=sql.100).aspx
    2.Verify if the SQL Server Management Studio was started with Administrator permissions (Run as Administrator);
    3.Verify if the account used to connect remote to T-SQL Debugger has the right of ‘sysadmin’ on SQL Server Instance and if it is in the Local Administrators Windows Group
    4.Verify if the following services are started:
    a.TCP/IP NetBIOS Helper;
    b.Remote Registry;
    c.RPC Service;
    5.Verify if DCOM is active on the server and client. To do  that please follow the steps described in the link:
    http://technet.microsoft.com/en-us/library/cc771387.aspx.
    6.If you have intermediary devices between SQL Server and client, it is absolutely necessary to configure on this devices the  necessary rules and ports , so the communication between the SQL Server and the client not to be blocked;
    7.To verify if you have any issues with the permissions at DCOM level, you can activate the DCOM logging using the following link:
    http://support.microsoft.com/kb/892500.  To verify if the DCOM works fine you can do the test from the following article
    http://support.microsoft.com/kb/259011/en-us.
    For more information about the process, please refer to the article:
    http://blogs.technet.com/b/beatrice_popa/archive/2012/11/28/quot-unable-to-start-t-sql-debugging-could-not-attach-to-sql-server-process-on-databasename-the-rpc-server-is-unavailable-quot.aspx
    Regards,
    Michelle Li

Maybe you are looking for

  • How to get a poster or preview image for my flv file

    I am trying to find out how I can get a static image to show in my flvplayer before someone presses the play button to view the video. Details: I am brand new to flash, videos, .flv files, flash players, etc. I am very experienced with Dreamweaver, h

  • Query on ME21N transaction Exits?

    Hi Experts,        My requirement is when the user enters into transaction me21n and create the purchase order.    For example There are two users User1 and User2.             For User1 having the purchase group PGR1 and in this PGR1, suppose 5 mater

  • Hiding a custom event in portal eventing

    Hi, Can anyone tell me how to hide the custom event in portal eventing? Regards MQ

  • Opening of IView in New Window

    Hi All, I have iView which is common to two different roles. In both roles I have to open in the same window but since a link cannot be provided with two different PCD locations. I want that iView to be displayed in a new window. So on click of link

  • Most recent date in report filter.

    Hi, I have a report with a date column. I would like to run the report for the most current date. I would like to add a filter to the report which pulls data for the most current as of date. Which would be the best method to use in the filter. Please