Specified IDENTITY, got SEQUENCE

I am using SAS9 as part of JEE 5 SDK, ontop of MaxDB.
In one of my EJB 3.0 Entities, I have the following code:
@Id
@GeneratedValue(strategy = IDENTITY)
private int id;The code gets compiled, packaged and validated without problem.
But at deployment, SAS9 puts the following line into the log:
[#|2006-07-29T14:40:42.243+0200|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core.classloading|_ThreadID=12;_ThreadName=Thread-25;_RequestID=ae15f407-26d8-4423-b48f-8de844f9cac3;|Exception [TOPLINK-7144] (Oracle TopLink Essentials - 2006.4 (Build 060412)): oracle.toplink.essentials.exceptions.ValidationException
Exception Description: SEQ_GEN_SEQUENCE: platform DatabasePlatform doesn't support NativeSequence.
javax.persistence.PersistenceException: Exception [TOPLINK-7144] (Oracle TopLink Essentials - 2006.4 (Build 060412)): oracle.toplink.essentials.exceptions.ValidationException
Exception Description: SEQ_GEN_SEQUENCE: platform DatabasePlatform doesn't support NativeSequence.
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:173)
It looks like SAS9's integrated OracleTopLink tries to do SEQUENCE while I specified IDENTITY. Unfortunately, SAS9 is not enabling the JSF application ontop of this persistence module in turn. As a result, my complete application is not accessible.
Sounds like a bug.
What do you think?

Both Identity Seuqnce are treated as native sequence by
toplink.But this is a clear violation of the EJB 3.0 persistence specification. So where can I report this violation to get fixed?
MaxDB is not supported platform on toplink
essentials.What can I do become MaxDB to be supported? I am an experienced software engineering professional (coding more than 20 years, analysis and design more than 9 years) and would like to contribute the necessary code changes. Can you tell me where to apply for that?
You can use strategy=GenerationType.TABLE which is
portable across all databases.I'll try doing that now. Actually I tried leaving it open to SAS9 to decide, but it then chooses SEQUENCE, which certainly fails in turn.
Can you please post some more details about the issue
you are having with the JSF aplpication.What exactly do you need to know? I think it is obvious that JSF will no more render once SAS9 is running on severe DB failures. Or shoulf JSF render an error page?

Similar Messages

  • Guest Portal Identity Store Sequence

    As part of my ISE deployment I have configured the last rule in the Autentication Rules to continue if a user is found in Identity Store Sequence BYOD-USERS.
    This Identity store specifies that Active Directory and Guest users should be searched, when a user logins into the Guest Sponsor Portal.
    However at the moment Guest users are working fine and are permitted onto the Guest network once they have authenticated, as part of a corresponding Authroization profile however with Active Directory I only want a small subsection of users who can continue once entering in their details. If the user isn't in that particular AD security group they can't progress further from the guest portal.
    So my question is, is the identity store sequence where I have requested that active directory be searched that I can filter which user group can potentially login. I understand that under the Active Directory Identity store I can specifiy groups which I have done, but my question is can I restrict which groups are search in the identity store sequence for active directory.
    Thank you for your help in advance guys.

    Tony,
    They way to accomplish this (I think) would be to create another Identity Source.  Go to Administration > Identity Management > External Identity Sources.  From there, click LDAP from the menu on the left.
    Click the +Add button to add an identity source.  Bind this connection to the AD server you are currently using.  Choose the groups you want to be in the Authorization Profile and then, Choose the Attributes for the Identity Source:
    From here, you MUST use the full LDAP object name for the group to get the list of attributes:
    Click Submit, then OK (the dialog might just contain the number 1).  Use this new Identity Source in your Identity Source Sequence.
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • [Q] Identity Sequence issue causes MAB to auth against AD ??

    We have a strange issue whereby some users have suddenly failed to correctly authenticate against ACS 5.1 - we cant work out why, as nothing has changed and would greatly appreciate your help.
    We have dot1x configured on our network with MAB fallback. We havent yet rolled out dot1x to the clients even though the network is set up for this. In the meantime, we are using Mac Authentication Bypass. We do use 802.1x for wireless though.
    I have set up the folowing Identity Sequence:
    AD1 (this is set up as our AD servers for 802.1X user and machine auth)
    SecurID Server (we dont use this yet either)
    Internal Users (this is just used to authenticate ciscoworks)
    Internal Hosts (this contains the list of allowed MAC addresses)
    Typically what we have seen today is a user initially authenticates successfully by matching the Internal Hosts identity store, but then an hour later, re-authentication fails as the MAC address matches the AD1 id store and subsequently fails due to the MAC address not being present within AD.
    Here is the successful connection entry (all MAC addresses substituted form the originals)...
    Steps
    11001  Received RADIUS Access-Request
    11017  RADIUS created a new session
    11027  Detected Host Lookup UseCase (Service-Type = Call Check (10))
    Evaluating Service Selection Policy
    15004  Matched rule
    15012  Selected Access Service - Network Access
    Evaluating Identity Policy
    15006  Matched Default Rule
    15013  Selected Identity Store - Internal Hosts
    24432  Looking up user in Active Directory - 00-1B-78-00-33-00
    24412  User not found in Active Directory
    24559  Searching for user in the RSA identity store.
    24556  User record was not found in the cache.
    24210  Looking up User in Internal Users IDStore - 00-1B-78-00-33-00
    24216  The user is not found in the internal users identity store.
    24209  Looking up Host in Internal Hosts IDStore - 00-1B-78-00-33-00
    24211  Found Host in Internal Hosts IDStore
    22037  Authentication Passed
    22023  Proceed to attribute retrieval
    24432  Looking up user in Active Directory - 00-1B-78-00-33-00
    24412  User not found in Active Directory
    22016  Identity sequence completed iterating the IDStores
    Evaluating Group Mapping Policy
    24423  ACS has not been able to confirm previous successful machine authentication for user in Active Directory
    Evaluating Exception Authorization Policy
    15042  No rule was matched
    Evaluating Authorization Policy
    15004  Matched rule
    15016  Selected Authorization Profile - MAB-PC
    11022  Added the dACL specified in the Authorization Profile
    11002  Returned RADIUS Access-Accept
    Here is the failed connection entry....
    Steps
    11001  Received RADIUS Access-Request
    11017  RADIUS created a new session
    11027  Detected Host Lookup UseCase (Service-Type = Call Check (10))
    Evaluating Service Selection Policy
    15004  Matched rule
    15012  Selected Access Service - Network Access
    Evaluating Identity Policy
    15006  Matched Default Rule
    15013  Selected Identity Store - AD1
    24432  Looking up user in Active Directory - 00-1B-78-00-33-00
    24416  User's Groups retrieval from Active Directory succeeded
    22037  Authentication Passed
    22023  Proceed to attribute retrieval
    22038  Skipping the next IDStore for attribute retrieval because it is the one we authenticated against
    22016  Identity sequence completed iterating the IDStores
    Evaluating Group Mapping Policy
    24423  ACS has not been able to confirm previous successful machine authentication for user in Active Directory
    Evaluating Exception Authorization Policy
    15042  No rule was matched
    Evaluating Authorization Policy
    15006  Matched Default Rule
    15016  Selected Authorization Profile - DenyAccess
    15039  Selected Authorization Profile is DenyAccess
    11003  Returned RADIUS Access-Reject
    Any help greatly appreciated!

    Hello Paul,
    If a switch is configured for dot1x with MAB fallback as ours is, does  the switch still send the MAC address for a dot1x-enabled client as well  as the user and host AD credentials even though the MAC address is not  required for auth in this case?
    A switchport configured for 802.1x with MAB fallback will first send an EAPOL Start message. An 802.1x enabled client would be able to provide the appropriate User and Host information and get authenticated via 802.1x. No MAC address will be send at this point.
    For the same switch and a client with dot1x DISABLED, does the switch forward just the MAC address to ACS?
    Yes, the switch will send the EAPOL Start messages to the 802.1x Disabled client. It will not be able to respond to the switchport request. After the retries the switchport will fallback to MAB and expect the client to send the MAC Address to get authenticated.
    If the switch invokes MAB and passes just the MAC address to ACS, does  ACS still run the MAC address through the full identity store sequence  which starts with AD1, even though dot1x is not running (and therefore  AD matching is not relevant)?
    Yes, the ACS will still run the authentication against all the Database specified on the Identity Store Sequest from top to bottom
    Ultimately, I am trying to decide if
    a) ACS is passing non-dot1x credentials (namely the MAC address)  to AD erroneously ---> Do not think this might be the case as it will  always pass the credentials to the every database on the specified  order
    b) if AD is responding (correctly or incorrectly) with a match ---> We know this one is happening.
    c)   if AD is rejecting the MAC address but that the rejection message isnt   triggering the next iteration in the identity store sequence. ---->  Do not think AD is rejecting the MAC Address based on:
    24432  Looking up user in Active Directory - 00-1B-78-00-33-00
    24416  User's Groups retrieval from Active Directory succeeded
    At this point I have no suggestions on how to determine if the MAC Address is being properly authenticated on the AD Side

  • Oracle Text query: Escaping characters and specifying progression sequences

    How can I combine the escaping of a search string and the specification of progression sequences within an oracle text query
    so that in all cases the correct results are delivered (see example below)?
    The scenario in which to use this is the following:
    + Database: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
    + Requirement: Hitlist of results ordered by score whereby the different part within
    the result list are specified using progression sequences within oracle text query
    Example:
    create table service_provider (
    id number,
    name_c varchar(100),
    uri_c varchar(255)
    insert into service_provider values (1,'ABB Company Mgmt','http://www.abb-company-mgmt.de');
    insert into service_provider values (2,'Dr. Abbas Ming','http://www.dr-abbas-ming.de');
    insert into service_provider values (3,'SABBATA United','http://www.sabbata-united.de');
    insert into service_provider values (4,'ABB','http://www.abb.de');
    insert into service_provider values (5,'AND Company Mgmt','http://www.and-company-mgmt.de');
    insert into service_provider values (6,'Dr. Andas Ming','http://www.dr-andas-ming.de');
    insert into service_provider values (7,'SANDATA United','http://www.sandata-united.de');
    insert into service_provider values (8,'AND','http://www.and.de');
    Query 1: works correctly in this case
    select * from (
    select /*+ FIRST_ROWS */ score(1), this_.*
    from service_provider this_
    where
    CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
    '<progression>' ||
    '<seq>abb</seq>' ||
    '<seq>abb%</seq>' ||
    '<seq>%abb%</seq>' ||
    '<seq>fuzzy(abb,1,100,WEIGHT)</seq>' ||
    '</progression></textquery></QUERY>', 1 ) > 0
    order by score(1) desc, this_.NAME_C
    ) where rownum < 21
    delivers
    76     4     ABB     http://www.abb.de
    76     1     ABB Company Mgmt     http://www.abb-company-mgmt.de
    51     2     Dr. Abbas Ming     http://www.dr-abbas-ming.de
    26     3     SABBATA United     http://www.sabbata-united.de
    Query 2: procudes error
    select * from (
    select /*+ FIRST_ROWS */ score(1), this_.*
    from service_provider this_
    where
    CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
    '<progression>' ||
    '<seq>and</seq>' ||
    '<seq>and%</seq>' ||
    '<seq>%and%</seq>' ||
    '<seq>fuzzy(and,1,100,WEIGHT)</seq>' ||
    '</progression></textquery></QUERY>', 1 ) > 0
    order by score(1) desc, this_.NAME_C
    ) where rownum < 21
    produces ORA-29902, ORA-20000, DRG-50901 because AND is a reserved word in oracle text
    So we need escaping ...
    Query 3: does not work correctly
    select * from (
    select /*+ FIRST_ROWS */ score(1), this_.*
    from service_provider this_
    where
    CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
    '<progression>' ||
    '<seq>{abb}</seq>' ||
    '<seq>{abb%}</seq>' ||
    '<seq>{%abb%}</seq>' ||
    '<seq>fuzzy({abb},1,100,WEIGHT)</seq>' ||
    '</progression></textquery></QUERY>', 1 ) > 0
    order by score(1) desc, this_.NAME_C
    ) where rownum < 21
    delivers
    76     4     ABB     http://www.abb.de
    76     1     ABB Company Mgmt     http://www.abb-company-mgmt.de
    Query 4: does not produce an error, but also does not work correctly
    select * from (
    select /*+ FIRST_ROWS */ score(1), this_.*
    from service_provider this_
    where
    CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
    '<progression>' ||
    '<seq>{and}</seq>' ||
    '<seq>{and%}</seq>' ||
    '<seq>{%and%}</seq>' ||
    '<seq>fuzzy({and},1,100,WEIGHT)</seq>' ||
    '</progression></textquery></QUERY>', 1 ) > 0
    order by score(1) desc, this_.NAME_C
    ) where rownum < 21
    delivers
    76     8     AND     http://www.and.de
    76     5     AND Company Mgmt     http://www.and-company-mgmt.de

    Anywhere that you just use the word by itself, enclose it in {}, but anywhere that you add % on either side or both don't enclose it in {}. Please see the demonstration below.
    SCOTT@10gXE> SELECT * FROM v$version
      2  /
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SCOTT@10gXE> create table service_provider
      2    (id     number,
      3       name_c     varchar(100),
      4       uri_c     varchar(255))
      5  /
    Table created.
    SCOTT@10gXE> insert all
      2  into service_provider values (1,'ABB Company Mgmt','http://www.abb-company-mgmt.de')
      3  into service_provider values (2,'Dr. Abbas Ming','http://www.dr-abbas-ming.de')
      4  into service_provider values (3,'SABBATA United','http://www.sabbata-united.de')
      5  into service_provider values (4,'ABB','http://www.abb.de')
      6  into service_provider values (5,'AND Company Mgmt','http://www.and-company-mgmt.de')
      7  into service_provider values (6,'Dr. Andas Ming','http://www.dr-andas-ming.de')
      8  into service_provider values (7,'SANDATA United','http://www.sandata-united.de')
      9  into service_provider values (8,'AND','http://www.and.de')
    10  into service_provider values (9,'EBB','fuzzy test')
    11  into service_provider values (10,'OND','fuzzy test')
    12  select * from dual
    13  /
    10 rows created.
    SCOTT@10gXE> CREATE INDEX your_index
      2  ON service_provider (name_c)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  PARAMETERS ('STOPLIST CTXSYS.EMPTY_STOPLIST')
      5  /
    Index created.
    SCOTT@10gXE> VARIABLE search_string VARCHAR2 (100)
    SCOTT@10gXE> EXEC :search_string := 'abb'
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> COLUMN name_c FORMAT A20 WORD_WRAPPED
    SCOTT@10gXE> COLUMN uri_c  FORMAT A40
    SCOTT@10gXE> select *
      2  from   (select /*+ FIRST_ROWS */ score(1), this_.*
      3            from   service_provider this_
      4            where  CONTAINS
      5                  (this_.NAME_C ,
      6                   '<QUERY>
      7                   <textquery grammar="CONTEXT">
      8                     <progression>
      9                       <seq>{'         || :search_string || '}</seq>
    10                       <seq>'         || :search_string || '%</seq>
    11                       <seq>%'         || :search_string || '%</seq>
    12                       <seq>fuzzy({' || :search_string || '},1,100,WEIGHT)</seq>
    13                     </progression>
    14                  </textquery>
    15                   </QUERY>', 1 ) > 0
    16            order  by score(1) desc, this_.NAME_C)
    17  where  rownum < 21
    18  /
      SCORE(1)         ID NAME_C               URI_C
            76          4 ABB                  http://www.abb.de
            76          1 ABB Company Mgmt     http://www.abb-company-mgmt.de
            51          2 Dr. Abbas Ming       http://www.dr-abbas-ming.de
            26          3 SABBATA United       http://www.sabbata-united.de
             4          9 EBB                  fuzzy test
    SCOTT@10gXE> EXEC :search_string := 'and'
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> /
      SCORE(1)         ID NAME_C               URI_C
            76          8 AND                  http://www.and.de
            76          5 AND Company Mgmt     http://www.and-company-mgmt.de
            51          6 Dr. Andas Ming       http://www.dr-andas-ming.de
            26          7 SANDATA United       http://www.sandata-united.de
             5         10 OND                  fuzzy test
    SCOTT@10gXE>

  • Sequence vs Identity

    I have a general question. If this is the wrong forum, please let me know which one is more appropriate.
    What is the difference in a sequence and an identity for referencing an object? Does it have to do with what version of Oracle you are using or are they two entirely different things. If there is a place to read more about identity and sequence, please let me know.
    thanks

    Hi -
    If your footage has the black bars on it when you look at it in the viewer, then click on the clip in the browser and scroll the browser to the right until you see the column labeled "Anamorphic". Click on the check mark to remove it. If that fixes the clip, then you'll need to do that to all your clips.
    OR
    If the clip looks OK in the viewer, but has the black bars when you edit it to, or place it on the timeline, then click on the timeline and type Command = 0 (zero) and uncheck the "anamorphic" box in the sequence settings.
    Hope this helps.

  • ACS 5.3 Authorization problem with using Identity Groups in Access Policy Rule

    Hello guys, I am found a problem which I can't solve regarding authorization with using Identity Groups in Access Policy rule.
    ACS version: 5.3.0.40.6 (internal build B.839)
    I have very simple RADIUS Authorization rule which authorize user on behalf of right Identity Group.
    Requested Identity Group exist
    Testing user is created in Internal Users and has assigned requested Identity Group
    Radius Access Policy: 
    Authentication against Identity Store Sequence, where authorization server is external RSA SecurID device and additional attributes retrieval is configured from Internal Users.
    Authorization is very simple – One Rule with only one Condition which is: Identity Group - in - Requested_Testing_Rule. Then Default rule is set to Deny.
    When I will try login with my testing user then authentication against RSA SecurID is OK, but authorization will be denied by Default rule – It looks like my Rule with Identity Group is totally omitted.
    I am managing several other ACS servers (version 5.3 but with older patches) where similar rules are working without problem.
    What I am tested:
    Remove testing user and create his account again.
    Rename Identity Group
    Use another Identity Group
    Remove Access Policy rule and create it again
    Use Compound Condition: System:Identity Group
    Use Compound Condition: System:UserID instead of Identity Group in Rule (it is working without problem)
    Do you have any idea where problem can be?

    OK guys, it started working yesterday without any configuration change. Maybe it was some database inconsistence wich was solved by ACS itself.

  • How to open a message popup and keep the sequence running ?

    I have some steps in my sequence to initialize communication ports that takes a few seconds. As i have the trace off i want to display a message popup to tell the user that the sequence is doing the init. After the init steps are done i want to close the popup out of the sequence without pressing any button.
    Is there a possibility in TestStand to do this ?
    The normal Message popup stays until a key is pressed and even pauses the sequence while active.
    Thank for help.

    You could call your message popup in a subsequence as new execution and terminate this execution programmatically after your init steps have finished.
    In order to do this you have to specify (module) the sequence call step that calls your subsequence:
    -Multithreading and Remote Execution = Run in a New Execution
    -Settings: Initally Hidden and Tracing disable, Restartable, Close Window when done, Wait for Execution to complete: Do not wait, Process Model Option: Do not use a Process Model
    -Store an Object Reference to the New Execution in: e.g. Locals.ExecutionRef
    After your Init steps you insert a ActvieX/COM Action Step that terminates the new execution:
    -Object Reference: Locals.ExecutionRef
    -Automation Server: NI TestStand API 3.1
    -Object Class: Execution
    -Call Method or Access Property: Call Method
    -Method: Terminate
    This will terminate your new execution showing the message popup.

  • Purpose of Access sequence in text determination procedure?

    Dear all,
    I can get my text id's at sales document header/item level by simply assigning my defined text id to the text determination procedure.
    now, what is the need for having an access sequence where a text abject and text id is maintained??
    Thanks and regards
    KV

    Hi,
    Define Access Sequences For Determining Texts
    In this IMG activity, you define the access sequences which the SAP System uses to determine the texts for a text object.
    Afterwards, you specify an access sequence for the text search in the determination procedure for every text type.
    You only define access sequences for sales and distribution documents, not for customer master records.
    With an access sequence, you define the sequence and the requirements of the search used by the SAP System to find a text.
    This allows you, for example, to have the system check whether a text exists in the customer language. If this is not the case, then a text in the sales organisation language can be searched for. If this is also unsuccessful, you can have the system carry out the search using English as the fixed value.
    To do this, you make the following specifications for every access sequence:
    acc. no (access number)
    With the access number, you define the sequence in which the text objects of an access sequence should be read. The element with the lowest access number is read first. If an appropriate text is found, the search is ended. Otherwise, the SAP System checks the element with the next number up.
    Text object
    Here, you define which text objects should be checked by the SAP System for an access sequence.
    In the standard SAP R/3 System, for example, in the access sequence 0001 for the text object sales document header is defined, that the SAP System first searches for a form header text in the preceding document (text object VBBK) and afterwards for a sales note in the customer master record (text object KNVV).
    ID (text type)
    Here, you define which text type is to be read from the specified text object.
    It is recommended to select the same text type for the text to be copied. For example, the text for the form header in the customer master record (text type 0001) should be copied into the text for form header of a sales document (text type 0001).
    kapil

  • ISE Admin Access Authentication against multiple AD/LDAP Identity Sources

    Hi all!
    We would like to grant admin cccess to our ISE deplyoment to users stored in multiple Active Directories. Since there is no trust relationship between these ADs, we created an LDAP Identity Source for each AD and also an Identity Source Sequence but in the UI we can only select one Identity Source.
    Any ideas how to solve this problem?
    Thanks in advance!
    Kind regards,
    Michael Langerreiter

    I did check in my lab and yes for admin access we can't select identity store sequence in authentication. We can only pick one external database. However, on the login page you may select the appropriate database before you enter the username and password.
    Jatin Katyal
    - Do rate helpful posts -

  • CIsco ISE 1.2 Identity GUEST

    HI there. 
    I already have guest solution on my ISE installation. With Sponsor and guest portal enabled. All guest users are created by sponsores with expiration time of 1 day. This one works fine. (All guest users are on Wireless)
    I want to create one "special" guest account that dosent have any expiration time. But I am not sure how to separate that user from the other guest users, how can I build guest authz. policy that can differentiate between guest users? 
    Thanks, 

    you could create an ISE local user with a GUEST membership and provided you have your ISE password policy set so that it doesn't expire accounts, etc it would be a "permanent" guest account. we do something similiar. sponsors make temporary accounts while long-term or test guest accounts are created in the ise local identity store as guests and are processed the same way. you just have to ensure that the internal user store is part of your guest identity source sequence.

  • How can i unload a sequence from another sequence

    Hello,
    i have a sequence which is running in a loop. At a specified point the sequence executes an ActiveX-call an runs "Test UUTs" with a sequence-name that is passed with a variable.
    When "TestUUT" is running then first the SequenceFileLoad of the new sequence is executed and after that the Mainsequence. Thats all good up to here.
    But the next time when i call the execute "Test UUTs" then the file is already in loaded and no SequenceFileLoad is running.
    So my question is: What do i have to call/run that the loaded sequence is leaving the memory with SequenceFileUnload and the next time when i run "TestUUTs" is completely new loaded?
    Thx for your help
    Attached a screenshot of how i execute the "TestUUTs"
    Attachments:
    Clipboard01.jpg ‏42 KB

    The thing is, i only want to execute the SequenceFileUnload when i have a new sequence name in the variable of "Execute Test UUTs".
    If the sequence is loaded and executed again, then i dont want to run SequenceFileLoad again.
    Thats why i want to execute an "unload"-thing somehow.
    It looks like this:
    string seqname= sequence1
    call execute "Test UUTs" (seqname)
    SequenceFileLoad(sequence1)
    execute(seqname)
    call execute "Test UUTs" (seqname)
    //no SequenceFileLoad because its already loaded
    execute(seqname)
    call execute "Test UUTs" (seqname)
    //no SequenceFileLoad because its already loaded
    execute(seqname)
    string seqname= sequence2
    SequenceFileUNLoad(sequence1)
    SequenceFileLoad(sequence2)
    execute(seqname)
    call execute "Test UUTs" (seqname)
    //no SequenceFileLoad because its already loaded
    execute(seqname)

  • How to apply Property Loader to all sequences in the Sequence File?

    HI,
    I'm following the help instructions for the Property Loader and it states....
    Use Current Sequence File—Selects the file where the step is located.
    Sequence—Specifies the name of the sequence into which to import variables and properties. The specified sequence must exist in the specified sequence file. Select the <ALL SEQUENCES> tag from the drop-down list to instruct TestStand to import variables and properties for all of the sequences in the specified sequence file. You must specify a valid sequence name for the step to work properly.
    In my specific sequence file I added the Callbacks:  SequenceFileLoad, SequenceFileUnload, PreUUT. In addition to that, my MainSequence is calling 2 subsequences.
    I put the propertyLoader step (setting few values of the SequenceFileGlobals) in the setup section of the SequenceFileLoad, checked the 'Use Current Sequence File' and selected ALL SEQUENCES tag in the 'Sequence' option.  I verified that it does what I wanted.  Then, is it entered the PreUUT subsequnce, the values returned to the "original" values.
    Is that a bug?
    If not, how do I use the PropertyLoader in a sequenceFile that include several subsequences as well as Callback sequences.
    Thanks
    Rafi

    Ooops, sorry about that...
    I forgot to mention....it is TS 3.5.
    As per your questions-- yes they all in the same sequence file. 
         mySeqFile.seq
               SequenceFileLoad
               SdequnceFileUnload
               PreUUT
               Seq1
               Seq2
    AS I said....I put the property loader in the setup of the SequenceFileLoad,  I see that it works properly in that subsequence.  Then, after the SuequenceFileLoad is finished, I do Ctl+F5 for Test UUT's.  I put a breakpoint in the first step of the preUUT subsequence and check the context.  I notice that the variables in the FileGlobals to whom the property loader writes, have been changed back to the original values.
    I'll try to create a simple program to duplicate it but it may take me time as this test station is very busy.
    Thanks
    Rafi

  • How to create a sequence in Object Browser!!

    Hi All,
    I just wonder that while working on "Sequence" in Obejct Browser.
    Say for example i have a created a new sequence using object browser then i have redirected to Data tab->Query under this we can select the
    default values. I have tried to give the like '%s' under column conditon which is thrrowing error like query is not valid .
    Can anybody help me out how to implemnt the column condtion in Sequnece.
    Thanks,
    Anoo..

    OK
    I go New -> Table
    Name: Anoo
    COlumns:
    1: ID , Datatype: Number
    2: Value , Datatype: Varchar2; precision:20
    Primary Key:
    Populated from new sequence
    Primary key specified as : ID
    Sequence name: anoo_seq
    Foreign key: n/a
    Constraints: n/a
    Confirm
    Table Created --
    Anoo selected.
    Go to Data tab. Select insert row
    In the value field, I enter some data (not in Id as it's populated from the sequence). Click create. This returns me to view of existing data (in my case, only the new row I inserted)
    As far as your query being invalid, without knowing what is in your table, and what you inserting in your query, and what the exact error, its a bit difficult to know.
    Trent

  • Problem with recordset structure sequence

    Hi,
    I have a problem with my file cotent conversion.
    When i specify my recordstructure sequence as R1,1,R2,*
    the file is picked up but cannot be seen in MONI.
    but when i specify as R1,1,R2,2(OR 3 OR 4)
    The file is processed and seen in MONI.
    But when i give * to any of the records processing in XI fails..
    Please let me know wht must be going wrong
    Regards
    Venkat

    Venkat,
    I tried with your file and i am receiving the xml after conversion in sxmb_moni without any problem (no matter the file size )
    Can you try the following for your file,
    Recordset name : Details
    Recordset str. : Header,1,Body,*
    Key field name : field2
    Content conversion
    Header.fieldFixedLengths     3,2,10,27,8,8,8
    Header.fieldNames     field1,field2,field3,field4,field5,field6,field7
    Header.keyFieldValue     01
    Body.fieldFixedLengths     3,2,40,110,15,2
    Body.fieldNames     field1,field2,field3,field4,field5,field6
    Body.keyFieldValue     02
    ignoreRecordsetName     true
    ~ShaBZ~

  • Clarification on the limitation of sequence generator in T-SQL

    Hi, I found this limitation of sequence numbers for T-SQL:
    "If there are multiple instances of the NEXT
    VALUE FOR function specifying the same sequence generator within a single Transact-SQL statement, all those instances
    return the same value for a given row processed by that Transact-SQL statement. This behavior is consistent with the ANSI standard."
    From this link:  http://technet.microsoft.com/en-us/library/ff878058.aspx
    Does this mean that if we want to have different value generated then we can't use it in multi-threading environment whereby multiple instances / processes are calling the same T-SQL code that generate the sequence numbers using the
    NEXT VALUE FOR function?
    My understanding of the above might not be correct, any sample example to illustrate this limitation? 
    Thanks

    Hi
    This is the meaning of the comment in the article.
    If you are using in a single t-sql
    statement several times (NEXT VALUE FOR) then it will act as you use the same value. This is in-design :-)
    try this for example:
    select (NEXT VALUE FOR MySequenceName),(NEXT VALUE FOR MySequenceName),(NEXT VALUE FOR MySequenceName) -- same value several times
    But you can use (NEXT VALUE FOR) several time like this:
    DECLARE @QQ_01 int, @QQ_02 int, @QQ_03 int, @QQ_04 int
    SET @QQ_01 = NEXT VALUE FOR MySequenceName;
    SET @QQ_02 = NEXT VALUE FOR MySequenceName;
    SET @QQ_03 = NEXT VALUE FOR MySequenceName;
    SET @QQ_04 = NEXT VALUE FOR MySequenceName;
    SELECT @QQ_01,@QQ_02,@QQ_03,@QQ_04 -- different valus
    Hope this clarify things :-)
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for

  • BI 7.0 Analysis authorization creation issue

    Hi, We are prototyping the new analysis authorization concept have a question regarding the build. We've had the BI execute the pre-implementation tasks (activate the business related content and OTCT* and OTCTA* infocbues and and OCTA* infoCubes). T

  • ITunes has enccuntered a problem and needs to close. (v9.0.3.15)

    Hi. This has been covered in previous posts, however trying the solutions from the other posts has not resolved my problem. I have a new ipod touch 32G (have not linked to iTunes yet due to errors. It is currently used as paper weight ) Here is the s

  • PreparedStatement  Dilemma

    Hi, I know that PreparedStatement with the bind variables increase the DB performance. But I used the PreparedStatement in my application with no bind variables for some reson. Will it give any performance boost over the simple Statement or not? Than

  • ORA-28500 Oracle 11g Gateway problem

    Hi, I have installed Oracle database 11g and configured Oracle Gateway 11g on Linux operating system. I have created a database link through which i access data from SQL Server. By this below command, select * from tablename@sqlserver; Where sqlserve

  • Initial State of Navigation Panel

    Hi all, I have an issue with an SAP portal ivew linked to a guided procedure. When the user clicks on it the navigation panel on the left is closed. We have to tried to set the proposerty "Initial State of Navigation Panel" to "Open"  but it did not