How to remove gap in sequence?

Hi,
SELECT MENU_ITEMID.NEXTVAL INTO :MENU_ITEM.M_ITEM_ID
FROM SYS.DUAL;
EXCEPTION
WHEN OTHERS THEN MESSAGE ('FAILED');
RAISE FORM_TRIGGER_FAILURE;
I have applied the above PRE-INSERT trigger on my MENU_ITEM FORM.
I was inserting values but when I was inserting the 53th item my PC was struck by a power failure, I did not commit or Rollback and next item when I rebooted my system and tried to insert the 53th item in my form it gave me a gap and jumped to 54th item directly.
Now How can I remove this gap?
I tried to insert the ids manually using INSERT command,
INSERT INTO MENU_ITEM VALUES (53, 'AAAA');
INSERT INTO MENU_ITEM VALUES (54, 'BBAAA');
INSERT INTO MENU_ITEM VALUES (55, 'UUAA');
but when I opened the application form then it showed the wrong order of id column.
like
53
55
54
and so on.
I deleted the newly inserted records using this command, DELETE from MENU_ITEM where M_ITEM_ID in(53,54,55);
COMMIT;
and then i queried the nextval of sequence.
and it was 55.
now I want tthe solution to solve this.
Please Help me that where I can find the solution?
Thanks In advance
Natalia

I'm afraid you do not understand how a SEQUENCE works.
A sequence is a "one-time" sheet. Once we have got a number through NEXTVAL the sequence can never give us that number again (unless we created the sequence with the CYCLE clause, in which case we'll see it again, eventually). NEXTVAL is a piece of DDL, so we cannot roll it back. We can only fill in the gaps manually, as you did. You, however, overshot and inserted a row with an ID 55 that was in advance of the last number assigned by the sequence.
Also note that the SEQUENCE number has a CACHE; this is the default behaviour, because it is memory efficient. As a side effect, if the database goes down, assigned numbers in the cache may be lost. We can avoid this with the NOCACHE option, but it makes sequence usage slower. It depends: do we need every number in the range or can we cope with gaps? As most sequence usage is simply to assign uniqueness gaps do not matter. They do matter in some circumstances, e.g. in an audit subsystem.
The LAST_NUMBER column on USER_SEQUENCES shows the last number assigned. But, as the example below shows, beware. Before we have called the sequence in this session, LAST_NUMBER shows the actual last number given by the sequence. Once the sequence has satisfied a NEXTVAL call the LAST_NUMBER column shows the last number in the current cache. We can see the actual last number assigned with a CURRVAL statement.
Regards, APC
P.S. The rows in your block are being displayed in the "wrong" order because your block does not have an ORDER BY property to sort rows by ID.
SQL> CREATE SEQUENCE test_seq;
Sequence created.
SQL> SELECT last_number, cache_size
  2  FROM   user_sequences
  3  WHERE  sequence_name = 'TEST_SEQ';
LAST_NUMBER CACHE_SIZE                                                         
          1         20                                                         
SQL> SELECT test_seq.NEXTVAL FROM dual;
   NEXTVAL                                                                     
         1                                                                     
SQL> SELECT last_number, cache_size
  2  FROM   user_sequences
  3  WHERE  sequence_name = 'TEST_SEQ';
LAST_NUMBER CACHE_SIZE                                                         
         21         20                                                         
SQL> SELECT test_seq.NEXTVAL FROM dual;
   NEXTVAL                                                                     
         2                                                                     
SQL> SELECT last_number, cache_size
  2  FROM   user_sequences
  3  WHERE  sequence_name = 'TEST_SEQ';
LAST_NUMBER CACHE_SIZE                                                         
         21         20                                                         
SQL> SELECT test_seq.NEXTVAL FROM dual;
   NEXTVAL                                                                     
         3                                                                     
SQL> ROOLBACK;
Rollback complete.
SQL> SELECT last_number, cache_size
  2  FROM   user_sequences
  3  WHERE  sequence_name = 'TEST_SEQ';
LAST_NUMBER CACHE_SIZE                                                         
         21         20                                                         
SQL> SELECT test_seq.NEXTVAL FROM dual;
   NEXTVAL
         4
SQL> SELECT last_number, cache_size
  2  FROM   user_sequences
  3  WHERE  sequence_name = 'TEST_SEQ';
LAST_NUMBER CACHE_SIZE
         21         20
SQL> SELECT test_seq.CURRVAL FROM dual;
   NEXTVAL
         4
SQL>

Similar Messages

  • Logical standby | archive log deleted | how to remove gap ???

    hi gurus...
    i have problem on logical standby
    by mistake standby log coming to logical standby has been deleted , now how to fill up the gap ???
    ON STANDBY
    SEQUENCE# FIRST_CHANGE# NEXT_CHANGE# APPLIED
    228 674847 674872 YES
    229 674872 674973 CURRENT
    230 674973 674997 NO
    231 674997 675023 NO
    232 675023 675048 NO
    233 675048 675109 NO
    234 675109 675135 NO
    235 675135 675160 NO
    236 675160 675183 NO
    237 675183 675208 NO
    238 675208 675232 NO
    239 675232 675257 NO
    240 675257 675282 NO
    241 675282 675382 NO
    242 675382 675383 NO
    243 675383 675650 NO
    244 675650 675652 NO
    245 675652 675670 NO
    246 675670 675688 NO
    247 675688 675791 NO
    248 675791 678524 NO
    archive log are shipping to standby location also and getting registered
    ALERT LOG OF STANDBY
    Fri May 7 12:25:36 2010
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[21]: Successfully opened standby log 5: '/u01/app/oracle/oradata/BEST/redo05.log'
    Fri May 7 12:25:37 2010
    RFS LogMiner: Registered logfile [u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_248_1_715617824.dbf] to LogMiner session id [1]
    but i dont have standby log after 229 sequence ...
    ON PRIMARY
    SYS@TEST AS SYSDBA> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /u01/app/oracle/flash_recovery_area/TEST/standlogOldest online log sequence 247
    Next log sequence to archive 249
    Current log sequence 249
    what to do next to apply sequences and bring both in sync.
    please help me ,,,,
    Edited by: user12281508 on May 7, 2010 9:45 AM

    thanks for response.
    no its pure logical standby
    i have tried to ftp the archive logs of primary to standby and applied manually
    SYS@BEST AS SYSDBA> alter database register logfile '/u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_230_1_715617824.dbf';
    alter database register logfile '/u01/app/oracle/flash_recovery_area/BEST/archivelog/archBEST_230_1_715617824.dbf'
    ERROR at line 1:
    ORA-01289: cannot add duplicate logfile
    SYS@BEST AS SYSDBA> alter database register logfile '/u01/app/home/archTEST_230_1_715617824.dbf';
    alter database register logfile '/u01/app/home/archTEST_230_1_715617824.dbf'
    ERROR at line 1:
    ORA-01289: cannot add duplicate logfile
    any other way ????

  • How to remove gaps/null values from set of columns in a row

    Im trying to implement a solution for removing null value columns from a row.
    Basically in below example i have five codes and corresponding id's for that codes.What im trying to achive here is if
    i have a null code then i have to move next not null code and id into its new location.
    Example:
    'A1'cd1,'A2'cd2,null cd3,'A4'cd4,null cd5,'i1'id1,'i2'id2,null id3,'i4' id4,null id5 So here cd4 and id4 should take positions of cd3 and id3.
    Output should look like this
    cd1 cd2 cd3 cd4 cd5     id1 id2 id3 id4 id5
    A1  A2   A4              i1  i2  i4Any help would be highly appreciated for below example:
    with temp_table as
    (select 'A1'cd1,'A2'cd2,null cd3,'A4'cd4,null cd5,'i1'id1,'i2'id2,null id3,'i4' id4,null id5 from dual union all
    select 'A11',null,null,'A44','A55','id11',null,null, 'id44','id55' from dual union all
    select null,'A111',null,null,'A555',null,'id111',null, null,'id555' from dual union all
    select 'A',null,null,'A1111','E55','id11',null,null, 'id111','id1111' from dual )
    select * from temp_table;Edited by: GVR on Dec 1, 2010 8:27 AM

    I like case expression B-)
    The same question of my homepage http://www.geocities.jp/oraclesqlpuzzle/7-81.html
    with temp_table(cd1,cd2,cd3,cd4,cd5,id1,id2,id3,id4,id5) as(
    select 'A1' ,'A2' ,null,'A4'   ,null  ,'i1'  ,'i2'   ,null,'i4'   ,null     from dual union all
    select 'A11',null ,null,'A44'  ,'A55' ,'id11',null   ,null,'id44' ,'id55'   from dual union all
    select null,'A111',null,null   ,'A555',null  ,'id111',null,null   ,'id555'  from dual union all
    select 'A'  ,null ,null,'A1111','E55' ,'id11',null   ,null,'id111','id1111' from dual)
    select
    case when SumCD1 = 1 then CD1
         when SumCD1+SumCD2 = 1 then CD2
         when SumCD1+SumCD2+SumCD3 = 1 then CD3
         when SumCD1+SumCD2+SumCD3+SumCD4 = 1 then CD4
         when SumCD1+SumCD2+SumCD3+SumCD4+SumCD5 = 1 then CD5 end as CD1,
    case when SumCD1+SumCD2 = 2 then CD2
         when SumCD1+SumCD2+SumCD3 = 2 then CD3
         when SumCD1+SumCD2+SumCD3+SumCD4 = 2 then CD4
         when SumCD1+SumCD2+SumCD3+SumCD4+SumCD5 = 2 then CD5 end as CD2,
    case when SumCD1+SumCD2+SumCD3 = 3 then CD3
         when SumCD1+SumCD2+SumCD3+SumCD4 = 3 then CD4
         when SumCD1+SumCD2+SumCD3+SumCD4+SumCD5 = 3 then CD5 end as CD3,
    case when SumCD1+SumCD2+SumCD3+SumCD4 = 4 then CD4
         when SumCD1+SumCD2+SumCD3+SumCD4+SumCD5 = 4 then CD5 end as CD4,
    case when SumCD1+SumCD2+SumCD3+SumCD4+SumCD5 = 5 then CD5 end as CD5,
    case when SumID1 = 1 then ID1
         when SumID1+SumID2 = 1 then ID2
         when SumID1+SumID2+SumID3 = 1 then ID3
         when SumID1+SumID2+SumID3+SumID4 = 1 then ID4
         when SumID1+SumID2+SumID3+SumID4+SumID5 = 1 then ID5 end as ID1,
    case when SumID1+SumID2 = 2 then ID2
         when SumID1+SumID2+SumID3 = 2 then ID3
         when SumID1+SumID2+SumID3+SumID4 = 2 then ID4
         when SumID1+SumID2+SumID3+SumID4+SumID5 = 2 then ID5 end as ID2,
    case when SumID1+SumID2+SumID3 = 3 then ID3
         when SumID1+SumID2+SumID3+SumID4 = 3 then ID4
         when SumID1+SumID2+SumID3+SumID4+SumID5 = 3 then ID5 end as ID3,
    case when SumID1+SumID2+SumID3+SumID4 = 4 then ID4
         when SumID1+SumID2+SumID3+SumID4+SumID5 = 4 then ID5 end as ID4,
    case when SumID1+SumID2+SumID3+SumID4+SumID5 = 5 then ID5 end as ID5
    from (select cd1,cd2,cd3,cd4,cd5,id1,id2,id3,id4,id5,
          nvl2(cd1,1,0) as SumCD1,
          nvl2(cd2,1,0) as SumCD2,
          nvl2(cd3,1,0) as SumCD3,
          nvl2(cd4,1,0) as SumCD4,
          nvl2(cd5,1,0) as SumCD5,
          nvl2(id1,1,0) as SumID1,
          nvl2(id2,1,0) as SumID2,
          nvl2(id3,1,0) as SumID3,
          nvl2(id4,1,0) as SumID4,
          nvl2(id5,1,0) as SumID5
          from temp_table)
    order by cd1,cd2,cd3,cd4,cd5;
    CD1   CD2    CD3   CD4   CD5   ID1    ID2    ID3     ID4   ID5
    A     A1111  E55   null  null  id11   id111  id1111  null  null
    A1    A2     A4    null  null  i1     i2     i4      null  null
    A11   A44    A55   null  null  id11   id44   id55    null  null
    A111  A555   null  null  null  id111  id555  null    null  nullMy SQL articles of OTN-Japan
    http://www.oracle.com/technology/global/jp/pub/jp/ace/sql_image/1/otnj-sql-image1.html
    http://www.oracle.com/technology/global/jp/pub/jp/ace/sql_image/2/otnj-sql-image2.html

  • How do I remove a number sequence using batch rename

    Hi
    I know I've done this in the past but cannot seem to work it out today.
    I have a series of images "_####_[layercompName].png".  I would like to remove the underscores and numbers.  The underscores removal is easy, but how do I remove the numbers (####) when they are different for each filename?  I would like the end result to be [layercompName].png
    The reason I have these filenames in the first place is that I have run the photoshop script "layer comps to files", and this adds a number sequence prefix.  I have tried to alter the script following various instructions I've found from trawling the internet (this one included How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.) but without any luck.  So now I'm resorting to batch renaming in Bridge.
    Thanks!

    Here you go, taken straight from: DesignEasy: How to Remove Sequence Numbers and Empty Spaces When Exporting Layers and Layer Comps
    Run Adobe Bridge and navigate to the folder with exported files.
    Select all files which have sequence numbers.
    Go to Tools > Batch Rename.
    Choose: String Substitution from the first drop-down list in New Filenamessection. From the second drop-down choose: Original Filename. In the Find: text field type: _\d{4}_ (underscore, backslash, letter d, open bracket, number four, closed bracket, underscore). Leave Replace with: text field blank. Ensure that you have Replace All and Use Regular Expression checked as shown on the screenshot below.
    Click on the Preview button in the top right corner and ensure that files will be renamed as you want.
    Click on Rename button and you are done.
    In case you are first time doing this and you still have doubts if everything will work as expected, check Copy to other folder option when renaming files. This option is located near the top left corner under: Destination Folder.
    Another thing I want to mention is to remove everything that you have below String Substitution options. In case you see additional renaming options just click on minus (-) sign on the right side to remove them.
    How to remove/substitute empty spaces in the file name using Adobe Bridge
    It is pretty similar process. The only difference is that you should type: \s (backslash followed with letter s) in the Find: text field. You can leave Replace with: text field blank or to type underscore.

  • How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    "adrianTNT" <[email protected]> wrote in message
    news:e6aitv$hkm$[email protected]..
    >
    quote:
    Originally posted by:
    kglad
    > you're welcome. with your solution loading another mp3,
    are you sure it stops
    > the download of the first mp3?
    > Yes, it seems to work fine, it loads another sound in
    same sound (my_sound)
    > and it seems to replace loaded progress with the empty
    sound I gave and stops
    > previous loading.
    > I look at traffic icons on task bar and I see that there
    is no network traffic
    > after I click "stop" before this I could see continuous
    traffic while sound was
    > loading in background.
    Yeah, I remember someone posted that solution a long time
    ago. It seems if you load a file with the same name the cache
    doesn't
    know any better and adjusts the download size to the smaller
    one. Maybe it's a good way to do it! Could it be a way to remove an
    mp3 from someone's cache after it plays? hmmmm Will have to
    do more testing.
    tralfaz

  • How to remove the gap between OA standard footer & footnote image

    Hi,
    I have added OAF footnote image through page customization that appears just above the standard footer. now there is little space between standard footer and footnote image should be removed i.e standard footer and footnote image should be merged. I tried to increase the item propert height to 100% but no luck. Can anybody has any thoughts how to remove this?
    Edited by: jaypatil on Jan 25, 2013 1:12 AM

    It seems the difference is the default 8px margin on the body element, which only appears the first page. To remove it on a case-by-case basis, you could use a bookmarklet (a snippet of script you run by clicking a bookmark entry).
    To remove it automatically on every page, you could use a style rule in userContent.css or in a Stylish rule. I haven't tested this rule very extensively, but something like this:
    @media print{
    body {margin-top:0 !important;}
    }

  • FR: Remove Gaps function

    *******Enhancement / FMR*********
    Brief title for your desired feature: Remove Gaps function
    How would you like the feature to work?
    Ability to remove all gaps between selected Timeline clips in a single step, either by:
    1. using a new user-customizable keyboard shortcut
    2. right-clicking the selection and clicking on a new 'Remove Gaps' option in the context menu.
    3. selecting 'Remove Gaps' from the 'Sequence' menu (having this option appear next to the 'Go to Gap' function would be a logical positioning)
    Gaps between clips on different tracks would also be removed, while leaving each clip on its respective track.
    Why is this feature important to you?
    Editing workflows often leave dozens of gaps between clips.  For example, a common editing workflow is to do a clip pre-selection using the Source Monitor to send subclips to the Timeline, and then grabbing clips from that selection to edit to music/etc.  Every clip removed leaves a gap behind, that quickly leaves things untidy.  Having to manually delete these gaps one by one, to clean up one's Timeline, is a tremendous time waster for something that could easily be achieved in a single step with a 'Remove Gaps' function!

    Jim Simon wrote:
    Yes, Pierre,  I checked them all.
    You checked every program out there in existence?  Right...
    Jim Simon wrote:
    It makes perfect sense for the simple fact that the selection is made.  You can't expect Premiere Pro to know when you made that selection by mistake and when you did it on purpose.  So it respects that selection, as is expected and desired.
    Clips get selected all of the time NOT because the users is choosing to select the clip(s) per se, but because it's a means to an end.  For example, a user wants to edit a clip's effects?  That user needs to select the clip so that it opens up in the ECW.  Requiring that the user actively deselects clips every single time, so that they don't delete them by mistake when they're completely out of view, ADDS steps that wouldn't be necessary if Premiere were smart enough to not allow unintentional changes to be made a completely unseen clip selection.
    Jim Simon wrote:
    how often do editors actually want to modify a completely hidden clip selection?
    It doesn't have to be completely hidden.  I will sometimes zoom out to select a range of clips, then zoom back in see the operation being performed.
    Are you just playing stupid, or do you actually still not get it Jim?  If a selection is partially visible, I said and will say again for the last time that all actions should work as usual.  My argument is only for when a clip selection is completely unseen, and therefore far too prone to accidental modification by a user that DOES NOT REALIZE that something was left selected.  Get it?  Arguying that Premiere shouldn't be improved in this regard because users shouldn't make this mistake in the first place is as stupid as saying that cars shouldn't have seatbelts and airbags because drivers shouldn't be getting into accidents.  And by the way, your reference to not wanting HAL for an NLE only goes to show how dumb you can get with your arguments.

  • How to remove spaces at selection screen coming from logical database

    Hi Experties,
    When we hide some selection from the logical database.  The spaces still occupied and this make our selection screen looks awkward.
    How to remove the spaces left by hidden selection ?
    Regards
    Nislina

    Hi,
    I came across your un-answered question while searching for a solution on the similer problem. Though I couldn't fine a solution on SDN, but figured out one myself. Thought its a good idea to share it.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group4 = '003'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Here screen-group4 contains the sequence number of the select-options field starting from 000 onwards.
    You may like to assign points and close the question.
    Kind Regards,
    Khalid Mustafa

  • How to remove existing infoobject from infosource?

    I was added one infoobject Z01 into DSO ZDSO01 and Infosource 2LIS_08TRTLP
    , and did mapping in the transfer rule. Now I removed Z01 from DSO ZDSO01, but I'm unable to remove Z01 from infosource.
    System show me error message like:
    The InfoObject ZO01 is still used in the following places: In routine xxxxxxxxxxx of the update rules for Data Target ZDSO01 InfoSource 2LIS_08TRTLP
    Anyone know how to remove Z01 from DSO ZDSO01 in my case.
    Thanks,
    Sudree

    Hi,
    I tried replicating your scenario and got the same error like you. I guess you did not follow the below mentioned steps in sequence.
    1) Delete the infoobject from DSO and activate it. This would put your update rules in revised status.
    2) Reactivate your update rules.(if you dont perform this step, system automatically compares with the last activated update rule, where your infoobject was used, therefore it gives the error)
    3)Remove the transfer rule for this infoobject.
    4) Delete the infoobject from communication structure.
    This should work.

  • How to find gaps in data?

    Hi!
    I have the following problem.
    Data:
    range_id actual_nr
    AAA 001AAA
    AAA 002AAA
    AAA 003AAA
    AAA 006AAA
    AAA 007AAA
    AAA 009AAA
    BBB 001BBB
    BBB 002BBB
    etc.
    I have to get report in the following form
    from to nr_of_rows
    001AAA 003AAA 3
    006AAA 007AAA 2
    009AAA 1
    001BBB 002BBB 2
    etc.
    As you can see if there is a gap in sequence then I have to calculate how many rows were in sequence before the gap.
    Can somebody give me some hints or even working statement?

    How's this?
    WITH
         Sample_Data
    AS
          SELECT 'AAA' range_id, '001AAA' actual_nr FROM Dual UNION ALL
          SELECT 'AAA' range_id, '002AAA' actual_nr FROM Dual UNION ALL
          SELECT 'AAA' range_id, '003AAA' actual_nr FROM Dual UNION ALL
          SELECT 'AAA' range_id, '006AAA' actual_nr FROM Dual UNION ALL
          SELECT 'AAA' range_id, '007AAA' actual_nr FROM Dual UNION ALL
          SELECT 'AAA' range_id, '009AAA' actual_nr FROM Dual UNION ALL
          SELECT 'BBB' range_id, '001BBB' actual_nr FROM Dual UNION ALL
          SELECT 'BBB' range_id, '002BBB' actual_nr FROM Dual
    SELECT
         MIN(actual_nr_start)     actual_nr_start,
         actual_nr_finish,
         MAX(Total)
    FROM
          SELECT
              range_id,
              MIN(actual_nr)     actual_nr_start,
              MAX(actual_nr)     actual_nr_finish,
              MAX(Level)     Total
          FROM
              Sample_Data
          CONNECT BY
              range_id          = PRIOR range_id
             AND     substr(actual_nr, 1, 3)     = substr(PRIOR actual_nr, 1, 3) + 1
          GROUP BY
              range_id,
              CONNECT_BY_ROOT actual_nr
    GROUP BY
         actual_nr_finish
    ORDER BY
         SubStr(actual_nr_start, -3),
         actual_nr_start;Message was edited by:
    Brian Tkatch 2
    consolidated two levels.

  • How to remove text from .swf animation?

    how to remove text from .swf animation? Can no find this text
    in fla file. Flash 8.

    exactly what 'text' are you referring to? text that you typed
    on the Stage using the 'textTool'? simply select the text with the
    'arrowTool' and hit delete.
    If you are referring to a textField that you want to
    eliminate after a certain amount of time, within your animation
    sequence. first copy the text, create a new layer, paste the text
    in place, then where you want to have the text 'disappear' insert a
    'blank keyframe' at that point in the text layer.
    OR place the textfield within a MC and remove it with code.
    OR if the text is dynamic and you wish to use the position at a
    later time, pass a value of null or and empty string to the field
    at the point you wish. And there are other ways still. :) hope one
    of these works for you.

  • How to remove all transitions?

    I used the automate to sequence with default transition. A few dozens of transitions were added to the sequence.
    How to remove all the transitions without deleting the sequence and starting from scratch please?
    Thanks in advance.

    The difference in file size you are seeing is because you are only using motionless stills in your movies. No motion, and no effects. Some codecs allows for file size reduction by writing first and last frame information for a still, regardless of the length in the video sequence. Why the transition increases file size is because the codec actually has to write info for each frame in the length of the transition.
    This is not going to be the case with anybody working with actual video clips, or if someone adds motion to their stills. The codec then has to write information for every frame, resulting in a larger file size. For most projects, transitions will not make any significant change in file size.

  • How to remove antialiasing of vector images?

    Hello. Currently, I am editing bitmap images that are not antialiased, and I made lots of vector shape layers.
    And what I want to do is remove antialiasing of all vector layers  because if they are antialiased, they can not  fit into forementioned non-antialiased bitmap  images.
    I found an option to display aliasing vector images, I mean "Layer image quality" option in time line panel, and I set it  "draft", but if I render my sequence, AE won't allow  me to render the draft, aliasing vector image. They are antialiased. AE ignores the draft setting and renders vector layers as best quality, antialiased image.
    So I want to ask how to remove  antialiasing of vector image completely.
    Please help me. Thank you.

    I found the option.Thank you.
    And I want to ask one more question.
    I guess If I set render settings as Draft quality, AE renders all layers including "Best Quality" layers as Draft quality.If so,there is a problem.
    If I want to render "A" bitmap layer(this layer has effects like Fast blur, Hue/Saturation) as Best quality and "B" vector layer(No effect) as Draft quality, and  If I render A and B layers as Draft quality, it means I can't render "A" layer as Best quality? If so, it will be a problem. I read a manual and it says some effects won't work correctly on Draft quality layers. Is it alright to render them all  as Draft quality?

  • How to auto generate a sequence.

    Dear all
    The entity Object "OrderEntryEO" has an attribute called"OrdNumber" that indicates the reference number of the order number. the order number is compose be a sequence on the year. For example 1/2011 , 2/2011 , 3/2011 and so on..
    this sequence must be auto generated when pressing save button.
    I have generated the entityImpl java class "OrderEntryEOImpl.java . with accessors , DO_DML method and create method.
    these are the methods
    {code}
    protected void create(AttributeList attributeList) {
    super.create(attributeList);
    {code}
    {code}
    protected void doDML(int operation, TransactionEvent e) {
    super.doDML(operation, e);
    {code}
    Can any one please help me how to Implement this in java code
    Regards

    I wanted to clear up what I consider to be some misinformation on this thread.
    Database sequences, regardless of what magic you try (including setting the cache size to 1) can and will, by their very design have gaps. I don't care if you are doing a web app, a client server app, an SOA app, or any other newfangled or old-fashioned, red screens, green screens, blue screens - DATABASE SEQUENCES IN ORACLE CAN AND WILL HAVE GAPS.
    There is only one way to ensure gap-free sequence numbers upon insert:
    * You must lock the table or use some other device to serialise inserts.
    Any other technique you want to use will not work in a multi-user environment. I'm not going to go through the proof of it here because it's been discussed ad-infinitum (search on asktom.oracle.com if you want to see all of the crazy failed attempts to do it without serialisation). You can also read on asktom about some other techniques (such as assigning the numbers after the fact) that you could consider.
    Bottom line to remember however, Oracle Database Sequences are not and cannot be gap free (at least as of today, the 4th of April, 2011 AD at 08:48 GMT +1)
    John

  • Remove gaps between tables in dreamweaver CC

    I'm new to Dreamweaver so please be patient with me. I have created 2 stacked tables and for some reason there is a slight gap between them even though padding and spacing is set at 0. Can anyone let me know how to remove this gap.
    Thanks in advance

    I had never noticed it in the past until I started using the html5 doctype, hmm...
    One sec...
    I just tested a simple 2 column 2 row default table and tossed in an image with text and an image without text into two separate rows. The padding is not there in HTML4 Trans or XHTML Trans (which is what I used in the past most often). It only shows up on the image that is added with text for those two doctypes. When I convert it to html5, it shows up for both, here test this code and see if I'm crazy (preview the below, then change the doctype to html5 and preview again, the descender padding on the bottom image is not present in XHTML or html4 and pops up in html5)...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style>
    table {
        border:none;
        margin:0px;
        padding:0px;
        border-collapse:collapse;
    </style>
    </head>
    <body>
    <table width="200" border="1">
      <tbody>
        <tr>
          <td> </td>
          <td> </td>
        </tr>
        <tr>
          <td> </td>
          <td>hi<img src="images/dots-anim.gif" width="62" height="32" alt="" />there</td>
        </tr>
        <tr>
          <td><img src="images/dots-anim.gif" width="62" height="32" alt="" /></td>
          <td> </td>
        </tr>
      </tbody>
    </table>
    </body>
    </html>

Maybe you are looking for

  • Hard drive space on new MacBook Pro??

    i thought this was a 160gig HD, but upon turning it on new,its only 130gig. whats up with that?

  • EXTREMELY URGENT - Ultrasearch integration with oracle portal giving erros -

    gurus, i'm creating a portal source for Ultrasearch and when i register the portal site with Ultrasearch i get the following error - ----- START ERROR ------- Oracle Ultra Search Error Could not retrieve data from Oracle 9iAS portal. Please make sure

  • HT4623 error installing IOS 6 in Iphone 4 "unable to install update"

    i was able to download the iOS 6 update, then i go to Settings>general>software update>install now, but after i agree to terms it says: "verifying update" for a few seconds, then i get this error Unable to install update An error occurred installing

  • Can I submit a jsp link to provide the XML feed from a dabase?

    Will a .jsp file that querries our database to provide formatted & tagged iTunes XML be allowed as a valid podcast link through iTunes? We are trying to provide our clients with multiple-title XMLs. This would be a great way for us to manage/schedule

  • Adding a KeyListener

    hello all, i was doing this homework, and i came upon a point a cant really do. well here is the code: package homework; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class Draw1 extends JFrame implements MouseMotionListene