Working with Sequences

I have a primary key code in my class being generated by a sequence. How can I use another sequence to generate the number value for another attribute of this same class?
Thank's.
Expedito.

Sorry, don't think I understand the question.
You can use your own sequencing, and plug into the event framework if you'd like to set the sequence during some part of the object lifecycle. If you'd like to also have TopLink manage seqencing in addition to your own, that's no problem, just "lie" to TopLink. I.e., you can tell it that it's responsible for sequencing, pick a field to be the "primary key" for this, but then you can still set your own field explicitly with a PK value, and either or both can be the PK on the database.

Similar Messages

  • Work with SEQUENCE, Help me, I'm a NeewbY!

    Hi to all, I've a problem,
    I want to create a form based on db that uses sequence (auto-number) for the primary key.
    I'm working with Jdeveloper+ jheadstart (to build Model & view controller)
    I don't want to insert the PK, i want that ID is inserted automatically in the form (in the master and also in detail form)....there are a way like p_session (of Portal) or where can I insert an simple PL/SQL (or sql) code??
    Thabk you, I'm a very very beginner!
    (Note the Master have a PK_1 with sequence but not a trigger, the detail have a form composed by a PK_2 (with sequence and trigger), FK_1 (linked to PK_1), and another FK_2)

    Hi,
    Why you didn't create a trigger? With trigger you can create entry with ID=null, then trrigger calls the sequence automatically to populate the ID.
    If needed:
    CREATE OR REPLACE
    TRIGGER ASSIGN_MYTABLE_ID BEFORE INSERT ON MYTABLE
    FOR EACH ROW
    BEGIN
    IF :NEW.MYTABLE_ID IS NULL OR :NEW.MYTABLE_ID < 0 THEN
    SELECT MYTABLE_SEQ.NEXTVAL
    INTO :NEW.MYTABLE_ID
    FROM DUAL;
    END IF;
    END;
    Regards,
    Tif

  • Advantages and disadvantages of using only sequence files or working with sequence files in projects

    Hello,
    can anyone please tell me the advantage of using projects instead of just a sequence file? Do I need projects only if I have more than one sequence file?
    Thanks a lot!

    MGH,
    Projects are meant to help with organization of TestStand files, but with the intention of use as part of a deployment of your test system.  As the TestStand Reference Manual (page 2-5) puts it:
    "In TestStand, you can create a workspace to organize and access your development files. A TestStand workspace file (.tsw) contains references to any number of TestStand project files. A TestStand project file (.tpj) contains references to any number of other files of any type.
    Use TestStand project files to organize related files in your test system. You can insert any number of files into a project. You can also insert folders in a project to contain files or other folders."
    John B.
    Applications Engineer
    National Instruments

  • Working with an Audio File in Audition which has Multiple Cuts in Premiere

    Hello,
    I am quite new to Audition and am trying to apply noise reduction to tracks from Premiere...
    As I do not want to edit the original audio files and I do not know of a less painstaking method, I have been creating copies of the original audio files (for example a 30m interview), processing the whole file, then essentially re-editing the whole segment by copying/pasting the multiple pieces of processed audio individually in the place of the originals, which is proving to be incredibly time-consuming.
    I am wondering if there is an an easier way of working with sequences with a lot of cuts in Premiere and which are sourced from the same audio file?
    I was planning initially to just copy/paste the files as they are in the Premiere timeline but I guess this would just alter the original file?
    Any thoughts are hugely appreciated...

    You should be able to export the audio as edited in Premiere as a new file to import into Audition for processing. then the matching processed audio file can be imported back into Premiere on a new track with the old one muted.

  • Greetings, I am working in Final Cut Pro 7. In the timeline some clips show as offline. I tried going to sequence and reconnecting to media but it does not work. I can still see the video in the timeline and work with it. It just has the red box.

    Greetings, I am working in Final Cut Pro 7. In the timeline some clips show as offline. I tried going to sequence and reconnecting to media but it does not work. I can still see the video in the timeline and work with it. It just has the red box. Thanks! Olga

    If the clips are not actually missing, you could try to refresh the timeline by using cmd-0 and then going to the timeline options tab. Then select name only where it says "thumbnail display". Press ok to accept the change, then repeat the process to add thumbnails back to your timeline.

  • Best way to work with large image sequences

    Hello,
    Im relatively new to Adobe CS4. I am learning to create detailed animations with another software that produces thousands of still images. (I normally save them as  .png, 720 x 480, 29.97 fps) I spent the money to buy CS4 becuase I was told this was what I needed to turn those images into video, add titles, captions, credits, etc. So far, I've been useing PremierPro to import the image sequences and add titles. But when I export the sequences, the quality is crap. I've tried all combinations of exporting formats, but even when I try to go for the greatest quality, my files are 100 MB large, and the quality is still crap (nice smooth lines are jagged, and details are blurry and pixilated, even with the titles I added). Can someone tell me how I should be working with these still image sequences so that I can retain the best quality while keeping the file size large. These videos are just played on local computer systems, not over a network or on DVDs. I dont know if I should be bringing the shorter clip sequences into AfterEffects and somehow exporting those. I just dont know. But nothing is working for me. Help!
    Nikki

    Hello!,
    The output frame size has so far been the same as my rendering size (720 x 480), but I's just trying to get the best quality, if I need to render larger I can. Delivery has so far just been video, no audio, although when I get better at this I will record narrations of the animations and put that in. Playback is intended only for computers. Every once in a while, it is requested in a format that will be played over our network, but I wanted to worry about that later.
    The preset I chose for the sequence was the DV-NTSC Standard 32kHz
    The project/sequence settings are:
    General
         Editing Mode: DV NTSC
         Timebase: 29.97 fps
    Video
         Frame size: 720, 480 4:3
         Pixel Aspect Ratio: D1/DV NTSC (0.9091)
         Display Format: 30 fps Non-Drop-Frame Timecode
    Audio
         doesnt matter
    Video Previews
         Preview File Format: NTSC DV
         Codec: DV NTSC
         Maximum Bit Depth
    Hope that was the information you requested.
    Nikki

  • Working with many different formats/codecs/frame rates within one Sequence.

    Good Afternoon,
    As an editor for an ad agency I am being tasked with cutting a demo reel together. Nothing too difficult.
    The reel is to include video footage of past projects, going back a couple years or so. The footage that I will be given will undoubtably be in a variety of formats, codecs, frame sizes, frame rates, etc (all SD, though). Delivery is SD DVD.
    My question is this:
    What is the best way to set up my timeline for a barrage of clips with differing specs?
    Do I encode all the media assets FIRST to conform to my Sequence Settings? Or do I just deal with the large amounts of timeline rendering as I work with different formats and codecs? Or do I....?
    I am running FCP 5.1.4, so I don't have the Open Timeline feature going for me.
    I appreciate any advice and tips you can offer!
    Thanks!

    Your final format is NTSC SD DVD, so you're going to have to go to 720x480 at some point. This is what I would upscale to. Make sure your "client" knows that the 320x240 wmv's may not look to good in the final production.
    Personally I use MPEG Streamclip (an excellent FREE application that's part of many a pro's arsenal) for this kind of conversion and/or upscaling. It's not particularly intuitive (especially for upscaling) so read the manual.
    You may need to get hold of Flip4Mac or Episode for the wmv conversions.
    I would tend to convert to a lossless codec like Apple Uncompressed or Animation. You could try going to NTSC-DV but you're going to lose some quality initially and again when you do the final mpeg2 compression.
    Experiment.

  • Crash While Working With an Image Sequence

    So I am working with an image sequence in my timeline and every time I touch that clip (either to render it or move it) Premiere crashes.
    I am working on an iMac with 32 GB of Ram with OS X 10.10.3 installed. I recently upgraded from Premiere Pro CS6 to CC and since
    then I am unable to work with it.
    Here is the error log I keep getting:
    Process:               Adobe Premiere Pro CC 2014 [839]
    Path:                  /Applications/Adobe Premiere Pro CC 2014/Adobe Premiere Pro CC 2014.app/Contents/MacOS/Adobe Premiere Pro CC 2014
    Identifier:            com.adobe.AdobePremierePro
    Version:               8.2.0 (8.2.0)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Adobe Premiere Pro CC 2014 [839]
    User ID:               501
    Date/Time:             2015-04-18 16:36:11.311 -0700
    OS Version:            Mac OS X 10.10.3 (14D136)
    Report Version:        11
    Anonymous UUID:        06821F38-EC27-D4F0-775A-7CB2D2257EE6
    Time Awake Since Boot: 3900 seconds
    Crashed Thread:        24  Dispatch queue: opencl_runtime
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008

    It seems to happen when I am not using any tools. When I have a photo open for any purpose.
    It occurs with no input.  I fix it by zooming back to where I was.
    I am not working with a tablet.  I am not working with a mouse.
    I will need to look up these preferences. I did not know they existed.
    Thanks.
    Duane

  • Working with many sequences- best practice

    Hi.
    I´ve just started using Adobe Premiere CS6. My goal is to create a 2 hour long movie, based on 30 hours of raw gopro footage recorded on a recent vacation.
    Now my question is, what is the best practice for working with so many sequences/movie clips?
    Do you have one heavy project file, with all the clips?
    Or do you make small chapters that contains x number of sequences/is x minutes long, and in the end combine all these?
    Or how would you do it the best way, so its easiest to work with?
    Thanks alot for your help.
    Kind regards,
    Lars

    I'll answer your second question first, as it's more relevant to the topic.
    You should export in the very highest quality you can based on what you started with.
    The exception to this is if you have some end medium in mind. For example, it would be best to export 30 FPS if you are going to upload it to YouTube.
    On the other hand, if you just want it as a video file on your computer, you should export it as 50 FPS because that retains the smooth, higher framerate.
    Also, if you are making slow-motion scenes with that higher framerate, then export at the lowest framerate (for example, if you slow down a scene to 50% speed, your export should be at 25 FPS).
    About my computer:
    It was for both, but I built it more with gaming in mind as I wasn't as heavily into editing then as I am now.
    Now, I am upgrading components based on the editing performance gains I could get rather than gaming performance gains.

  • Working with different resolution clips in single sequence

    hi all,
    because a large amount of footage i'm using for my film, i'm trying to troubleshoot some issues. one big issue is this:
    i've already captured lots of footage at standard dv ntsc. because of the space issue, i'm thinking of capturing the rest of the footage in offlineRT.
    i did a test and found that i can work with both footage resolutions in a sequence whose settings are for offlineRT as long as i set the RT popup window to unlimited RT and half (playback frame rate). no rendering needs to be done to see the high res footage for playback with these settings.
    my question is this: when i go to up res the footage, does the computer automatically take into account the fact that some footage is already up resed already? are there other issues/problems/challenges i need to be aware of not outlined in the manuals?
    thanks for any help!
    peace,
    ses25

    jerry offered some advice, but implied he had no real experience with this. i'm wondering if there's someone who has specific experience with working this way.

  • Working with Nested Sequences

    I'm working with a 1 hour, 20 minute multi-cam (2 cameras) Sequence of a concert, with many edits. One of the music pieces was complicated, so I separated it out into a separate Sequence, and did the editing. Later, my occasional fcp tutor created a new nested Sequence, into which he transferred the separated piece. The nested Sequence is exactly the same length as the original Sequence.
    Since the two cameras required different kinds of Color Correction, we did this in the nested Sequence. Then we exported the nested Sequence as a self-contained QT file. O.K. so far.
    But then later, after my tutor has gone, I realize that I don't understand nested Sequences. When I double click on the nested Sequence in the timeline, I'm taken back to the whole concert Sequence in the timeline, out of which the nested Sequence was created. So, Question #1: I can't adjust the audio in a nested Sequence? Question #2: Now, I realize I need chapter markers and I create them in the original whole Sequence, but too bad, they don't appear in the nested Sequence (which has the color correction that I want). How can I transfer my newly created chapter markers in the nested Sequence so that I can now re-export it with the chapter markers?
    Thanks, Robert

    1. Duplicate the 'whole' sequence (The one with the chapter markers)
    Give the duplicate an obvious name. Like "FinaL WITH CHAPTER MARKERS".
    2. Delete all clips in this duplicate sequence. (Command-A, then Backspace)
    The chapter markers will remain. Don't alter the original sequence in any way!
    3. Go to the nested sequence. Copy Everything (Command A, then Command C)
    4. Go to the (now empty) Duplicate sequence. Paste (Command V)
    Rienk

  • Working with 30 Camera angles in multicam sequence, best workflow, too many cams for system to play all at once

    Working with 30 Camera angles in multicam sequence, best workflow, too many cams for system to play all at once

    Get a halfway decent system, something like:

  • Problem when working with multiple sequences

    Dears,
    In order to make life easier (I am currently working on a rather long project), I work with multiple sequences, one per chapter.
    My problem: I named one sequence "assembly sequences" in order to add the various sequences. I dropped the sequence no 1, then no 2. All works fine, beside that when playing the sequence no 2, I see two black lines on top and bottom of the screen for the all length of the sequence. Which is not the case when I click on the sequence itself and play it independently.
    Any idea how to solve this ?
    Thanks
    Nic

    Thanks, what happened is that :
    1st sequence is like this : Frame size 720x576 pixels, video rate 25fps, Compressor DV-Pal. And I think it is the one appropriate for me and my country.
    2nd sequence is like this : Frame size 720x480 pixels,
    video rate 29.97 fps, Compressor DV-DVPRO-NTSC.
    I think I should change the second sequence setting, but can I do it after all the work I have done, and continue making a 3rd, 4th and so on ?
    Tx for your precious help,
    Nicolas

  • Working with SD footage in HD sequence.

    Hi all -- a quick question.
    I'm working on a show for broadcast...sequence settings are 720p 24.
    All of the original shooting was done on a Panasonic using P2 cards -- also 720p 24.
    Most of the B-roll is SD -- alot of film clips ripped from dvd's (legal --all legal), and stock footage provided as high resolution QT's downloaded from websights.
    Now, my system has a Kona card and we're doing our color correct with an HD monitor.
    Here's the kicker -- I've got a post supervisor who insists that we have to send out our SD qt's to be upconverted at a facility using a Teranex box.
    It doesn't make any sense to me, since these qt's have been upconverted in compressor to the proper codec and look pretty great in my sequence.
    Am I missing something? Why on earth would we need to incur the expense of sending these clips to post and then laying them back into our sequence?
    Am I crazy?
    Any opinions are eagerly awaited.
    Thx.
    Mark

    I do understand budgets and I also understand the need to keep costs low. I also understand the need to do things right the first time. Spending money up front typically results in lower long term costs, at least I like to think so.
    You mention all this video that was demuxed from mpeg2 and then upconverted to whatever format of hd you're working with through Compressor looks great in FCP. My question is how are you monitoring your timeline, on your iMac? The images in the canvas are rather irrelevant as FCP provides a proxy image rather than full video resolution monitoring via either firewire or a dedicated input/output device. Unfortunately your iMac lacks this capability, except maybe through a MXO and well that's a topic for another discussion.
    Changing formats means changing color gamuts, pixel aspect ratios, raster dimensions and sometimes field order. I guess Compressor will do an okay job for this but you mention doing this work for broadcast. I regularly use products made to do this job, products from companies like Evertz, Ensemble Designs, Aja, Ross, Leitch and I'll tell you, even these high dollar converters struggle with NTSC to HD upconversions at times and they do a much much better job than Compressor could ever do. Teranex makes terminal products strictly for format conversions and they are superior products.
    I have no idea about your post supervisor's experience level with any of this and she should be able to explain it succinctly enough to warrant these costs. Just depends on what your producers want to do. Good, fast, cheap: it's getting to the point anymore where you can only pick 1.5 of these aspects to get a job done.

  • Working with RAW-Image-Sequences: keyframing parameters of the camera-raw editor

    Hey guys,
    is it, somehow, possible, to set keyframes for the parameters of the camera-raw editor, when I work with a raw-image-sequence?
    I would like to keyframe the white balance and exposure for a timelapse shot in raw-images.
    Maybe there's a trick with expressions?
    Thanks for your help.
    Best,
    Paul

    ok, thank you!
    That is what i was thinking, but know i know it for sure...
    Cheers,
    Paul

Maybe you are looking for

  • Sync session failed to start message

    When I try to sync my phone I am getting this message.  Sync session failed to start.  How do I correct this?

  • Dual monitors on nvidia geforce fx 5200

    Hi, I'm using a nvidia geforce fx 5200 card that has vga out, dvi out, and svideo out. I have one crt hooked into the vga, the main monitor, and I have a dvi to vga converter, to enable a second vga, crt monitor. When I try to use the nvidia-settings

  • Troble configuring Hyperion Shared Services with SQL Server 2005

    I recently installed SQL server (SQL SERVER 2005) in my machine and then am trying to install Hyperion (9.3.1) products. I started with Shared services. It was installed successfully. Problem is occuring when am trying to configure Shared service wit

  • LabVIEW Equivilant to excel functions?

    Hi, I'm trying to translate some equations done in Excel into LabVIEW. Does anyone know what the LabVIEW equivilant is for the Excel command: ROUND(x,0) Also, what is the equivilant for  INT(x) Many thanks, Alec Solved! Go to Solution.

  • Adobe Acrobat subscription validation error.

    I subscribed to monthly Adobe Acrobat and installed it.  However, now whenever I open the program this pops up: "Your Acrobat subscription cannot be validated.  Please see here for more information: http://www.adobe.com/go/acro_install_license_valida