Support of PL/SQL Functions in Data Modeler

Hello,
Sorry if this question has already been answered, I searched the forum but got 215 hits on data modeler + pl/sql functions.
So my question is:
Stored Procedures are already supported by the physical model (11g) of data modeler, but I could not find any method
to create pl/sql functions via data modeler - neither in the documentation nor on the user interface. Is this
currently not supported?

Is this currently not supported?There will be support for functions and packages in next release.
Philip

Similar Messages

  • Using CVS in SQL Developer for Data Modeler changes.

    Hi,
    I am fairly new to SQL Developer Data Modeler and associated version control mechanisms.
    I am prototyping the storage of database designs and version control for the same, using the Data Modeler within SQL Developer. I have SQL Developer version 3.1.07.42 and I have also installed the CVS extension.
    I can connect to our CVS server through sspi protocol and external CVS executable and am able to check out modules.
    Below is the scenario where I am facing some issue:
    I open the design from the checked out module and make changes and save it. In the File navigator, I look for the files that have been modified or added newly.
    This behaves rather inconsistently in the sense that even after clicking on refresh button, sometimes it does not get refreshed. Next I try to look for the changes in Pending Changes(CVS) window. According to the other posts, I am supposed to look at the View - Data Modeler - Pending Changes window for data modeler changes but that shows up empty always( I am not sure if it is only tied to Subversion). But I do see the modified files/ files to be added to CVS under Versioning - CVS - Pending Changes window. The issue is that when I click on the refresh button in the window, all the files just vanish and all the counts show 0. Strangely if I go to Tools - Preferences - Versioning - CVS and just click OK, the pending changes window gets populated again( the counts are inconsistent at times).
    I believe this issue is fixed and should work correctly in 3.1.07.42 but it does not seem to be case.
    Also, I m not sure if I can use this CVS functionality available in SQL Dev for data modeler or should I be using an external client such as Wincvs for check in/ check out.
    Please help.
    Thanks

    Hi Joop,
    I think you will find that in Data Modeler's Physical Model tree the same icons are used for temporary Tables and Materialized Views as in SQL Developer.
    David

  • Links for SQL Developer and Data Modeler not working?

    Hi folks,
    I tried to access the new SQL Developer and Data Modeler links posted in the April 1 message (and on the Oracle site) from a couple of machines with no luck (empty zip files) - is there an update to the links?
    Thanks!
    Tomo

    In Firefox zero length zip. In IE loses connection to downloads.oracle.com.

  • Same icons for objects in SQL Developer as Data Modeler

    Hello,
    would it be possible to display the same icons for objects in SQL Developer as Data Modeler?
    For example:
    - in SQLD a session temporary table has the icon of a table with an X symbol, in Data Modeler it is just a table icon.
    - in SQLD a materialized view has the icon of a table with 2 arrows, in data Modeler it is just a table icon.
    Joop

    Hi Joop,
    I think you will find that in Data Modeler's Physical Model tree the same icons are used for temporary Tables and Materialized Views as in SQL Developer.
    David

  • Calling a User defined function from Data Model in BIP

    I am new to Procedures and Functions and am not sure if I am doing it right, so please bear with me.
    My User Function:
    create function MyTempFunction(@master_key varchar(max))
    returns VARCHAR(MAX)
    begin
    DECLARE @Names VARCHAR(8000)
    SELECT @Names = COALESCE(@Names + ', ', '') + vndt.name
    from
    [CMPROJ].[dbo].[VNDT] as vndt,
    [CMPROJ].[dbo].[CRQT_QUESTION_DISTRIBUTION] as CQD
    where CQD.parent_key=@master_key
    and CQD.project_name=vndt.project_name
    and vndt.initials=CQD.distributed_to_ini
    return @Names
    endIf I call the function in my query window I get a result:
    "Ron Swanson, Anne Perkins"
    But if I put the same query into my Data Model in BI Publisher and try getting the XML Output, my data is blank.
    This is how I call the function:
    select top 1 dbo.MyTempFunction('98d4dfa893164d138d5f961fa4') as Names from dbo.[CRQT_QUESTION_DISTRIBUTION]And I know that BIP did access the function, because the first time I tried to save the new SQL Query, it threw an error saying it was denied access to the function and I had to add the user to be able to execute the function.
    I am new to doing Procedures and Functions, so I am not sure if I am even doing it right.
    And don't know if even calling procedures or functions works form BIP.
    Any help appreciated.
    Thanks

    Thanks for the suggestion, but I still get nothing in the XML result set.
    I enabled some extra logging in the bipublisher.log file and I get an error:
    [2012-12-21T08:14:37.658-06:00] [AdminServer] [TRACE] [] [oracle.xdo] [tid: 11] [userId: <anonymous>] [ecid: e661403a668a80f1:56f304f5:13baf5ed125:-8000-0000000000003097,0] [SRC_CLASS: oracle.xdo.dataengine.XMLPGEN] [APP: bipublisher#11.1.1] [SRC_METHOD: processSQLDataSource] Sql Query :Distrubuted_To: select dbo.MyTempFunction('98d4dfa893164d138d5f961fa4') as Names [[
    from dbo.[CRQT_QUESTION_DISTRIBUTION]
    [2012-12-21T08:14:37.658-06:00] [AdminServer] [WARNING] [] [oracle.xdo] [tid: 11] [userId: <anonymous>] [ecid: e661403a668a80f1:56f304f5:13baf5ed125:-8000-0000000000003097,0] [APP: bipublisher#11.1.1] java.io.IOException: [Hyperion][SQLServer JDBC Driver]Object has been closed.[[
         at hyperion.jdbc.sqlserverbase.BaseCharacterStreamWrapper.validateClosedState(Unknown Source)
         at hyperion.jdbc.sqlserverbase.BaseCharacterStreamWrapper.read(Unknown Source)
         at oracle.xdo.dataengine.LOBList.readLobChunks(LOBList.java:263)
         at oracle.xdo.dataengine.XMLPGEN.writeLobToStream(XMLPGEN.java:976)
         at oracle.xdo.dataengine.XMLPGEN.writeRowSetListToStream(XMLPGEN.java:948)
         at oracle.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:479)
         at oracle.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:345)
         at oracle.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.xdo.dataengine.XMLPGEN.writeXMLDataStructure(XMLPGEN.java:216)
         at oracle.xdo.dataengine.XMLPGEN.processDataSet(XMLPGEN.java:1450)
         at oracle.xdo.dataengine.XMLPGEN.processMergedDataSet(XMLPGEN.java:1258)
         at oracle.xdo.dataengine.DataProcessor.processData(DataProcessor.java:366)
         at oracle.xdo.servlet.dataengine.DataProcessor.processData(DataProcessor.java:402)
         at oracle.xdo.servlet.dataengine.DataProcessor.processData(DataProcessor.java:389)
         at oracle.xdo.online.data.ClassicDataProcessor.process(ClassicDataProcessor.java:157)
         at oracle.xdo.servlet.ReportModelContextImpl.getReportXMLData(ReportModelContextImpl.java:232)
         at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:310)
         at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:93)
         at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1059)
         at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:624)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:473)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:445)
         at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:265)
         at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:297)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    ]]This same error gets displayed 5 times in a row with the new changes to the query.
    And If I look in the XML result set that I get when I do a test run I get:
    <G_7>
         <NAMES></NAMES>
    </G_7>
    <G_7>
         <NAMES></NAMES>
    </G_7>
    <G_7>
         <NAMES></NAMES>
    </G_7>
    <G_7>
         <NAMES></NAMES>
    </G_7>
    <G_7>
         <NAMES></NAMES>
    </G_7>So you can see that I am getting a blank value 5 times.
    When I run it with the "top 1" I only get the error once and I only see 1 entry in the XML.
    Thanks,

  • Is it possible to add support for new database type in Data Modeler?

    Hi,
    I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family,
    PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility to add XML files with metadata for a new RDBMS.
    I did it previously for PowerDesigner were it is possible to add and modify definitions for new relational databases.
    Thank you,
    Sergei

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • Best practice - creating functions in data model vs. rtf template

    Just a general question. Is there a best practice of creating functions in the data model vs. creating the functions in the data template?
    For example, is it more efficient to sum two fields in my SQL query or to create a function in the template that sums the two fields? Just curious if there is any performance benefit of one over the other.
    Thanks!

    anything you push it to DB(SQL), will be the faster than processing outside.

  • SQL Developer with Data Modeler, No Design Menu Option

    Using SQL Developer 3.0.04 Build MAIN-04.34 with Data Modeler. I have created a logical design and wish to forward engineer this to a relational model.
    I cannot seem to find the Design Menu option to use the >> Engineer to Relational Model option which is available under the Design Menu on the Stand Alone version of SQL Developer Data Modeler.
    Have checked the following locations:
    Tools -> Data Modeler
    View -> Data Modeler
    File -> Data Modeler
    Right Click on my Logical Design
    I have ensure that all my entities have the Engineer To property set to a valid Relational Model.
    Is this a bug or am I missing a menu option / configuration setting?
    Thanks in advance for any help
    John

    Hi John,
    you can find ">> Engineer to Relational Mode" button among other buttons for logical diagram.
    Philip

  • Integration of  SQL Developer and Data Modelling - concerns.

    In aanother thread about OSDM connections, I commented that the development team for OSDM and the core product seem to separate and Sue responded.
    Sue Harper wrote:
    A clarification of the Data Modeling feedback application and this forum. The developers are part of the SQL Developer development team, but as for all our features, each developer has a focus area, so the Data Modeling developers will tend to answer those questions. The reason I said that they seem to be separate as that ODSM seems to be put together completely differently. I hit another example today. I downloaded a fresh copy of osdm without JDK. On starting it up, it complained it couldn't find a jre and quit. There was no prompt to specify the location as there is with SQLDevloper and there are no configuration files to edit.
    SQLDeveloper already has issues with different components doing the same differently. The number of problems has been reduced but it has taken some time and I am concerned that the introduction of a large body of new code will cause things to revert to the bad old days in terms of quality.
    I may or may not end up using OSDM, but I want to have the choice. I don't want components I don't use becoming part of the application and adding bloat. The migration components are a case in point. The "migration workbench" ought to be a completely separate add-in rather than a core component and I hope this is down with OSDM.

    Jim,
    "I don't want components I don't use becoming part of the application and adding bloat." Absolutely. and we agree. SQL Developer Data Modeling will be a separate standalone product so that users who don't want to use SQL Developer, but who do want to model will have that option. The nice thing about an integrated solution is that if you are doing database work and then want to do some modeling, you are in one tool. Our current plans are to release the standalone product in the initial production release and then follow that with the extension to SQL Developer depending on the customer demand. We do plan to release a read only viewer as part of SQL Developer 2.0. This will be an extension, which like the Migration extension, you can switch off. and from your note, you'd prefer the reverse, that these new extensions are pieces you choose to include and not choose to exclude.
    I'm not certain we'll get agreement on this, but I'll be interested. Just this morning I was updating a thread were the request was for all the pieces to be there working out of the box.
    Sue

  • Calling function in data model

    Hello All,
    I am having 1 issues in a report.
    Here is what i am doing.
    I created a type of varchar2 and created a function which will return me the output of type.
    this runs fine in sqlplus but when i put the same query in data model and join another set of tables,the data model is not able to determine the output of the colums.It shoes me a question mark and not the varchar field.
    Due to this my generation to xml is failing.
    Pls help
    Thanks
    Saurabh

    TYPE CREATED.
    create or replace type str2tblType as table of varchar2(4000);
    FUNCTION CREATED.
    create or replace
    function str2tbl
    (date_from in number,date_to in number,v_inter number)
    return str2tblType
    as
    d varchar2(100);
    l_data str2tblType := str2tblType();
    v_date_from varchar2(100);
    v_date_to varchar2(100);
    begin
    v_date_from := date_from/3600;
    v_date_to := date_to/3600;
    IF INSTR(v_date_from,'.')=0 THEN
    v_date_from := v_date_from||':00';
    ELSE
    v_date_from := SUBSTR(v_date_from,1,INSTR(v_date_from,'.')-1)||':'||(v_date_from - SUBSTR(v_date_from,1,INSTR(v_date_from,'.')-1)) * 60 ;
    END IF;
    IF INSTR(v_date_to,'.')=0 THEN
    v_date_to := '0'||v_date_to||':00';
    ELSE
    v_date_to := SUBSTR(v_date_to,1,INSTR(v_date_to,'.')-1)||':'||(v_date_to - SUBSTR(v_date_to,1,INSTR(v_date_to,'.')-1)) * 60 ;
    END IF;
    d := v_date_from;
    WHILE d!=v_date_to
    loop
    l_data.extend;
    d:= to_char(to_date(d,'HH24:MI')+v_inter/60/24,'HH24:MI');
    l_data(l_data.count) :=d;
    end loop;
    return l_data;
    end;
    SELECT QUERY:
    select * from TABLE(cast( str2tbl(36000,21600,20) as str2TblType ) )

  • Forum for SQL Developer and Data Modeler?

    I searched now for a while all the available forums but did not found a special forum for the Oracle SQL Developer tool.
    Where do I post questions about it?
    Is there another, separate forum for SQL Developer Data Modeler?
    Peter

    https://forums.oracle.com/forums/category.jspa?categoryID=501

  • Data modeler - howto assign process/function to data model

    Hello all
    Problem path:
    sd11 (data modeler)
    i.e model: UNIMODELL (this is the model used as training in help.sap.com)
    There is [functions/processes] button (F8)
    When using UNIMODELL there is a process assigned to model and I can choose it (goes to Display Module: A.... screen)
    But:
    when I create my own data model -> when clicking [functions/processes] i get:
    "No functions assigned" infrmation
    Where can I add fun/proc to my data model?
    Thx4anyHelp
    Mateusz

    What method did you use?
    If FK is created and not removed then no scope clause is added - no need for that.
    It works for me:
    CREATE TABLE TABLE_2
    Column_2 REF StructuredType_1 ,
    Column_3 REF StructuredType_1
    ALTER TABLE TABLE_2
    ADD ( SCOPE FOR ( Column_2 ) IS TABLE_1 )
    ALTER TABLE TABLE_2
    ADD ( SCOPE FOR ( Column_3 ) IS TABLE_3 )
    table_1 and table_3 are of StructuredType_1
    Philip

  • SQL Error in Data Model

    Hi Gurus,
    We are facing a typical problem in BI Publisher when we are checking for a NULL value by using the following condition in the query.
    *((:P_EMP_NO IS NOT NULL AND EMP.EMPNO IN (:P_EMP_NO_I) ) OR(:P_EMP_NO_I IS NULL))*
    We have created report with input parameters and defined those parameters as muti-valued paramerters with comma separated i.e. checked Text field contains comma-seperated values option for all parameters. When we try to generate XML to verify the data, by giving mulitiple values i.e. comma-separated in the parameters, it is throwing following exception
    java.sql.SQLSyntaxErrorException: ORA-00920: invalid relational operator at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457) at
    where as just AND EMP.EMPNO IN (:P_EMP_NO_I) is working fine it is fetching data, but it won't fit in our requirement.
    User requirement is that they will be selecting multiple employees or may leave the prompts as blank and click on Apply, If user selects a value it should display the selected employee information only else it have to display all the employees information when :P_EMP_NO is left blank.
    eg.
    select emp_name, date_of_join, salary, department_no
    from employee
    where ((:P_EMP_NO IS NOT NULL AND EMP.EMPNO IN (:P_EMP_NO_I) ) OR(:P_EMP_NO_I IS NULL))
    can somebody suggest any workaround for this issue.
    Thanks,
    Sumanth

    Hello,
    I had similar problems during import. Have a look at: https://forums.oracle.com/thread/2568149
    Joop

  • Setting Default value with SQL Query as Data Model

    Hi All,
    I am developing report based on SQL query.date set as 'SQL Query'. I have created two params start-date and end-date. I am fetching records from database between these two dates.
    I want to populate sysdate as a default values. I do not want to use datatemplate approach i mean using beforeReport trigger.
    Thansk,
    Vara

    Hi Vara,
    To set the default value for one of your parameters to SYSDATE you need to enter:
    {$SYSDATE()$}
    in the Default Value text box
    Is this what you require?
    Cheers
    Andy

  • Using DEBUG Mode in Oracle SQL Developer Data Modeler to Log SQL

    Hello,
    I am looking for the possibilty to enable the logging of SQL in Data Modeler.
    Jeff Smith wrote an article how to do this for SQL Developer, for Data Modeler there are other configuration files. Does anyone have an idea?
    Best regards,
    Joop

    Hello Philip,
    the URL to the article of Jeff is: http://www.thatjeffsmith.com/archive/2012/10/using-debug-mode-in-oracle-sql-developer-to-log-sql/
    in the install directory of Data Modeler 3.3.0.734 exists a file datamodeler\datamodeler\bin\datamodeler.conf. This analogue the situation for sql Developer.
    However in this file there is no reference to a (non)debug file.
    In ide/bin directory there is a ide-logging-debug.conf and ide-logging.conf file. But they are not referenced. Should one of them be included?
    Joop

Maybe you are looking for

  • Cisco Linksys E3000 - Open DNS Error

    I just purchased a Cisco Linksys E3000 and got it set up pretty much the way I want it. My only remaining problem is I wish to used Open DNS as my DNS server. On Line chat support says,"Please access router set up. Under the set up tab you will see

  • [Athlon64] BIOS WONT RECOGNIZE SATA HARD DRIVE

    Hi. VIA kt8 Neo FSR 6702 64 bit AMD VT8237 chipset with Barracucuda (seagate) 80 g HD (sata).      I can not get Bios to recognize this hardrive. I suspect that I am missing a ata controller or the raid controller is messed up. Things I have tried. 1

  • Help cries the dinaosaur

    Hi there from a dinosaur and practically zero proficiency in this technology. Just purchased the Adobe PDF pack with the sole aim to convert a pdf file file into word. 1. How do i access this pack on line 2. What then do I do to convert a pdf into Wo

  • Relation between DB Collector and Archive Directory

    If archive directory could not be read, this would cause DB Collector error. Why so? And in what condition will cause the archive directory to be not readable? Thank you.

  • E-Mail date error

    Hi All, I am using the below code to send an email, however when I look in the SOST transaction the date is coming out as 30.70. 200. Has anyone experienced this before and if so how to resolve. Thanks for your help, Colm     DATA: MAILDATA TYPE SODO