Question about having a master sql scrpit/file that calls other sql files

I know that in SQL Plus, the following works:
master.sql:
@script1.sql
@script2.sql
@scriptn.sql
My problem is, I'm using the sql maven plugin and the jdbc driver doesn't seem to like the @script.sql syntax. So the question is two-fold. Is it possible to get this master script behavior using the jdbc driver and not SQL Plus. Second, is the @script.sql syntax, specific to SQL Plus?
Thanks!
Justin

The @<<script>> syntax is specific to SQL*Plus. I'm not familiar with the "sql maven plugin", so I have no idea whether it has some analogous syntax for calling scripts in other files or not. The JDBC API works just with SQL statements, not scripts, so whatever application (I'm guessing SQL Maven?) that is using the JDBC driver has to interpret the @<<script>> syntax.
Justin

Similar Messages

  • How to call Fortran .dll file that using other library files?

    Hi,
    I am trying to do some arkward tasks using LabView, and I am desperately need help....
     A little bit background:
    1. My co-worker has some code written in Fortran, where he called other libraries (many from CERNLAB or PAW). Those stuffs are pretty powerful in mathmatical calculation and simulations.
    2. In some of my LabView code, I need to call his Fortran source code in order to do some complicated calculations. I have no capablility to translate his Fortran code to Labview (or is it even possible??), so we end up with trying to use "Call library function node" where I just provide input/outputs to communicate with his code. The idea sounds simple enough?
    3. We complie the Fortran code into .dll, and then specifiy the dll in "Call library function node". The first try with a very simple Fortran code, something like c = a+b*a, was sucessful. The dll file and Call lib function worked good. It's sort of proved the concept.
    4. Now I am trying more complicated Fortran code (say Test.dll), which calling other library (.lib files) that using typical "call xxx(a,b,c)" line, and my nightmare started....  It seems nothing was excuted when I call Test.dll in LabView.
    Questions:
    1. How do LabView know if the Test.dll code needs functions from other .lib files? Do I need to copy all the .lib files to a specific folder?
    2. When I create .dll file, for LabView to be able to use it, are there any special requirement on the way the .dll is compiled?
    3. Seems there is mismatch btw the data type in Fortran and LabView. For example, LabView's  Signed 8-bit Integer seems different with a integer in Fortran. How can i know the correlation btw data type in different langurage, i.e. LabView vs Fortran?
    4. Are there any good examples that I can take a look?
    I would highly appreicate any suggestions/helps!
    Rgds,
    Harry

    You are aware that Intel Visual Fortran is the successor to Compaq Visual Fortran (I think you made a mistype with the Virtual)? So an upgrade might be at its place.
    Anyhow I'm really not familiar with Fortran at all, but lib files are usually compiled into an EXE or DLL and not loaded dynamically. 1) 
    So there should be no problem with locating those libs. What most likely is a problem are other DLL dependencies such as any Fortran Runtime library or possibly other third party DLLs the more advanced code in your DLL might be using.
    Typically most compilers can be configured to link the runtime library code statically into the DLL, as altenbach reports for the Intel compiler, otherwise you must make sure to install the  redistributable Fortran Runtime Library for your compiler. Besides that you must make sure to find out what other runtime dependencies your code might have and install them.
    1) One exception I know of is LabWindows CVI which allows to also load lib files dynamically. This is supposedly a legacy feature from LabWindows for DOS, which allowed that feature to simulate dynamic module loading in order to swap modules at runtime to work around the 640k memory limitation of DOS.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Running a batch file that calls my ear file

    hi, can anyone help out on this?
    i have a Schedule.class in my ear file (project.ear) and i need to write a batch file to run this class file inside the ear file. is this possible and if so, how shall my batch file looks? thanks in advance!

    thanx 4 replying
    but as i am a developer and i am developing the aplication for a client, so should i speak to the client for this or can i do this without interrupting them?
    -ashish

  • Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"

    Hello all,
    I have moved this question from the Windows
    Server General Forum accorfing to the suggestion from Mr. Justin Gu 
    I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
    I can find the Filter function with the following operation.
    Mr. Justin Gu wrote:
    > You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
    In the Properties dialog box, click Filter and
    then select ‘Edit…’. You will be> able
    to see the Filter type and Filter data in the Filter dialog box.
    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.

    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.
    I'm looking for the same information.

  • How to find PDF files that have other documents bundeled within them?

    Hello guys
    I need help with the following: we have a huge number of PDF files that have other documents imbedded (bundled, attached) in them. If such a document is open in Acrobat, bundled files show up as attachments on the left. Some of those attachements are .mdi files. This is Microsoft Document Images files. Is there a way to flag PDF's that have those .mdi files in them? I need to find them and convert to PDF. If I need to be more descriptive please ask, and thank you in advance for help.

    Preflight is a complex plugin, it's hard to explain how to use it in one forum post. You need to read the documentation carefully.
    There's no pre-built profile for what you want, so you would first create a new Custom Check that compares the MIME type string of embedded files to what you're searching for (not the file extension but the full MIME identifier, which for Office files is a very long string). You would then place that new Custom Check into a new Profile, identifying it as an error condition. Once you've saved the Profile you can run it against a number of files and specify actions to be taken for pass and fail conditions, such as changing the filename or moving to a subfolder.

  • Hi, I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files). Any ideas?

    Hi,
    I am getting an 'Error 4810 occurred at Sound File Read Open.vi' for the attached wav file (plus many other wav files).
    Any ideas?

    No attachment exists.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    Do you have a backup of your iPhone?   If so, do a restore and whatever Notes were backed up should reappear.
    You will lose any changes made since that backup though.

  • Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    No. This is NOT true. I've been battling with this for a couple hours.
    I choose Export>Versions
    choose
    Subfolder Format: Project Name
    no custom subfolder
    Name Format: Current Version Name.
    Aperture creates project folders for each image and names them Projects1, Projects2, Projects3 etc.
    To be sure, I have no project named Projects
    x
    This particular Aperture library has 16 projects. you can see in the screen grab it's created more than 30 folders
    If I uncheck the Subfolder, that is say NONE, I just get images and images and images, not in their project folders (of course, because I've said NONE, so why would it put them in project folders?)
    I just want to export the entire library and have the versions placed in folders named by the projects from which they came.... ez enough, no?

  • Java.sql.SQLException: execute() never called java.sql.SQLException: execut

    Hi,
    I am having problem in with depolying application developed using creator on Tomcat5.0. I am using sybase for connection
    MY JNDI settigns are correct. I have tried using
    1. Sun creator drvier class
    or
    2. JConnection6_0
    But am having no luck so far.
    Here is the stack trace
    java.sql.SQLException: execute() never called
    at com.sun.sql.rowset.CachedRowSetXImpl.checkExecuted(CachedRowSetXImpl.java:269)
    at com.sun.sql.rowset.CachedRowSetXImpl.next(CachedRowSetXImpl.java:1423)
    at webreporting.security.LoginValidator.authorizeUser(LoginValidator.java:61)
    at webreporting.Page1.button1_action(Page1.java:308)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.
    at javax.faces.component.UICommand.broadcast(UICommand.java:312)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChai
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:1

    java.sql.SQLException: execute() never called
    at com.sun.sql.rowset.CachedRowSetXImpl.checkExecuted(CachedRowSetXImpl.java:269)
    at com.sun.sql.rowset.CachedRowSetXImpl.next(CachedRowSetXImpl.java:1423)
    at webreporting.security.LoginValidator.authorizeUser(LoginValidator.java:61)You can't call cachedRowSet.next() until after you've executed your query. That's what the stack trace seems to say.
    cachedRowSet.execute() retrieves the rows from the database.
    next() lets you interate through the retrieved rows (aka the ResultSet).

  • Insert SWF that calls external XML files and images

    Hi
    I am using Acrobat XI Pro on a Windows 7 system.
    I have a PDF in which I have an SWF file. This SWF file contains text content that is called from an XML file and also some images that is called externally. I have added the folder that contains the XML file and the images by right-clicking the SWF > Properties > Resources > Add Directory. However, none of the content is loading.
    I have tried adding the images and xml file separately as well. Even that did not work.
    What could be wrong? Please advise.
    Sreekanth

    Debugging Flash content in a PDF from the Flash Pro or Flex editor is possible, but it's complicated (you need to juggle about with the SDK to load a special Acrobat plugin). If you're creating these SWFs yourself, the fastest way to debug is to add a bunch of ActionScript calls that report to Acrobat's console to tell you what's going on. Use ActionScript's externalInterface.call() and the Acrobat JS console.println() functions, just like if you were talking to JavaScript in a web page.
    Rich media resources cannot be imported globally in Acrobat. In theory it's possible (the ISO standard allows XObject references to shared assets) but there's no authoring tool.

  • Importing .aaf file that links to .m2t file

    Hi, I've been asked to do some sound editing for a video that was edited in Vegas. The video editor is able to export a .aaf file which I know STP will read. However, the video was done in HDV and the audio/video files that the .aaf file refers to are .m2t files.
    STP seems to barf on those files, because when I try to import the .aaf, it says it can't find the .aaf file. So, I show it the path to the file, and then is says again that it can't find it. I take this to be a poorly designed alternative to a dialog box that says, "File format not supported."
    Regardless, after doing some quick online research, I learned that .m2t files aren't natively supported by FCP, and I'm guessing that's why it's not supported by STP, too.
    Does anyone have advice on a workflow that would work for this scenarios? Unfortunately, each video clip was imported to the Sony Vegas computer as a separate file. So the video project consists of literally hundreds of little .m2t files.
    Any advice?
    Cheers,
    Todd.

    That is definitely true. So I could convert the 100 .m2t files into 100 QT files. but what do I do about the fact that the .aaf file still references the .m2t files?

  • In a java applet , how to call other jar file?

    i have i programm, this programm is a java application,
    also, i already put these program into jar file, and then if i double this jar file , its work!
    but , now i need to run this program in web browser,
    i thing that i will write a simple applet with a button
    after i click this jButton, how the java applet call and run the java file?
    please help me.. it is because this is my project! thx..........
    [email protected]

    I have a solution write one batch file in that you specify class path and java home.
    then give
    java -jar Test.jar
    then call this batch file from program using Java runtime
    Runtime.exec method...
    Hope will this work

  • Linking a common Pages file to several other Pages files

    I have a common section called "Terms and Conditions" that is used in several different documents. If I change the "Terms and Conditions" I have to edit every file that contains that section. Is there a way to "Link" a seperate "Terms and Conditions" file to each document that contains that section, therfore editing only a single file and each document gets updataed automatically?

    Hi emarino,
    You can create a link between Pages documents. It will only serve to open the other document; it won't automatically update the content. You will have to copy the revised Terms and Conditions and paste them into each document.
    Or, just leave it as a link for the user to follow to the revised Terms and Conditions document:
    Page 112 of the Pages User Guide: Linking to Another Pages Document.
    Download the Guide from the Help Menu in Pages.
    Regards,
    Ian.

  • Safari (Snow Leopard) will not link to website (pdf) files from within other pdf files

    Meeting agendas (in pdf format) have 'web links' to other pdf files, but Safari says not enough info in the webaddress.  But it works O.K. in Windows Explorer.

    Open browser preferences
    ex Safari>Preferences>Extentions   and un-enable any ext that mabe interferring , ex divX
    or open Help> installed Plug-ins and remove Adobe Acrobat.
    if still a problem
    Quit Safari.
    In the Finder, select Go ▹ Go to Folder from the menu bar, copy the text on the line below into the box that opens, and press return:
    ~/Library/Preferences/com.apple.Safari.plist
    A Finder window will open with an item selected. Move the selected item to the Desktop, leaving the window open.
    Launch Safari and test. Its settings will have reverted to what they were they first time you launched it. If it works as expected, recreate the settings and delete the item you moved to the Desktop. Otherwise, quit Safari again and put the file you moved back where it was, overwriting the newer one created in its place.

  • Register XSD-Files which includes Other XSD-Files

    Hallo
    i have two XML-Schemata. One is included by the other.
    Here is an example:
    This is the XSD, which is included by the other (metadata.xsd):
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <!-- Metadatenbereich für das xml-Dokument selbst-->
         <xs:element name="metadata" type="metadataType">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT von Metadata</xs:documentation>
              </xs:annotation>
         </xs:element>
         <!-- Glossar: Metadatenbereich + Glossarinhalt als Liste von Glossareinträgen -->
         <xs:complexType name="metadataType">
              <xs:sequence>
                   <xs:element ref="identifier"/>
                   <xs:element ref="category"/>
                   <xs:element ref="creator"/>
                   <xs:element ref="creation_date"/>
                   <xs:element ref="publisher"/>
                   <xs:element ref="language"/>
                   <xs:element ref="title"/>
                   <xs:element ref="basic_year"/>
                   <xs:element ref="statistic"/>
    This is the XSD, which include the other XSD (lexikon.xsd):
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="unqualified" attributeFormDefault="unqualified">
         <!-- Includieren der Metadaten-->
         <xs:include schemaLocation="metadata.xsd"/>
         <!-- ROOT Element von Lexikon-->
         <xs:element name="lexikon" type="lexikonType" xdb:defaultTable="LEXIKON">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="lexikonType">
              <xs:sequence>
                   <xs:element ref="metadata"/>
                   <xs:element ref="lexikonEntries"/>
              </xs:sequence>
              <xs:attribute name="lexikonKat" type="xs:integer">
                   <xs:annotation>
                        <xs:documentation>für spezielle UnterkategorienTypen zu den Lexikas</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
         </xs:complexType>
         <!---->
         <!-- GLOSSAR-ELEMENTE -->
         <!---->
         <!-- ExplicationTxt-->
         <xs:element name="explicationTxt" type="explicationType"/>
         <xs:complexType name="explicationType">
              <xs:choice>
                   <xs:element ref="verweis"/>
                   <xs:element ref="txt"/>
                   <xs:element ref="para"/>
    Both documents have i copied to a webdav-folder. Now i want register the documents.
    BEGIN
    DBMS_XMLSchema.registerSchema(
    schemaurl=>'http://190.1.1.148:8080/home/DEV/xsd/lexikon.xsd',
    schemadoc=>sys.UriFactory.getUri('/home/DEV/xsd/lexikon.xsd'));
    END;
    The following error-message is displayed:
    ERROR at line 1:
    ORA-31000: Resource 'metadata.xsd' is not an XDB schema document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 166
    ORA-06512: at line 2
    I made the XSD-Files by XMLSpy. The Documents are well-formated and valid.
    When i make a new XML-File based ONLY (of course) on lexikon.xsd everything works fine with XMLSpy.
    How must i register these documents? Is it possible? Or can´t i register XSD-Files which includes others?
    Thank you very much
    cu
    Heidi

    Heidi,
    register the metadata.xsd first inthe same way and then register the lixikon.xsd.
    it should work.

Maybe you are looking for

  • Manual clearing f-03/f-32/f-44

    Dear all, What is the purpose of manual clearing f-03/f-32/f-44? Please explain me with an example. I will award maximum points. Thanks in advance, Regards, Ar

  • Best way to change my Apple id on iPhone

    Years ago my wife and I shared my apple id.  She now has her own account and id, but we still see linking in our calendar and other places - unwanted linking, but cannot seperate it. I'm getting a new device in a couple of days and want to be able to

  • Help in reading header and item level texts in report

    hi, i have a requirement in which i have to read the header level text in Billing. i am using the function module read_text in my report and its working fine but i get an error if the text is not maintained for a particular invoice and the report doe

  • CAN SOMEONE EXPLAIN THIS CODE

    HI, CAN SOMEONE EXPLAIN TO ME THIS CODE: FUNCTION DISP_QATD return VARCHAR2 is BEGIN      SRW.REFERENCE(:P_CURRENCY_CODE);      SRW.REFERENCE(:P_QATD1);      SRW.USER_EXIT('FND FORMAT_CURRENCY           CODE     = ":P_CURRENCY_CODE"      DISPLAY_WIDT

  • Adobe is stealing my money and I cannot find a way to stop it

    Please help! For the longest time I have been paying $49 every month without being able to use my Adobe creative cloud subscription, and now I have finally had enough. Today when trying to figure out why my account was dormant I realised that somehow