Unit Test Module cannot create repository

DBA has created user with listed permissions in the documentation and Unit test repository creation is still stating basic permissions need to be met. In addition, I now need to upgrade my (nonexistant) repository and the basic permissions are still not met. What exactly does the repository admin require in oder to create a repository?
Additional problems:
When the dba types in the correct sys user password for that user to create the correct permissions through SQL developer, it states they are wrong. How does the sys user login as sysdba through that? That is our best guess as to why it won't recognize the password. This is also why I am asking what our DBA needs to simply get the admin user running.
Also, after the repository is created, what permissions can be removed from that user? With our DBAs, less is more :)
I appreciate any help; I realize this is a duplicate, but following other threads has not yielded results either.
10gr2 DB, 3.0 now 3.1 Sql Developer
Edited by: sinistral on Feb 14, 2012 11:15 AM
Edited by: sinistral on Feb 14, 2012 11:15 AM

Hi sinistral -
Instructions for setting up a unit test repository in a (dba friendly ;) ) locked down environment are in {message:id=3985967}
+That link points directly to the message for minimum permissions set up. Alternatively, A few messages back is one with info on how a dba can set up the roles/permissions as SQL Developer would so you don't get asked for sysdba info and can use the shared repository feature. {message:id=3985438}+
Brian Jeffries
SQL Developer Team
Edited by: bjeffrie on Feb 15, 2012 11:58 AM to include reference to 'full permissions' info.
Edited by: bjeffrie on Feb 15, 2012 12:45 PM to fix links

Similar Messages

  • Best way to Unit test Modules?

    I am working on a Project where the main app is a separate Flex project and then there are several Modules each having their own unit tests. What is the best recommended way of setting up something like this in terms of test runners? I would like to have one test runner that loads all others?

    I have never unit tested just a controller. I have always done end to end testing with the systems I have worked on, so I am coming from a different viewpoint than yourself. I would tend to think that just running a full unit test all the way to your database would be the best test. You will be more likely to find the issues with your program if you are testing with an environment as similar to production as possible.
    After running a test you can either purge the data you entered from your test by having sql scripts run against the db, or if this is difficult just reload the database from its original backup. You would probably be able to purge the data quicker than reloading the database from my experience, but it depends on your complexity of the sql scripts.
    best of luck.

  • Cannot create repository OVM 3.3.1, have shared physical disk with OCFS2

    I installed OVM 3.3.1 servers on hp blades, give 20GB LUN from FC array to each.
    Give one 600GB LUN from FC to both.
    Using OVM 3.3 Manager created serverpool of the two VM Servers
    In the Storage tab under SAN servers-Unmanaged FC Storage Arrays-FibreChannel Volume group I can see
    - both 20GB disk on OVM servers
    - the 600GB disk (shown for 1 server only, but display Servers Using this disk shows both)
    I check ovs-agent is runnig on both OVM servers (I restarted it on both to be sure)
    There is an OCFS2 filesystem on the 600GB disk created.
    When I open the Repositories Tab in OVM Manager I am not able to create repository.
    Thank for any help.
    Jiri Rohlicek
    ============================================================================
    OVM server 1 - ovma1
    [root@ovma1 ~]# mount
    /dev/mapper/360002ac0000000000000006500005340p2 on / type ext4 (rw)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    tmpfs on /dev/shm type tmpfs (rw)
    /dev/mapper/360002ac0000000000000006500005340p1 on /boot type ext4 (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    xenfs on /proc/xen type xenfs (rw)
    none on /var/lib/xenstored type tmpfs (rw)
    nodev on /sys/kernel/debug type debugfs (rw)
    configfs on /sys/kernel/config type configfs (rw)
    ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
    /dev/mapper/360002ac0000000000000006600005340 on /poolfsmnt/0004fb00000500004d14aab4675db242 type ocfs2 (rw,_netdev,heartbeat=global)
    [root@ovma1 ~]# service ovs-agent status
    log server (pid 3402) is running...
    notificationserver server (pid 3418) is running...
    remaster server (pid 3425) is running...
    monitor server (pid 3427) is running...
    ha server (pid 3429) is running...
    stats server (pid 3430) is running...
    xmlrpc server (pid 3432) is running...
    OVM server 2 - ovma2
    [root@ovma2 ~]# mount
    /dev/mapper/360002ac0000000000000006400005340p2 on / type ext4 (rw)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    tmpfs on /dev/shm type tmpfs (rw)
    /dev/mapper/360002ac0000000000000006400005340p1 on /boot type ext4 (rw)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    xenfs on /proc/xen type xenfs (rw)
    none on /var/lib/xenstored type tmpfs (rw)
    nodev on /sys/kernel/debug type debugfs (rw)
    configfs on /sys/kernel/config type configfs (rw)
    ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)
    /dev/mapper/360002ac0000000000000006600005340 on /poolfsmnt/0004fb00000500004d14aab4675db242 type ocfs2 (rw,_netdev,heartbeat=global)
    [root@ovma2 ~]#  service ovs-agent status
    log server (pid 3308) is running...
    notificationserver server (pid 3323) is running...
    remaster server (pid 3330) is running...
    monitor server (pid 3332) is running...
    ha server (pid 3334) is running...
    stats server (pid 3336) is running...
    xmlrpc server (pid 3337) is running...

    Hi,
    OVMM will refuse to create a storage repository on any disk that already contains an OCFS2 file system. Either you got something mixed up or you got an old OCFS2 LUN. Either way, since creating a SR requires to wipe the LUN, rsp. formatting it with OCFS2, there musn't be an OCFS2 volume on it.
    Cheers,
    budy

  • SQL Developer 3.0 Unit Testing

    Hi folks,
    Firstly, let me say thanks for all the hard work that has gone into the improvements made in SQL Developer 3.0. I've been trailing EA3 for the past few days, and am so far very impressed.
    My development team are particularly interested in the improvements made to the Unit Test module. We have previously created a number of tests/test suites in 2.1, but when we select to connect to the old test case repository schema, 3.0 tells me that it can not find the repository. (Apologises, I do not have my development box in front of me, so I can't quote the exact message).
    Is there anything I can do to get it to recognise the old repository? I'd prefer not to have to recreate all of our existing tests...
    Thanks in advance,
    Nick

    Hi Mikka,
    Only simple PL/SQL Records are currently supported i.e. those that do not contain repeating or optional components and where all the components are themselves supported. This restriction is in place due to the fact that we use JDBC as the parameter passing mechanism which does not directly support the PL/SQL Record type.
    ANYTYPE and ANYDATA are not currently supported as they have a dynamic value type and therefore must be programmatically set. In the future, it may be possible to support these through the dynamic value and and validation features.
    This will remain so for the final version.
    Regards,
    Richard

  • EA3 Why does unit test end with ORA-00904

    Database version
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL Developer version
    Oracle IDE 4.0.0.12.27
    Java(TM) Platform 1.7.0_25
    Error message:
    An error was encountered performing the requested operation:
    ORA-00904: : ugyldig identifikator
    00904. 00000 -  "%s: invalid identifier"
    *Cause:   
    *Action:
    Vendor code 904
    Whenever I go into the "Unit Test" modules, create a "Suite," and then click on that Suite, I get the error message.
    I get that same error when pulling up a unit test. I am able to run the unit test, it completes successfully, but I also get that same error mentioned above.
    The test is calling a simple pl/sql function (returning Hello World). The finction is in the same schema as the user running the test.
    Is  this is a known bug?
    Message was edited by: dori The following message appears in the console: Exception while performing action Run Test java.lang.NullPointerException         at oracle.dbtools.unit_test.locking.LockManager.lock(LockManager.java:64)         at oracle.dbtools.unit_test.editor.UtEditor.obtainEditLock(UtEditor.java:429)         at oracle.dbtools.unit_test.editor.UtTestEditor.updateContent(UtTestEditor.java:135)         at oracle.dbtools.unit_test.navigator.UtNavigatorContextMenu.showEditor(UtNavigatorContextMenu.java:2711)         at oracle.dbtools.unit_test.navigator.UtNavigatorContextMenu.openElement(UtNavigatorContextMenu.java:2638)         at oracle.dbtools.unit_test.navigator.UtNavigatorContextMenu.run(UtNavigatorContextMenu.java:616)         at oracle.dbtools.unit_test.navigator.UtNavigatorContextMenu.runTest(UtNavigatorContextMenu.java:577)         at oracle.dbtools.unit_test.navigator.UtNavigatorContextMenu.handleEvent(UtNavigatorContextMenu.java:2374)         at oracle.ideimpl.controller.MetaClassController.handleEvent(MetaClassController.java:53)         at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)         at java.awt.Component.processMouseEvent(Component.java:6505)         at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)         at java.awt.Component.processEvent(Component.java:6270)         at java.awt.Container.processEvent(Container.java:2229)         at java.awt.Component.dispatchEventImpl(Component.java:4861)         at java.awt.Container.dispatchEventImpl(Container.java:2287)         at java.awt.Component.dispatchEvent(Component.java:4687)         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)         at java.awt.Container.dispatchEventImpl(Container.java:2273)         at java.awt.Window.dispatchEventImpl(Window.java:2719)         at java.awt.Component.dispatchEvent(Component.java:4687)         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)         at java.awt.EventQueue.access$200(EventQueue.java:103)         at java.awt.EventQueue$3.run(EventQueue.java:694)         at java.awt.EventQueue$3.run(EventQueue.java:692)         at java.security.AccessController.doPrivileged(Native Method)         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)         at java.awt.EventQueue$4.run(EventQueue.java:708)         at java.awt.EventQueue$4.run(EventQueue.java:706)         at java.security.AccessController.doPrivileged(Native Method)         at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)         at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    I'm experiencing the same problem. I've called AppleCare repeatedly for a solutiuon, but I haven't gotten an answer yet and like you above I removed just about anything I could think of. I'd like to start considering third party apps we might have installed that maybe to blame.
    Why? Because I installed a fresh copy of Lion onto a Class 10 SD card and then later I turned on full disk encryption there. I no longer experienced the problem after I booted from that card.
    I also experienced a problem with full disk encryption with my 2010 MacBook Air sitting doing nothing at the encryption login screen. It spontaneously restarted three times before I turned it off. Later I moved to a 2011 model and did not see the spontaneously restarts again.
    Now I'm stuck with this annoying double login.

  • Error While Creating Repository Content at the time of  Installation

    Hi Guys,
    When i'm trying to create repository content at the time of informatica installation i'm getting error "Cannot create repository content or restore".
    I'hve attached the log file below
    ONE')
    INSERT INTO REP_CARD_TYPE VALUES (4, 'MANY TO MANY')
    CREATE TABLE REP_TARG_TYPE
    TARGET_TYPE integer,
    TYPE_NAME varchar(20)
    INSERT INTO REP_TARG_TYPE VALUES (0, 'NONE')
    INSERT INTO REP_TARG_TYPE VALUES (1, 'DIMENSION')
    INSERT INTO REP_TARG_TYPE VALUES (2, 'FACT')
    CREATE VIEW REP_DATABASE_DEFS AS SELECT
    DISTINCT
    DBDNAM DATABASE_NAME,
    SRCNAM DEF_SOURCE,
    SUBJ_NAME SUBJECT_AREA,
    NULL VERSION_ID,
    OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER
    FROM OPB_DBD, OPB_SUBJECT, OPB_SRC
    WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND
    OPB_SRC.DBDID = OPB_DBD.DBDID AND
    OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND
    OPB_SRC.IS_VISIBLE = 1
    ORA-01031: insufficient privileges
    Database driver error...
    Function Name : executeDirect
    SQL Stmt : CREATE VIEW REP_DATABASE_DEFS AS SELECT
    DISTINCT
    DBDNAM DATABASE_NAME,
    SRCNAM DEF_SOURCE,
    SUBJ_NAME SUBJECT_AREA,
    NULL VERSION_ID,
    OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER
    FROM OPB_DBD, OPB_SUBJECT, OPB_SRC
    WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND
    OPB_SRC.DBDID = OPB_DBD.DBDID AND
    OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND
    OPB_SRC.IS_VISIBLE = 1
    Oracle Fatal Error
    Database driver error...
    Function Name : ExecuteDirect
    Oracle Fatal Error
    Error occurred while creating the repository
    An error has occurred while creating contents. Dropping repository tables...
    Create Contents operation on repository [Oracle_BI_DW_Base] ended at 08/10/2009 11:50:49. Elapsed time is 0:00:10.
    [[REP_57106] Repository operation error. See repository service log for detailed information.]
    Failed to execute create.
    Completed at Mon Aug 10 11:50:49 2009
    Error:
    ExitCode: 1
    Installation Complete
    ======================

    Hi Rama,
    You don't need to give your etl_ram user a dba role.
    Please refer to the Oracle® Business Intelligence Applications - Installation Guide for Informatica PowerCenter Users, especially to chapter +4.4.1 Create Databases for Oracle BI Applications and Informatica PowerCenter Components+
    Quoting:
    Make sure that the Oracle Business Analytics Warehouse instance is granted the SSE_ROLE. For more information, see Section 4.4.1.1, "How to Create the SSE Role."
    This role would typically get more privileges than just CONNECT and RESOURCE.
    Hope it helps,
    Michal

  • Serialization, unit tests, and handling object changes

    Hi;
    I have a ton of unit tests where I create an object, check it very carefully to make sure it is correct, then write it to disk (serialize it).
    The for my unit tests I create the same object (these objects are very complex) and then read in the serialized object and compare them field by field.
    My problem is if I change the object in any way, the old serialized copy is now invalid. Is there any way I can get it to read the old serialized data into the new version of the object without writing code to read/write each field?
    thanks - dave

    Hi;
    I'm aware of the serialVersionUID attr. I was hoping there was another serialization mechanism that was forgiving of a mis-match between the object and the serialized data.
    In the .NET world you can serialize to xml and it does the best it can if there is a mis-match. But on the downside, for serialization to/from xml, it's only public properties.
    Does java have anything like this?
    thanks - dave

  • Can not create repository in Content Server

    We just installed Content Server 6.40 on a Linux server.  When we go into CSADMIN and try to create a repository, we are getting the following error:
    "HTTP error: 500 Internal Server Error  Cannot create Repository: SQLConnect failed, [MySQL MaxDB][LIBSQLOD SO][MaxDB] Unable to connect to"
    Does anyone know how to fix this?
    Maximum points to the first correct answer.

    Hi,
    I am facing some problem "CreateTab ContentStorage, connect error SQLConnect failed"
    and for that I was doing following steps:
    1.
    D:\sapdb\programs\pgm>Odbcreg LiveCache -i -p d:\sapdb\program\pgm
    'Odbcreg' is not recognized as an internal or external command,
    operable program or batch file.
    D:\sapdb\programs\pgm>
    2.
    D:\>cd sapdb/programs/pgm
    D:\sapdb\programs\pgm>odbcreg
    'odbcreg' is not recognized as an internal or external command,
    operable program or batch file.
    D:\sapdb\programs\pgm>Odbcreg livecache u2013i u2013p d:\sapdb\programs\pgm
    'Odbcreg' is not recognized as an internal or external command,
    operable program or batch file.
    D:\sapdb\programs\pgm>
    So how to solve this??
    Regards,
    Malay.

  • Deployed models are cached during unit tests

    I am using Stardust 2.1.1, and currently I am writing unit tests with JUnit, Spring and an in-memory Derby database. I would like to create a clean state for each of the unit tests, so I create and initialize the database before every test method and drop it after method executions. I also dispose of the Spring application context and initialize it between test methods with the @DirtiesContext(classMode = ClassMode.AFTER_EACH_TEST_METHOD) annotation.
    My problem is that despite dropping the database and reinitializing the Spring context after every test method my previously deployed models are still cached and I get an authorization-related exception:
    org.eclipse.stardust.common.error.AccessForbiddenException: AUTHx01000 - The user 'motu' does not have the permission 'model.deployProcessModel'.
    at org.eclipse.stardust.engine.core.runtime.utils.Authorization2.checkPermission(Authorization2.java:332) ~[carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.core.runtime.beans.interceptors.GuardingInterceptor.invoke(GuardingInterceptor.java:52) ~[carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130) [carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.core.runtime.beans.interceptors.AbstractLoginInterceptor.performCall(AbstractLoginInterceptor.java:201) ~[carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.core.runtime.beans.interceptors.AbstractLoginInterceptor.invoke(AbstractLoginInterceptor.java:131) ~[carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.api.spring.SpringBeanLoginInterceptor.invoke(SpringBeanLoginInterceptor.java:79) ~[carnot-spring-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130) [carnot-engine-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.doWithDataSource(SpringSessionInterceptor.java:142) ~[carnot-spring-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.access$000(SpringSessionInterceptor.java:48) ~[carnot-spring-2.1.1.jar:2.1.1]
    at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor$1.doInConnection(SpringSessionInterceptor.java:87) ~[carnot-spring-2.1.1.jar:2.1.1]
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:350) ~[spring-jdbc-4.1.6.RELEASE.jar:4.1.6.RELEASE]
    I looked into the code and found out that the ModelManagerBean and ModelMananagerBeanPartition classes cache my test model. I set the Infinity.Engine.Caching property to false in my carnot.properties as per the online documentation but the model is still getting cached.
    What is the proper way to disable caching in Stardust or how can I ensure that it disposes of everything that is cached?
    Thank you.

    In the Authorization2.checkPermission(...) method there's the following call:
    List<IModel> models = ModelManagerFactory.getCurrent().findActiveModels();
    This is a call to the ModelManagerPartition.findActiveModels() method. This class also has a deleleAllModels() method. If I try to call either of them manually after deploying the model in the first test, I get a NullPointerException.

  • Problem creating unit testing repository (and workaround)

    I tried to create the unit testing repository with a user that had all the required system privileges granted through a different role other than RESOURCE and CONNECT roles, and who wasn't explicitely granted CREATE VIEW, but inherited it through the custom role. However the check in SQL Developer is explicitely for the RESOURCE and CONNECT roles (regardless of what privileges they have granted to them in whichever database version past, present or future) and for CREATE VIEW privilege granted direct to the user:
    SELECT DECODE (roles.required_role_count + privs.required_priv_count,
                   3, 1,
                   0)
              AS basic_privs_granted
      FROM (SELECT COUNT (*) AS required_role_count
              FROM user_role_privs
             WHERE granted_role IN ('CONNECT', 'RESOURCE')) roles,
           (SELECT COUNT (*) AS required_priv_count
              FROM USER_SYS_PRIVS
             WHERE privilege IN ('CREATE VIEW')) privsI found this SQL contained within the sqldeveloper/extensions/oracle.sqldeveloper.unit_test.jar in an XML file: oracle/dbtools/unit_test/manage_user/UserSql.xml and replaced the SQL with one that actually checks for the specific system privileges:
    SELECT DECODE (required_sys_priv_count,
                   10, 1,
                   0)
              AS basic_privs_granted
      FROM
           (SELECT COUNT(*) AS required_sys_priv_count FROM
             (SELECT privilege
                FROM role_sys_privs
               WHERE privilege IN ('CREATE CLUSTER','CREATE INDEXTYPE','CREATE OPERATOR','CREATE PROCEDURE','CREATE SEQUENCE','CREATE SESSION','CREATE TABLE','CREATE TRIGGER','CREATE TYPE','CREATE VIEW')
              UNION
              SELECT privilege
                FROM user_sys_privs
               WHERE privilege IN ('CREATE CLUSTER','CREATE INDEXTYPE','CREATE OPERATOR','CREATE PROCEDURE','CREATE SEQUENCE','CREATE SESSION','CREATE TABLE','CREATE TRIGGER','CREATE TYPE','CREATE VIEW')))This enabled me to bypass that check when creating the respository. I don't know if all these privileges are actually required by the unit testing repository or not, so maybe the above list can be reduced...
    Edited by: RDB on Mar 1, 2013 2:24 PM

    Hi Sai Vineeth,
    First of all, I appreciate your elaborate way of framing the question. That itself helps others to comment.
    On the first two questions, I am sure you'll be able to follow the answers provided and take care of your concerns.
    On your question 3), an additional piece of information that should bring smile to you
    Whether the Test is to happen in DEV or QAS or whatever 'System Role' is dependent on the Test Plan.
    So, if you have two distinct Test Plans, one for Unit Tests and the other for Integration Tests, which should be the case, as usual, you can certainly point the System Role to DEV or QAS as required.
    Feel free to pose any other query as well.
    Best regards,
    Srini

  • Unit Test Repository Problems

    Ciao,
    This is related to SQL Developer 3.0 Unit Test feature. Is it possible to have many shared repository in a single DB instance? How to prevent the users to delete the testcases written by another user in a shared repository?
    Regards,
    Bala

    Hi, it is possible:
    create the two roles
    UT_REPO_USER
    UT_REPO_ADMINISTRATOR
    Extract the file dbtools\unit_test\repository\create10.sql from the jar oracle.sqldeveloper.unit_test.jar
    Run the create10.sql script
    HTH
    Oliver

  • Unit Test Generator - VS 2008 (Cannot add oracle data source)

    Hi All,
    Okay this might just be me (new to ODT for VS) - but If I start VS, go Test -> Add Test.
    Create a Database Unit Test.
    [Give it some name]
    write a query such as select * from <>
    add a test checksum condition , and try to configure the checksum condition.. (Hit configure on the properties - under misc).
    I go to new connection ...
    I only have SQL Server (sqlClient) available. Is the unit test generator/validator something that oracle does not currently yet support?
    (Yes the ODT 11i for VS 2008 is installed, can add a data connection to Oracle systems/query oracle in VS - just cannot add a Oracle database connection for unit database tests).
    Or has anybody found a way to make this very useful piece of functionality work ?
    Best Regards,
    D

    The same thing happens, If I go File -> Open -> Oracle Database Project Items -> SQL Script.
    This comes up as disconnected.
    When right click on the new script choose connect, only SQL Server provider is available with no ability to choose a oracle provider (greyed out to choose a diff connection provider).
    Prehaps someone has seen this before?

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Lightroom CC: cannot create library: error changing modules

    Hi, I cannot create a Library in Lightroom due to the following error. "an error occurred when attempting to change modules".  I am getting no where with customer service.

    Have you been through this help article?
    http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html

  • Unit Test - Select current repository disabled in SQL Developer 4.0

    Hi,
    I am now using Oracle SQL Developer 4.0 and I want to use Unit Testing. However, when I go to Tools-> Unit Testing -> Select Current Repository, the option is disabled. However, it is working and active when using SQL Developer 3.0
    Anyone faced the same problem??

    I could finally solve it.
    Go to the View -> Test Units
    Then the Test Units box will open in the left side of the SQL Developer and you will be able to access the Tools-> Unit Testing -> Select Current Repository
    I hope this help everybody here

Maybe you are looking for

  • Migration guidelines to goto Lion, iOS5 and iCloud

    hello I'm using a MacBook Pro ( running OSX 10.6.8 ) an iPhone4 ( iOS 4.3.5 ) and an iPad2 ( iOS 4.3.5 ) all three sync email ( mutilple pop accounts ), calendar and contacts using MobileMe - all works fine now I would like to goto Lion, iOS5 and iCl

  • Unable to upgrade Livecycle 9.0

    I originally got the error message "Word (version XP or onwards) could not be found on the machine" when trying to import a Word document into Livecycle ES2 (v 9.0.0.2). Rather than using the registry hack, my manager wants me to upgrade. After spend

  • What's the status of Win 7 64 Photoshop CS5 multiple prints?

    I notice the thread on this goes back to May 2010 and it is now Feb 2011. The number of copies print setting is mostly ignored and prints just one. Sometimes though the petty little officious bureaucrat that is inside CS5 remembers you asked for 14 c

  • Business content Info object

    Hi all,        Can any one please tell me : If we activate & install the info objects in the business content, then where in the Modelling the info objects are stored?

  • SOMEONE STOLE MY BB, ANYONE CAN HELP ME?

     MY BB WAS STOLEN 18/08/2012, around 2055 - 2105. I'm afraid it will be used in the wrong way by somebody for the crime reason. If somebody cant help me or tech/advice me how to block both the handset and BBM pin, PLEASE... Removed personal informati