ORA - 29857:Domain index and objects secondary exists in Tablespace

Database: 10.2.0.4
OS: Windows

While dropping the tablespace, I'm getting ORA-29857.
I understand that I must remove indexes of area on the tablespace, and also to find secondary objects in this tablespace and drop them.


Please provide me with step by step troubleshooting (query) for this error.



Thank you
Alok

damorgan, one of our As Oracle answered this question even a couple of years. He is Director of Oracle ACE and Oracle self-taught over 12 years at the University level - http://www.morganslibrary.org/)

ORA-29857: domain indexes and/or secondary objects exist in the tablespace

As he hinted after the accurate results of the applications after using the name of your tablespace

SELECT * FROM v$version;

SELECT COUNT(*)
FROM dba_segments
WHERE tablespace_name = 'yourTableSpaceNameHere';

DROP TABLESPACE yourTableSpaceNameHere INCLUDING CONTENTS AND DATAFILES;

This query will show you the objects

SELECT owner, segment_name, partition_name, segment_type, segment_subtype, relative_fno
FROM dba_segments
WHERE tablespace_name = ''yourTableSpaceNameHere'';

Those are the objects that you will lose if you drop the tablespace.

Tags: Database

Similar Questions

  • ORA-29861: area index is shown LOADING/FAILURE/UNUSABLE

    Hello friend


    I'm download the xml file in the users table, so why ORA-29861: area index is shown LOADING/FAILURE/UNUSABLE fire of error.




    Concerning

    Vikas

    link below might help you

    http://ORA-29861.ora-code.com/

    https://www-304.IBM.com/support/docview.wss?uid=swg21427516

    http://www.oracleerrorcodes.com/Oracle-database-error-code-ora-29861-domain-index-is-marked-loadingfailedunusable/

  • Impdp ORA-39083 error: INDEX could not create with object type error:

    Hi Experts,

    I get the following error when importing schema HR after a fall it. The DB is r12.1.3 11.2.0.3 & ebs


    I did export with this command.

    patterns of HR/hr = hr = TEST_DIR dumpfile = HR.dmp logfile directory expdp = expdpHR.log statistics = none

    that the user HR with the option drop waterfall.


    And try to import it HR schemas in the database by the following.

    Impdp System/Manager schemas = hr = TEST_DIR dumpfile = HR.dmp logfile directory = expdpHR.log statistics = none

    Here is the error

    imported 'HR '. "" PQH_SS_PRINT_DATA "0 KB 0 rows

    ... imdoor 'HR '. "" PQH_TJR_SHADOW "0 KB 0 rows

    . . imported 'HR '. "" PQH_TXN_JOB_REQUIREMENTS "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_BUDGET_SETS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_DETAILS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQH_WORKSHEET_PERIODS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_ALIEN_TRANSACTION_DATA "0 KB 0 rows

    . . imported 'HR '. "" PQP_ANALYZED_ALIEN_DATA "0 KB 0 rows

    . . imported 'HR '. "" PQP_ANALYZED_ALIEN_DETAILS "0 KB 0 rows

    . . imported 'HR '. "" PQP_EXCEPTION_REPORTS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_EXT_CROSS_PERSON_RECORDS "0 KB 0 rows

    . . imported 'HR '. "" PQP_FLXDU_FUNC_ATTRIBUTES "0 KB 0 rows

    . . imported 'HR '. "" PQP_FLXDU_XML_TAGS "0 KB 0 rows

    . . imported 'HR '. "" PQP_GAP_DURATION_SUMMARY "0 KB 0 rows

    . . imported 'HR '. "" PQP_PENSION_TYPES_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_SERVICE_HISTORY_PERIODS "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_ALLOCATIONS_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_DETAILS_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEHICLE_REPOSITORY_F_EFC "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEH_ALLOC_EXTRA_INFO "0 KB 0 rows

    . . imported 'HR '. "" PQP_VEH_REPOS_EXTRA_INFO "0 KB 0 rows

    Processing object type SCHEMA_EXPORT/TABLE/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRANT

    Processing object type SCHEMA_EXPORT/TABLE/SCHOLARSHIP/CROSS_SCHEMA/OBJECT_GRANT

    Object type SCHEMA_EXPORT/TABLE/COMMENT of treatment

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC of treatment

    Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/treatment

    Object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS

    Object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY of treatment

    Object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX

    ORA-39083: Type what INDEX failed to create object error:

    ORA-29855: an error has occurred in the execution of routine ODCIINDEXCREATE

    ORA-20000: Oracle text error:

    DRG-50857: error oracle in drvxtab.create_index_tables

    ORA-00959: tablespace "APPS_TS_TX_IDX_NEW" does not exist

    Because sql is:

    CREATE INDEXES ' HR'.»» IRC_POSTING_CON_TL_CTX' ON 'HR '. "" INDEXTYPE IRC_POSTING_CONTENTS_TL "("NAME") IS"CTXSYS. "' CONTEXT ' PARALLEL 1

    Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA

    Work 'SYSTEM '. "" SYS_IMPORT_SCHEMA_01 "completed with error (s 1) at 11:16:07

    SQL > select count (parameter), object_type from dba_objects where owner = 'HR' group by object_type.

    OBJECT_TYPE COUNT (OBJECT_NAME)

    ------------------ -------------------

    INDEX 37 PARTITION

    SEQUENCE OF 799

    TABLE 12 PARTITION

    LOB 70

    4 BODY PACKAGE

    PACKAGE OF 4

    3 RELAXATION

    2936 INDEX

    TABLE OF 1306

    Could you please suggest.

    Thank you

    MZ

    MZ,

    I get the following error when importing schema HR after a fall it. The DB is r12.1.3 11.2.0.3 & ebs


    Export and import of individual patterns of Oracle E-Business Suite stocked are not supported as this will violate referential integrity (except for custom schemas provided, you have no dependencies).

    Thank you

    Hussein

  • (ORA-00955) conflict of naming for index and constraint when you use a unique index (.. desc,.. CSA)

    Hello

    indexes and constraints are in different namespaces, so it should be possible to give them the same name.

    In the following case that apparently does not work:

    create unique index orders_year_show_uq
      on orders (year desc, show_orders asc);
     
     alter table orders
      add constraint orders_year_show_uq unique (year, show_order);
    

    When I run these statement, I get a "SQL Error: ORA-00955: name is already used by an existing object". ""

    If I clean and I execute the same instructions as above with the only difference on the 2 line, using "asc year" instead of "year desc":

    
      on orders (year asc, show_orders asc);
    

    then it success.

    I can't explain it, you have an idea?

    Thanks in advance.

    Kind regards

    Giovanni

    First of all, you have show_orders in index and show_order in the constraint. I'll assume that it's a typo. Second, when you create constraint without index enhance the specification Oracle seeks indexes existing on the same set of columns in ascending order. If this index does not exist (and it's your case, since one of your columns to index is in descending order), Oracle tries to create one with the same name as the constraint. That's why you get ORA-00955: name is already used by an existing object. In general, you can specify explicitly the index name to force the Oracle by using the existing index. But it will not help you. If you issue

    ALTER table orders add unique constraint (year, show_orders) orders_year_show_uq using index orders_year_show_uq;

    You will get the ORA-14196: specified index cannot be used to apply the constraint.

    In any case, Oracle does not support using index DESC for PK/UK.

    SY.

  • What happens to the existing after the partition of table index and created with local index

    Hi guys,.

    / / DESC part id name number, varchar2 (100), number of wage

    In an existing table PART I add 1 column DATASEQ MORE. I wonder the part of table based on dataseq.now, the table is created with this logic of partition

    create the part table partition (identification number, name varchar2 (100), number of salary, number DATASEQ) in list (dataseq) (values partition PART_INITIAL (1));

    Suggestionn necessary. given that the table is partitioned based on DATASEQ I wonder to add local indexes on dataseq. to dataseq, I have added a local index create index idx on share (dataseq) LOCAL; Now my question is, already, there are the existing index is the column ID and salary.

    (1) IDX for dataseq is created locally so that it will be partition on each partition on the main table. Please tell me what is happening to the index on the column ID and salary... it will create again in local?

    Please suggest

    S

    Hello

    first of all, in reality 'a partition table' means create a new table a migration of existing data it (although, theoretically, you can use dbms_redefinition to partition an existing table - however, it's just doing the same thing behind the scenes). This means that you also get to decide what to do with the index - index will be local, who will be global (you can also reassess some of existing indexes and decide that they are not really necessary).

    Second of all, the choice of the partitioning key seems weird. Partitioning is a data management technique more that anything else, in order to be eligible, you must find a good partitioning key. A column recently added, named "data_seq" is not a good candidate. Can you give us more details about this column and why it was chosen as a partitioning key?

    I suspect that the person who proposed this partitioning scheme made a huge mistake. A non-partitioned table is much better in all aspects (including the ease of management and performance) that divided one wrongly.

    Best regards

    Nikolai

  • Find all the segments that belong to a DOMAIN index (effective)

    Hello

    I'm going through several diagrams to a different tablespace (because some objects have been created in wrong tablespace).

    Although this isn't a big deal index and ordinary table, I can't figure out how to find the segments that belong to a DOMAIN index to check whether they are in the good (or bad) tablespace.

    A select * from dba_indexes where index_type = 'DOMAIN' gives me these indexes.

    The only way to understand the corresponding segments for secondary objects seems to match the segment names. So if the index is the name of FOO_IDX, the segments would be DR$ FOO_IDX$ I, DR$ FOO_IDX$ K, DR$ FOO_IDX$ R and DR$ FOO_IDX$ N.

    What I currently have, is the following statement, but it takes forever (> 5 minutes) to find the clues of the field on the 'bad' even for just a single user tablespace:

    select *
    from dba_indexes idx
    where idx.owner = 'FOOBAR'
    and idx.index_type = 'DOMAIN'
    and exists (select 1 
                from dba_segments seg
                where regexp_replace(seg.segment_name, '^DR\$|\$[RIKN]$', '') = idx.index_name
                  and seg.owner = idx.owner
                  and seg.tablespace_name = 'WRONG_TBS'
                  and seg.segment_type = 'TABLE');
    
    

    I can't find a system view, linking a segment to the 'owner' index directly without going back to the distortion of the name.

    It's my version of Oracle:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Andrew, beautiful recoding of the SQL.

    casorp, how you looked at the content of the all_secondary_objects?  I think that this point of view has the information you want, but I don't have any domain defined index I can think to use as a check.

    - -

    HTH - Mark D Powell.

  • ORA-01092: ORACLE instance is complete. Forced logoff ORA-00942: table or view does not exist on the 12 c CARS

    Hey Geeks,

    I met a problem when starting my 12 c RAC database.

    To mount it fine, but when I try to open, he throws me an error.

    System Global area 1.5400E + 10 bytes

    Bytes of size 4737560 fixed

    2952791528 variable size bytes

    1.2415E + 10 bytes database buffers

    Redo buffers 26857472 bytes

    Mounted database.

    SQL > alter database open;

    change the database open

    *

    ERROR on line 1:

    ORA-01092: ORACLE instance is complete. Disconnection forced

    ORA-00942: table or view does not exist

    Process ID: 11338068

    Session ID: 1429: No.3

    Here is the output of the trace file...

    ORACLE_HOME = / oracle_home/app/orahome

    Name of the system: AIX

    Name of the node: INS1

    Version: 1

    Version: 7

    Machine: 00C8CCA74C00

    Instance name: INST1

    Redo thread mounted by this instance: 1

    Oracle process number: 7

    The Unix process PID: 20381876, image: oracle@ins1 (TNS V1 - V3)

    2014-11-27 22:49:20.892

    SESSION ID: (197.5) 2014-11-27 22:49:20.892

    CUSTOMER ID :() 2014-11-27 22:49:20.892

    NAME OF THE SERVICE :() 2014-11-27 22:49:20.892

    NAME of the MODULE: (sqlplus@ins1 (TNS V1 - V3)) 22:49:20.892 2014-11-27

    ACTION NAME :() 2014-11-27 22:49:20.892

    2014-11-27 22:49:20.889716: start the recovery of field = 0, valid = 0, flags = 0 x 4

    2014-11-27 22:49:24.580

    Awarded with 32 slaves of recovery success

    With the help of 3 buffers overflow by slave of recovery

    2014-11-27 22:49:24.740

    1 post of thread: logseq 15, block 2, CHN 3510749

    cache-bass rba: logseq 15, block 3

    RBA on disk: logseq 15, block 72, RCS 3510824

    Start the recovery at logseq 15, block 3, Yvert 0

    2014-11-27 22:49:24.981

    Started the resilvering redo thread 1 seq 15 blocks 72-73

    2014-11-27 22:49:24.994

    Finished resilvering redo thread 1 seq 15

    2014-11-27 22:49:24.994

    Started writing zeroblks thread 1 seq 15 blocks 74-81

    2014-11-27 22:49:24.994

    Completed written zeroblks thread 1 seq 15

    = Redo read statistics for thread 1 =.

    Total physical reads (from disk and memory): 4096 KB

    -Redo read_disk - statistics

    Read rate (ASYNC): 35KO in 0,25 s = > 0.14 Mb / s

    Long: 0 Ko, moves: 0/104 (0%)

    Longer LWN: 2 k, moves: 0/33 (0%), moved: 0 MB

    Redo last scn: 0x0000.0035922b (3510827)

    ----------------------------------------------

    -Recovery Hash Table statistics

    Hash table buckets = 262144

    More long string hash = 1

    Hash string average = 25/25 = 1.0

    Max compares by lookup = 1

    AVG compares by lookup = 151/176 = 0.9

    ----------------------------------------------

    2014-11-27 22:49:25.007

    KCRA: start the debt for 25 blocks of data collection

    2014-11-27 22:49:25.039

    KCRA: treated blocks = 25/25, has claimed = 25, eliminated = 0

    2014-11-27 22:49:25.054

    Online Redo Log recovery: thread 1 mem Group 6 Seq 15 reading 0

    2014-11-27 22:49:25.060

    Ask again filled with 0.02 MB

    2014-11-27 22:49:25.235

    Control of completed recovery point

    -Recovery Hash Table statistics

    Hash table buckets = 262144

    More long string hash = 1

    Hash string average = 25/25 = 1.0

    Max compares by lookup = 1

    AVG compares by lookup = 176/176 = 1.0

    ----------------------------------------------

    Recovery thread nab 1 seq 15 to 74 with 8 zeroblks sets

    2014-11-27 22:49:26.000

    2014-11-27 22:49:26.000433: validate the domain 0

    2014-11-27 22:49:26.001348: valid domain 0, flags = 0x0

    2014-11-27 22:49:28.315

    County ofsmtab$: 0 entries

    2014-11-27 22:49:28.732

    ORA-00942: table or view does not exist

    ORA-00942: table or view does not exist

    2014-11-27 22:49:28.738

    USER (ospid: 20381876): put an end to litigation because of the 942 error

    In my case, the problem solved by running the following...

    GRANT SELECT on SYS. The USER$ in XDB.
    GRANT SELECT on SYS. The USER$ in CTXSYS.
    GRANT SELECT on SYS. The USER$ to DVSYS;
    GRANT SELECT on SYS. The USER$ to LBACSYS.
    GRANT SELECT on SYS. The USER$ to APEX_040200;
    GRANT SELECT on SYS. The USER$ to DV_SECANALYST;

    See the screenshot above.

  • ORA-01654: impossible to extend the APEX_040200.WWV_FLOW_ROW_TEMPLATE_PK index by 8 in the APEX_APP_USER tablespace

    Hi all!
    need help - creating an application in Application Express 4.2.4.00.08 and got this error when you click Create:

    ORA-01654: impossible to extend the APEX_040200.WWV_FLOW_ROW_TEMPLATE_PK index by 8 in the APEX_APP_USER tablespace

    everything worked perfectly before...

    installed on the local computer on Oracle 11 g...

    all solutions?

    Hello

    You can find APEX schema tablespace and data file using for example query

    SELECT f.tablespace_name
      ,f.file_name
    FROM dba_data_files f
    WHERE EXISTS (
      SELECT 1
      FROM dba_users u
      WHERE u.username = 'APEX_040200'
      AND u.default_tablespace = f.tablespace_name
    );
    

    Then increase the size of the data file or add the new data file. In addition, you can activate the automatic extension.

    Modify and maintain storage

    If you use database 11g XE and you have installed APEX SYSAUX tablespace, you may have worn size the system tablespace (s) max.

    Kind regards

    Jari

  • dbms_mview. Refresh giving "ORA-00942: table or view does not exist.

    Hi all

    I am trying to update the MV using the dbms_mview package but its gives me the following error.

    "ORA-00942: table or view does not exist.

    I have a MV named TESTMV in my environment. I'm running the following command,

    Start

    dbms_mview. Refresh('TESTMV,'C');

    end;

    ORA-00942: table or view does not exist

    ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2545

    ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2751

    ORA-06512: at "SYS." DBMS_SNAPSHOT", line 2720

    ORA-06512: at line 3 level

    Any suggestions would be much appreciated.

    See you soon,.

    ATOM

    This could be because the underlying source objects are now started to change. Is there any night script that changes or modifies the table of the source? If Yes, this means you will have to recompile the mview before running the update. You can add this line in front of your refresh command.

    You won't see this problem in your new instance if you do not change your source object. It could very well be someone changed your source object only once and you won't have the same problem in the future.

    Please mark this thread as answered if you think that the problem is resolved.

  • ORA-00942 Table or view does not exist when you run a procedure

    Hello

    I have a procedure called FND_GLOBAL under a scheme called APPS and I have granted execute privilege on this procedure to another schema called CIVICA

    However when I run the procedure of the CIVIC scheme I get

    ORA-00942 Table or view does not exist
    ORA-06512 at APPS. FND_CORE_LOG, line 25
    ORA-06512 at APPS. FND_GLOBAL, line 104
    ORA-06512 at APPS. FND_GLOBAL, line 1620
    ORA-06512 at APPS. FND_GLOBAL, line 2171
    ORA-06512 at APPS. FND_GLOBAL, line 2313

    I'm guessing that some of the sub components must also be given to the CIVICA?

    How does work to define rights? Subcomponents should not also be accessible via this procedure being owner / defined by Apps but executed by CIVICA?

    Jim

    Hi, Jim,.

    Jim Thompson wrote:
    Sorry Frank - in order to clarify

    I wanted to CIVICA to be able to execute procedures and functions in applications. Package FND_GLOBAL

    However this package has been defined with the rights of the plaintiff - CIVICA must be explicitly object privilege to all objects used by the package (or packages of sub that he calls, that there are some - it is really a case to view the hierarchy of this package and ensure that each object is explicitly given to CIVICA)

    What do you mean by "explicitly granted to CIVICA"? ". Do you mean granted directly to CIVICA, and not a role that CIVICA has?
    Once more, the privileges granted to the roles are good enough for packages AUTHID CURRENT_USER (also known as the "rights of the applicant"). The only time where you have to say "GRANT."... CIVICA"is when granting a role to the CIVICA; all other privileges may be granted to this role, or some other roles that are granted to the role that CIVICA has.
    Mnight want to create a role that has all the necessary privileges to use the package and grant this role to users like CIVICA.

    ... So, it seems as if I have no choice but to get my pen and paper and trace through the nested packages and objects called by FND_GLOBAL and to ensure that they are explicitly granted to CIVICA! I hate days like these!

    CIVIA want to have all the privileges that has APPS? You can query dba_tab_privs (and oither views in the data dictionary) to find (and write statements of "GRANT... ("for) all these privileges.

    You can also create another packet (let's call it FND_GLOBAL_I) in applications with rights of the author. Specification of package would be identical to the specification of FND_GLOBAL package, except that it says FMD_GLOBAL_I instead of FND_GLOBAL. The FND_GLOBAL_I package body are very similar to the spec. The body of each procedure or function would simply be a call to the corresponding functuion in FND_GLOBAL. Since FND_GLOBAL has hundreds of procedures, it will be a lot of work, but perhaps less work than to find exactly what privileges are needed.

  • Creating indexes and a default tablespace

    Hi Experts,

    Need your help to understand a basic tablespace clause when creating any object.
    I have a table owned by the user and reside on tuberculosis tablspace, table A has two indices i1 and i2, index i1 A user-owned and created by error index i2 belonging to user B.
    index i1 resides on the tb_index tablespace, i2 index created by mistake lies also on same tablespace tb_index.
    I have a question above given the scenario

    I2 index that was created by mistake lies in tablespace tb_index, despite mentioning any tablespace clause. How it can be created on the tb_index tablespace when the developer did not mention the tablespace.
    tablespace tb_index is neither database tablspace default is default not storage for user B.

    No idea about this help me a lot.

    Thank you

    Maybe something like that happening?

    SQL> conn / as sysdba
    Connected.
    SQL> conn test/test
    Connected.
    SQL> select * from user_indexes;
    
    no rows selected
    
    SQL> select table_name, tablespace_name from user_tables;
    
    TABLE_NAME                     TABLESPACE_NAME
    ------------------------------ ------------------------------
    TAB1                           USERS
    
    SQL> conn / as sysdba
    Connected.
    SQL> grant create any index to system;
    
    Grant succeeded.
    
    SQL> conn system/oracle
    ERROR:
    ORA-28002: the password will expire within 7 days
    
    Connected.
    SQL> conn test/test
    Connected.
    
    SQL> revoke index on tab1 from system;
    
    Revoke succeeded.
    
    SQL> conn system/oracle
    ERROR:
    ORA-28002: the password will expire within 7 days
    
    Connected.
    SQL> create index tidx on test.tab1(a);
    
    Index created.
    
    SQL> set pagesize 9999
    SQL> select index_name, table_name, tablespace_name, owner from all_indexes where table_name='TAB1'
      2  ;
    
    INDEX_NAME                     TABLE_NAME
    ------------------------------ ------------------------------
    TABLESPACE_NAME                OWNER
    ------------------------------ ------------------------------
    TIDX                           TAB1
    SYSTEM                         SYSTEM
    

    HTH
    Aman...

  • Try first with I BDB - indexes and legacy trouble... (FIXED)

    Hi Mark,

    Mark wrote:

    Hi, I'm a newbie here to try a few things on I BDB. And now I'm having
    I am happy to help you with this, but I have to ask you to re - ask this question on the forum I BDB, which is...

    Sorry for the mistake. Now, I know this is the place to post my doubts.

    I am really interested in product I BDB. I think it's fantastic!

    About my first post on "Index and legacy" I BDB, I discovered that the fix for this and in fact, he was not on the 'Index and legacy' but ' * legacy and sequence * ' because I my ' @Persistent public abstract class AbstractEntity ' with a '@PrimaryKey (sequence = "ID_SEQ") private Long id' property.

    This class is completed by all my business class (employee @Entity and @Entity Department) in order to have my business classes their autoincremented PrimaryKey in the sequence.

    But all of my business classes have the same name of the sequence: 'ID_SEQ' then when I start my BDB I running for the first time, I start saving 3 new items Department and the sequence of these objects star Department with "#1"and ends with #3.»

    Then I continue the registration of Employee objects (here was the problem) I thought that my next sequence number might be #4, but in fact it was #101 then when I tried to save my first employee, I put the property 'managerId = null' as this employee is the Manager, then, when I tried to save my second employee who works under one (Officer) I got the following exception message:

    TryingJEBDBApp DatabaseExcaption: com.sleepycat.je.ForeignConstraintException: (I 4.0.71) secondary persist #EntityStoreName #com.dmp.gamblit.persistence.BDB.store.eployee.Employee #* managerId *.
    foreign key not allowed: it is not present in the foreign database
    #EntityStoreName #com.dmp.gamblit.persistence.BDB.store.eployee.Employee persist

    The solution:
    I fixed, it will change the value managerId from "4" to "101" and it works now!

    Right now, I'm trying to understand the mechanism of the sequence and the refining of the concerns about the handling of cursors...
    You have any good material on these subjects, maybe a link where I can find more detailed information on these?

    Thanks in advance the Mark, thank you for your attention and I'll post more doubts in the future for sure. 0)

    Kind regards

    Diego
  • re-installation of iTune error, get"objects"already exists.

    To remove iTunes and reinstall the same, I was informed by System 7 Upgrade Advisor.  I uninstalled iTunes, but decided to not upgrade the system, due to some hardware problems.  When I try to re - install iTunes I get an error "object already Exists."  I had a similar problem a few months ago with the installation of any kind of software on the same machine.  Someone in the community suggested that the installer has been damaged by a update file.  The solution was to remove this file from update.  Unfortunately, I has not documented this event with care.  I do not think the current issue are the same anyway, because I downloaded other software with similar incidents.  When you try to win the support of Apple on the issue, they advise their archives are not familiar with this issue, that I'll probably get the installation of other software, and I have to contact Microsoft Support.  MS has no obvious trace of that particular difficulty.  Anyone out there have any suggestions?  Thank you for your kind attention.

    Hello

    Uninstall everything according to the instructions from Apple:

    «Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7»

    http://support.Apple.com/kb/HT1923

    It is also the same list of what to remove what is in the link above from Apple:

    http://pcsupport.about.com/od/findbyerrormessage/a/MSVCR80-DLL-not-found-missing-error.htm

    Or try this program to remove it:

    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    Then, download and save the iTunes on the desktop > then right click > select run as administrator to install.

    If the advice already given does not, please contact Apple for assistance.

    "Not to install iTunes or QuickTime for Windows"

    http://support.Apple.com/kb/HT1926

    "iTunes support-how to use iTunes.

    http://www.Apple.com/support/iTunes/

    "Contact iTunes Support.

    http://www.Apple.com/support/iTunes/contact/

    Or ask in the community Apple iTunes:

    https://discussions.Apple.com/community/iTunes

    See you soon.

  • Question indexing and backup...

    Couple questions.

    1 indexing - I created a directory "backup" off the rooy on my device via the file browser. Even with the pictures etc..., it's the area that I intend to backup just things, documents, programs, etc... To my surprise, images in this directory is indexed and illustrated with photos. Is this by design? In any case stop as long as these are usually the images that go with the product installs.

    2. I noticed in the backup agent it refers to \\myhubname\backup but that folder does not exist (this is why I created it). "However, on this backup operation (the one that installs by default), it stores data to \\myhubname\import\"directory file names "... strange.

    Any thoughts would be appreciated.

    Thank you.

    udflyer

    1. Yes, it's by design. Nothing in the files of importation or the media is indexed. I suggest using the backup folder.

    2. strange that the backup folder was not there. It is a default action.

  • Cipher.exe object already exists error

    Hello, I had a customer bring a laptop Windows 7 Professional to the other day saying she has difficulty to create a folder that is encrypted for the work. Long story short is that it must have a file encrypted on the machine for this application to work and it must be able to use it for his job. She is the only user in its place with this question and their residents IT guy is as puzzled as I am.

    When I run "cipher /e s:test" or "cipher /e s:C:\users\naomi\test" cipher returns the error "the object already exists.

    It does no file encrypted on the computer, and to my knowledge, she has never tried to use encryption so far. I ran the System File Checker to see if she could be a problem with some files on the system, but no joy there.

    On the off chance that maybe their was something wrong with its key set so I tried to launch the /k option for him generate a new key and received the same error again.

    Thinking that maybe there was a problem in their user profile, I created a test called Administrator account and tried to use encryption for the new account and continue to receive the same object already exists error.

    Personally I have never seen this problem before and what research I did did not find me any useful results. Has anyone seen here this error before and know the cause or have any suggestions on what I might try next?

    Thank you

    Chris

    Chris

    You stand a better chance of getting an answer if repost you this on Technet

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.msdn.Microsoft.com/forums/en-us/home

Maybe you are looking for