Cascade on delete and on update

is it a problem setting both ejb relations and database tables to cascade on delete and updates.
if it is, which one is preferred?
another point is Ejb container has a transaction manager, so preferring a transactional database is an adavantage or disadvantage?

Please see my answers to your other posting on the subject:
"which one is recommended while using a db? transactional or nontransactiona"
Please avoid posting duplicate messages in the future.
Regards,
m.

Similar Messages

  • Change Data Capture, insert+delete instead of update

    Hello everyone,
    I'm having an odd issue, that I need some help understanding.  I've got a number of tables enabled for Change Data Capture, but I've noticed some behavior that doesn't make sense.
    I am utilizing CDC to populate an ODS via SSIS packages, and have noticed a few instances where I'm getting a delete operation come through, but the source record still exists.  In the source system, I can query 'cdc.fn_cdc_get_net_changes_...'
    and see combinations of 1 (delete) and 4 (update new) for the __$operation.
    __$start_lsn, __$operation, TableId, ...
    0x000BB75700002F250005, 1, 1938241
    0x000BB75700002F250005, 4, 1938241
    Also, if I query the cdc.<Table>_CT table directly, I see pairs of 1 and 2 (insert) for the same __$start_lsn and __$seqval.  How can this happen?  If I get *net* changes, shouldn't I only get one record back per the primary
    key of the source table?
    __$start_lsn, __$seqval, __$operation, __$update_mask, TableId, ...
    0x000BB75700002E7C0005, 0x000BB75700002E7C0003, 1, 0x0FFF, 1938241
    0x000BB75700002E7C0005, 0x000BB75700002E7C0003, 2, 0x0FFF, 1938241
    0x000BB75700002F250005, 0x000BB75700002F250003, 1, 0x0FFF, 1938241
    0x000BB75700002F250005, 0x000BB75700002F250003, 2, 0x0FFF, 1938241
    Let me say, I've got a trace going to see if I can find the command(s) that is causing the duplicate results, but has anyone ever seen this before? 
    Thanks in advance for your time and help!
    Jarret

    This is called a deffered update. It is the way that some tables are updated - ie a delete followed by an insert.
    See if the behavior still occurs when using trace flag 8201, ie
    DBCC TRACEON (8207, -1)
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Deny/Stop/Delete an App Update

    There is an update to a particular App that I do not want to install (the reason isn't that important, but it's because the new version will be loaded with ads).
    Is there a way to deny or delete and app update, so that it doesn't come up on the "Updates Available" screen on your iPhone/iPod touch, or iTunes?
    thanks!

    Unfortunately, unlike on a Mac computer, it's impossible to remove a software update from the list, it will just keep nagging you to install any updates that are available.
    I suggest leaving a note to Apple here:
    http://www.apple.com/feedback/iphone.html

  • What determines would deleted records be updated first (1-* mapping)?

    Suppose that we have 1 to many between A and B, and that we delete row in B (B is many side). B is privatelly owned and ValueHolder indirection.
    Now, I am seeing that if I do delete a row from B, it will be first updated (with the foreign key set to null), and then deleted.
    This is relativelly recent development - we did not change mapping file database or any toplink setting we were aware of. Concern is why this started happening all of the sudden, while previously TopLink would detect that row would eventually be deleted and skip update altoghether?
    Could anybody point to any guidelines under which circumstences would update be done on the deleted row first, as opposed to update being skipped if the row is eventually going to be deleted?
    TopLink 10.1.3.1, Oracle 10.2.0.1.0, JDBC driver 10.2.0.1.0
    Thanks!

    Doug,
    This is somewhat complex setup, I would try to get it as simple as possible but would not remove anything from the tables (just in case it is related to problem).
    So, WorkspaceConfig and TestCaseType are in 1:M. TestCaseType foreign key for WorkspaceConfig is NOT NULL constrained. TopLink would on delete of the TestCaseType object
    generate UPDATE for TestCaseType that is going to break not null constraint on foreign key.
    This is exception that we get:
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
    [exec] Internal Exception: java.sql.SQLException: ORA-02290: check constraint (VKRUNIC1.CHK_TC_TYPE_WSCF_NOT_NULL) violated
    [exec] Error Code: 2290
    [exec] Call:UPDATE TESTCASE_TYPE SET WORKSPACE_CONFIG_OID = ?, VERSION = ? WHERE ((OID = ?) AND (VERSION = ?))
    [exec] bind => [null, 2, 7295, 1]
    [exec] Query:UpdateObjectQuery(Functional)
    [exec] at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
    [exec] at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:660)
    [exec] at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:712)
    [exec] at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:498)
    [exec] at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
    [exec] at oracle.toplink.publicinterface.Session.executeCall(Session.java:723)
    [exec] at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
    [exec] at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
    [exec] at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.updateObject(DatasourceCallQueryMechanism.java:568)
    [exec] at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:415)
    [exec] at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1075)
    [exec] at oracle.toplink.queryframework.UpdateObjectQuery.executeCommitWithChangeSet(UpdateObjectQuery.java:67)
    [exec] at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:251)
    [exec] at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
    [exec] at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
    [exec] at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:542)
    [exec] at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:100)
    [exec] at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:72)
    [exec] at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2578)
    [exec] at oracle.toplink.publicinterface.Session.executeQuery(Session.java:988)
    [exec] at oracle.toplink.publicinterface.Session.executeQuery(Session.java:945)
    [exec] at oracle.toplink.internal.sessions.CommitManager.commitChangedObjectsForClassWithChangeSet(CommitManager.java:285)
    [exec] at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:217)
    [exec] at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:174)
    [exec] at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3177)
    [exec] at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1282)
    [exec] at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1370)
    [exec] at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(UnitOfWork.java:2840)
    [exec] at oracle.toplink.publicinterface.UnitOfWork.issueSQLbeforeCompletion(UnitOfWork.java:2820)
    [exec] at oracle.toplink.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:96)
    [exec] at oracle.toplink.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:55)
    [exec] at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491)
    [exec] at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110)
    [exec] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324)
    [exec] ... 60 more
    [exec] Caused by: java.sql.SQLException: ORA-02290: check constraint (VKRUNIC1.CHK_TC_TYPE_WSCF_NOT_NULL) violated
    [exec] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    [exec] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    [exec] at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    [exec] at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    [exec] at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    [exec] at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
    [exec] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
    [exec] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
    [exec] at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
    [exec] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251)
    [exec] at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:653)
    [exec] ... 92 more
    Following is how tables are defined:
    -- Create the workspace configuration table.
    CREATE TABLE WORKSPACE_CONFIG (
    OID NUMBER CONSTRAINT WKSP_CONF_OID_NOT_NULL NOT NULL,
    SUBSCRIPTION_ID NUMBER CONSTRAINT WKSP_CONF_SUB_ID_NOT_NULL NOT NULL,
    WORKSPACE_OID NUMBER CONSTRAINT WKSP_CONF_WKSP_ID_NOT_NULL NOT NULL,
    VERSION NUMBER CONSTRAINT WKSP_CONF_VERSION_NOT_NULL NOT NULL,
    PRIORITY_RATING_SCHEME_OID NUMBER CONSTRAINT WKSP_CONF_PRS_NOT_NULL NOT NULL,
    DEFECT_PRIORITY_RSCHEME_OID NUMBER CONSTRAINT WKSP_CONF_DPRS_NOT_NULL NOT NULL,
    DEFECT_SEVERITY_RSCHEME_OID NUMBER CONSTRAINT WKSP_CONF_DSRS_NOT_NULL NOT NULL,
    FREQUENCY_RATING_SCHEME_OID NUMBER CONSTRAINT WKSP_CONF_FRS_NOT_NULL NOT NULL,
    DIFFICULTY_RATING_SCHEME_OID NUMBER CONSTRAINT WKSP_CONF_DRS_NOT_NULL NOT NULL,
    DEFECT_ENV_RATING_SCHEME_OID NUMBER,
    DEFECT_STATE_RATING_SCHEME_OID NUMBER,
    DEFECT_RES_RATING_SCHEME_OID NUMBER,
    STYLE NUMBER DEFAULT 0 CONSTRAINT WKSP_STYLE_NOT_NULL NOT NULL,
    UNIT_NAME VARCHAR2(128) CONSTRAINT WKSP_CONF_UNAME_NOT_NULL NOT NULL,
    GROSS_ESTIMATE_UNIT_NAME VARCHAR2(128) NULL, /* see below */
    DEFAULT_TESTCASE_TYPE_OID NUMBER CONSTRAINT WKSP_CONF_DTCT_NOT_NULL NOT NULL,
    DEFAULT_TESTCASE_VERDICT_OID NUMBER CONSTRAINT WKSP_CONF_DTCV_NOT_NULL NOT NULL,
    SC_STATEMODEL_OID NUMBER CONSTRAINT WKSP_CONF_SCSM_NOT_NULL NOT NULL,
    DEFAULT_SYSTEM_TYPE_OID NUMBER NULL,
         COPY_REQ_GROSS_ESTIMATE NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_CP_REQ_GE_NN NOT NULL,
    TIMEZONE VARCHAR2(64) DEFAULT 'America/Denver' CONSTRAINT WKSP_CONF_TZ_NOT_NULL NOT NULL,
    DATE_FORMAT VARCHAR2(128) DEFAULT 'yyyy-MM-dd' CONSTRAINT WKSP_CONF_DF_NOT_NULL NOT NULL,
    DATE_TIME_FORMAT VARCHAR2(128) DEFAULT 'yyyy-MM-dd hh:mm:ss a' CONSTRAINT WKSP_CONF_DTF_NOT_NULL NOT NULL,
    WORKDAY_MONDAY NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_WD_MON_NN NOT NULL,
    WORKDAY_TUESDAY                         NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_WD_TUES_NN NOT NULL,
    WORKDAY_WEDNESDAY NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_WD_WED_NN NOT NULL,
    WORKDAY_THURSDAY NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_WD_THURS_NN NOT NULL,
    WORKDAY_FRIDAY NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_WD_FRI_NN NOT NULL,
    WORKDAY_SATURDAY NUMBER(1) DEFAULT 0 CONSTRAINT WKSP_CONF_WD_SAT_NN NOT NULL,
    WORKDAY_SUNDAY NUMBER(1) DEFAULT 0 CONSTRAINT WKSP_CONF_WD_SUN_NN NOT NULL,
    SHOW_SC_IN_RELEASE_PLANNING NUMBER(1) DEFAULT 0 CONSTRAINT WKSP_CONF_SHOW_SC_NN NOT NULL,
    SET_TASK_EST_ON_CARD_SPLIT NUMBER(1) DEFAULT 1 CONSTRAINT WKSP_CONF_TSK_EST_NN NOT NULL,
    CREATION_DATE DATE CONSTRAINT WKSP_CONF_CDATE_NOT_NULL NOT NULL
    -- Create the primary key for the WORKSPACE_CONFIG table
    ALTER TABLE WORKSPACE_CONFIG
    ADD CONSTRAINT PK_WKSP_CONFIG PRIMARY KEY (OID)
    USING INDEX
    TABLESPACE @index_tbl_space@;
    ALTER TABLE WORKSPACE_CONFIG ADD CONSTRAINT WKSP_CONF_GEUNIT_NAME_NOT_NULL CHECK ("GROSS_ESTIMATE_UNIT_NAME" IS NOT NULL);
    ALTER TABLE WORKSPACE_CONFIG ADD CONSTRAINT WKSP_CONF_DERS_NOT_NULL CHECK ("DEFECT_ENV_RATING_SCHEME_OID" IS NOT NULL);
    ALTER TABLE WORKSPACE_CONFIG ADD CONSTRAINT WKSP_CONF_DSTRS_NOT_NULL CHECK ("DEFECT_STATE_RATING_SCHEME_OID" IS NOT NULL);
    ALTER TABLE WORKSPACE_CONFIG ADD CONSTRAINT WKSP_CONF_DRRS_NOT_NULL CHECK ("DEFECT_RES_RATING_SCHEME_OID" IS NOT NULL);
    ALTER TABLE WORKSPACE_CONFIG
    ADD CONSTRAINT FK_WKSP_CONF_PR_SCHEME_OID
    FOREIGN KEY (PRIORITY_RATING_SCHEME_OID)
    REFERENCES RATING_SCHEME (OID) INITIALLY DEFERRED DEFERRABLE ;
    -- CREATE TESTCASE_TYPE table
    CREATE TABLE TESTCASE_TYPE (
    OID NUMBER NOT NULL,
    SUBSCRIPTION_ID NUMBER NOT NULL,
    WORKSPACE_OID NUMBER,
    WORKSPACE_CONFIG_OID NUMBER,
    VERSION NUMBER NOT NULL,
    NAME VARCHAR2(256) NOT NULL,
    CREATION_DATE DATE
    -- Create the primary key for the TESTCASE_TYPE table
    ALTER TABLE TESTCASE_TYPE
    ADD CONSTRAINT PK_TESTCASE_TYPE_OID PRIMARY KEY (OID)
    USING INDEX
    TABLESPACE @index_tbl_space@;
    -- HERE WE WOULD GET CONSTRAINT VIOLATION FROM THE TOPLINK UNLESS THIS IS SET TO INITIALLY DEFFERED
    ALTER TABLE TESTCASE_TYPE
    ADD CONSTRAINT CHK_TC_TYPE_WSCF_NOT_NULL
    CHECK (WORKSPACE_CONFIG_OID IS NOT NULL);
    ALTER TABLE TESTCASE_TYPE
    ADD CONSTRAINT TC_TYPE_WKSP_OID_NOT_NULL
    CHECK ("WORKSPACE_OID" IS NOT NULL);
    ALTER TABLE TESTCASE_TYPE
    ADD CONSTRAINT CHK_TC_TYPE_CDATE_NOT_NULL
    CHECK (CREATION_DATE IS NOT NULL);
    -- Create the foreign keys for the TESTCASE_TYPE TABLE
    ALTER TABLE TESTCASE_TYPE
    ADD CONSTRAINT FK_TT_TYPE_WKSPCONF_OID
    FOREIGN KEY (WORKSPACE_CONFIG_OID)
    REFERENCES WORKSPACE_CONFIG (OID) DEFERRABLE INITIALLY DEFERRED;
    This are relevant mappings:
    public ClassDescriptor buildWorkspaceConfigurationDescriptor() {
         RelationalDescriptor descriptor = new RelationalDescriptor();
         descriptor.setJavaClass(com.f4tech.slm.domain.WorkspaceConfiguration.class);
         descriptor.addTableName("WORKSPACE_CONFIG");
         descriptor.addPrimaryKeyFieldName("WORKSPACE_CONFIG.OID");
         // Descriptor Properties.
         descriptor.useSoftCacheWeakIdentityMap();
         descriptor.setIdentityMapSize(100);
         descriptor.useRemoteSoftCacheWeakIdentityMap();
         descriptor.setRemoteIdentityMapSize(100);
         VersionLockingPolicy lockingPolicy = new VersionLockingPolicy();
         lockingPolicy.setWriteLockFieldName("WORKSPACE_CONFIG.VERSION");
         lockingPolicy.storeInObject();
         descriptor.setOptimisticLockingPolicy(lockingPolicy);
         descriptor.setAlias("WorkspaceConfiguration");
         descriptor.useMethodInstantiationPolicy("basicNewWorkspaceConfiguration");
         // Query Manager.
         descriptor.getQueryManager().checkCacheForDoesExist();
         // Event Manager.
         // Mappings.
         DirectToFieldMapping creationDateMapping = new DirectToFieldMapping();
         creationDateMapping.setAttributeName("creationDate");
         creationDateMapping.setFieldName("WORKSPACE_CONFIG.CREATION_DATE");
         descriptor.addMapping(creationDateMapping);
         DirectToFieldMapping dateFormatMapping = new DirectToFieldMapping();
         dateFormatMapping.setAttributeName("dateFormat");
         dateFormatMapping.setFieldName("WORKSPACE_CONFIG.DATE_FORMAT");
         descriptor.addMapping(dateFormatMapping);
         DirectToFieldMapping dateTimeFormatMapping = new DirectToFieldMapping();
         dateTimeFormatMapping.setAttributeName("dateTimeFormat");
         dateTimeFormatMapping.setFieldName("WORKSPACE_CONFIG.DATE_TIME_FORMAT");
         descriptor.addMapping(dateTimeFormatMapping);
         DirectToFieldMapping defaultSystemTypeOIDMapping = new DirectToFieldMapping();
         defaultSystemTypeOIDMapping.setAttributeName("defaultSystemTypeOID");
         defaultSystemTypeOIDMapping.setFieldName("WORKSPACE_CONFIG.DEFAULT_SYSTEM_TYPE_OID");
         descriptor.addMapping(defaultSystemTypeOIDMapping);
         DirectToFieldMapping defaultTestCaseTypeOIDMapping = new DirectToFieldMapping();
         defaultTestCaseTypeOIDMapping.setAttributeName("defaultTestCaseTypeOID");
         defaultTestCaseTypeOIDMapping.setFieldName("WORKSPACE_CONFIG.DEFAULT_TESTCASE_TYPE_OID");
         descriptor.addMapping(defaultTestCaseTypeOIDMapping);
         DirectToFieldMapping defaultTestCaseVerdictOIDMapping = new DirectToFieldMapping();
         defaultTestCaseVerdictOIDMapping.setAttributeName("defaultTestCaseVerdictOID");
         defaultTestCaseVerdictOIDMapping.setFieldName("WORKSPACE_CONFIG.DEFAULT_TESTCASE_VERDICT_OID");
         descriptor.addMapping(defaultTestCaseVerdictOIDMapping);
         DirectToFieldMapping grossEstimateUnitNameMapping = new DirectToFieldMapping();
         grossEstimateUnitNameMapping.setAttributeName("grossEstimateUnitName");
         grossEstimateUnitNameMapping.setFieldName("WORKSPACE_CONFIG.GROSS_ESTIMATE_UNIT_NAME");
         descriptor.addMapping(grossEstimateUnitNameMapping);
         DirectToFieldMapping oidMapping = new DirectToFieldMapping();
         oidMapping.setAttributeName("oid");
         oidMapping.setFieldName("WORKSPACE_CONFIG.OID");
         descriptor.addMapping(oidMapping);
         DirectToFieldMapping populateTaskEstimateOnCardSplitMapping = new DirectToFieldMapping();
         populateTaskEstimateOnCardSplitMapping.setAttributeName("populateTaskEstimateOnCardSplit");
         populateTaskEstimateOnCardSplitMapping.setFieldName("WORKSPACE_CONFIG.SET_TASK_EST_ON_CARD_SPLIT");
         descriptor.addMapping(populateTaskEstimateOnCardSplitMapping);
         DirectToFieldMapping shouldCopyRequirementGrossEstimateMapping = new DirectToFieldMapping();
         shouldCopyRequirementGrossEstimateMapping.setAttributeName("shouldCopyRequirementGrossEstimate");
         shouldCopyRequirementGrossEstimateMapping.setFieldName("WORKSPACE_CONFIG.COPY_REQ_GROSS_ESTIMATE");
         descriptor.addMapping(shouldCopyRequirementGrossEstimateMapping);
         DirectToFieldMapping showStoryCardsInReleasePlanningMapping = new DirectToFieldMapping();
         showStoryCardsInReleasePlanningMapping.setAttributeName("showStoryCardsInReleasePlanning");
         showStoryCardsInReleasePlanningMapping.setFieldName("WORKSPACE_CONFIG.SHOW_SC_IN_RELEASE_PLANNING");
         descriptor.addMapping(showStoryCardsInReleasePlanningMapping);
         DirectToFieldMapping styleMapping = new DirectToFieldMapping();
         styleMapping.setAttributeName("style");
         styleMapping.setFieldName("WORKSPACE_CONFIG.STYLE");
         descriptor.addMapping(styleMapping);
         DirectToFieldMapping subscriptionIDMapping = new DirectToFieldMapping();
         subscriptionIDMapping.setAttributeName("subscriptionID");
         subscriptionIDMapping.setFieldName("WORKSPACE_CONFIG.SUBSCRIPTION_ID");
         descriptor.addMapping(subscriptionIDMapping);
         DirectToFieldMapping timeZoneMapping = new DirectToFieldMapping();
         timeZoneMapping.setAttributeName("timeZone");
         timeZoneMapping.setFieldName("WORKSPACE_CONFIG.TIMEZONE");
         descriptor.addMapping(timeZoneMapping);
         DirectToFieldMapping unitNameMapping = new DirectToFieldMapping();
         unitNameMapping.setAttributeName("unitName");
         unitNameMapping.setFieldName("WORKSPACE_CONFIG.UNIT_NAME");
         descriptor.addMapping(unitNameMapping);
         DirectToFieldMapping versionMapping = new DirectToFieldMapping();
         versionMapping.setAttributeName("version");
         versionMapping.setFieldName("WORKSPACE_CONFIG.VERSION");
         descriptor.addMapping(versionMapping);
         DirectToFieldMapping workdayFridayMapping = new DirectToFieldMapping();
         workdayFridayMapping.setAttributeName("workdayFriday");
         workdayFridayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_FRIDAY");
         descriptor.addMapping(workdayFridayMapping);
         DirectToFieldMapping workdayMondayMapping = new DirectToFieldMapping();
         workdayMondayMapping.setAttributeName("workdayMonday");
         workdayMondayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_MONDAY");
         descriptor.addMapping(workdayMondayMapping);
         DirectToFieldMapping workdaySaturdayMapping = new DirectToFieldMapping();
         workdaySaturdayMapping.setAttributeName("workdaySaturday");
         workdaySaturdayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_SATURDAY");
         descriptor.addMapping(workdaySaturdayMapping);
         DirectToFieldMapping workdaySundayMapping = new DirectToFieldMapping();
         workdaySundayMapping.setAttributeName("workdaySunday");
         workdaySundayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_SUNDAY");
         descriptor.addMapping(workdaySundayMapping);
         DirectToFieldMapping workdayThursdayMapping = new DirectToFieldMapping();
         workdayThursdayMapping.setAttributeName("workdayThursday");
         workdayThursdayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_THURSDAY");
         descriptor.addMapping(workdayThursdayMapping);
         DirectToFieldMapping workdayTuesdayMapping = new DirectToFieldMapping();
         workdayTuesdayMapping.setAttributeName("workdayTuesday");
         workdayTuesdayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_TUESDAY");
         descriptor.addMapping(workdayTuesdayMapping);
         DirectToFieldMapping workdayWednesdayMapping = new DirectToFieldMapping();
         workdayWednesdayMapping.setAttributeName("workdayWednesday");
         workdayWednesdayMapping.setFieldName("WORKSPACE_CONFIG.WORKDAY_WEDNESDAY");
         descriptor.addMapping(workdayWednesdayMapping);
         DirectToFieldMapping workspaceOIDMapping = new DirectToFieldMapping();
         workspaceOIDMapping.setAttributeName("workspaceOID");
         workspaceOIDMapping.setFieldName("WORKSPACE_CONFIG.WORKSPACE_OID");
         descriptor.addMapping(workspaceOIDMapping);
         OneToOneMapping defectEnvironmentRatingSchemeMapping = new OneToOneMapping();
         defectEnvironmentRatingSchemeMapping.setAttributeName("defectEnvironmentRatingScheme");
         defectEnvironmentRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         defectEnvironmentRatingSchemeMapping.useBasicIndirection();
         defectEnvironmentRatingSchemeMapping.privateOwnedRelationship();
         defectEnvironmentRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DEFECT_ENV_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(defectEnvironmentRatingSchemeMapping);
         OneToOneMapping defectPriorityRatingSchemeMapping = new OneToOneMapping();
         defectPriorityRatingSchemeMapping.setAttributeName("defectPriorityRatingScheme");
         defectPriorityRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         defectPriorityRatingSchemeMapping.useBasicIndirection();
         defectPriorityRatingSchemeMapping.privateOwnedRelationship();
         defectPriorityRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DEFECT_PRIORITY_RSCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(defectPriorityRatingSchemeMapping);
         OneToOneMapping defectResolutionRatingSchemeMapping = new OneToOneMapping();
         defectResolutionRatingSchemeMapping.setAttributeName("defectResolutionRatingScheme");
         defectResolutionRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         defectResolutionRatingSchemeMapping.useBasicIndirection();
         defectResolutionRatingSchemeMapping.privateOwnedRelationship();
         defectResolutionRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DEFECT_RES_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(defectResolutionRatingSchemeMapping);
         OneToOneMapping defectSeverityRatingSchemeMapping = new OneToOneMapping();
         defectSeverityRatingSchemeMapping.setAttributeName("defectSeverityRatingScheme");
         defectSeverityRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         defectSeverityRatingSchemeMapping.useBasicIndirection();
         defectSeverityRatingSchemeMapping.privateOwnedRelationship();
         defectSeverityRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DEFECT_SEVERITY_RSCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(defectSeverityRatingSchemeMapping);
         OneToOneMapping defectStateRatingSchemeMapping = new OneToOneMapping();
         defectStateRatingSchemeMapping.setAttributeName("defectStateRatingScheme");
         defectStateRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         defectStateRatingSchemeMapping.useBasicIndirection();
         defectStateRatingSchemeMapping.privateOwnedRelationship();
         defectStateRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DEFECT_STATE_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(defectStateRatingSchemeMapping);
         OneToOneMapping difficultyRatingSchemeMapping = new OneToOneMapping();
         difficultyRatingSchemeMapping.setAttributeName("difficultyRatingScheme");
         difficultyRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         difficultyRatingSchemeMapping.useBasicIndirection();
         difficultyRatingSchemeMapping.privateOwnedRelationship();
         difficultyRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.DIFFICULTY_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(difficultyRatingSchemeMapping);
         OneToOneMapping frequencyRatingSchemeMapping = new OneToOneMapping();
         frequencyRatingSchemeMapping.setAttributeName("frequencyRatingScheme");
         frequencyRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         frequencyRatingSchemeMapping.useBasicIndirection();
         frequencyRatingSchemeMapping.privateOwnedRelationship();
         frequencyRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.FREQUENCY_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(frequencyRatingSchemeMapping);
         OneToOneMapping priorityRatingSchemeMapping = new OneToOneMapping();
         priorityRatingSchemeMapping.setAttributeName("priorityRatingScheme");
         priorityRatingSchemeMapping.setReferenceClass(com.f4tech.slm.domain.RatingScheme.class);
         priorityRatingSchemeMapping.useBasicIndirection();
         priorityRatingSchemeMapping.privateOwnedRelationship();
         priorityRatingSchemeMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.PRIORITY_RATING_SCHEME_OID", "RATING_SCHEME.OID");
         descriptor.addMapping(priorityRatingSchemeMapping);
         OneToOneMapping storyCardStateModelMapping = new OneToOneMapping();
         storyCardStateModelMapping.setAttributeName("storyCardStateModel");
         storyCardStateModelMapping.setReferenceClass(com.f4tech.slm.domain.StateModel.class);
         storyCardStateModelMapping.useBasicIndirection();
         storyCardStateModelMapping.privateOwnedRelationship();
         storyCardStateModelMapping.addForeignKeyFieldName("WORKSPACE_CONFIG.SC_STATEMODEL_OID", "STATEMODEL.OID");
         descriptor.addMapping(storyCardStateModelMapping);
         OneToOneMapping workspaceMapping = new OneToOneMapping();
         workspaceMapping.setAttributeName("workspace");
         workspaceMapping.setReferenceClass(com.f4tech.slm.domain.Workspace.class);
         workspaceMapping.setRelationshipPartnerAttributeName("configuration");
         workspaceMapping.dontUseIndirection();
         workspaceMapping.addTargetForeignKeyFieldName("WORKSPACE.CONFIGURATION_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(workspaceMapping);
         OneToManyMapping capabilitySchemesMapping = new OneToManyMapping();
         capabilitySchemesMapping.setAttributeName("capabilitySchemes");
         capabilitySchemesMapping.setReferenceClass(com.f4tech.slm.domain.WorkspaceCapabilityScheme.class);
         capabilitySchemesMapping.useBasicIndirection();
         capabilitySchemesMapping.privateOwnedRelationship();
         capabilitySchemesMapping.useCollectionClass(java.util.ArrayList.class);
         capabilitySchemesMapping.addTargetForeignKeyFieldName("WKSP_CAP_SCHEME.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(capabilitySchemesMapping);
         OneToManyMapping categoriesMapping = new OneToManyMapping();
         categoriesMapping.setAttributeName("categories");
         categoriesMapping.setReferenceClass(com.f4tech.slm.domain.Category.class);
         categoriesMapping.useBasicIndirection();
         categoriesMapping.privateOwnedRelationship();
         categoriesMapping.useCollectionClass(java.util.ArrayList.class);
         categoriesMapping.addAscendingOrdering("name");
         categoriesMapping.addTargetForeignKeyFieldName("CATEGORY.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(categoriesMapping);
         OneToManyMapping systemTypesMapping = new OneToManyMapping();
         systemTypesMapping.setAttributeName("systemTypes");
         systemTypesMapping.setReferenceClass(com.f4tech.slm.domain.SystemType.class);
         systemTypesMapping.useBasicIndirection();
         systemTypesMapping.privateOwnedRelationship();
         systemTypesMapping.useCollectionClass(java.util.HashSet.class);
         systemTypesMapping.addAscendingOrdering("oid");
         systemTypesMapping.addTargetForeignKeyFieldName("SYSTEM_TYPE.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(systemTypesMapping);
         OneToManyMapping testCaseTypesMapping = new OneToManyMapping();
         testCaseTypesMapping.setAttributeName("testCaseTypes");
         testCaseTypesMapping.setReferenceClass(com.f4tech.slm.domain.TestCaseType.class);
         testCaseTypesMapping.useBasicIndirection();
         testCaseTypesMapping.privateOwnedRelationship();
         testCaseTypesMapping.useCollectionClass(java.util.HashSet.class);
         testCaseTypesMapping.addAscendingOrdering("oid");
         testCaseTypesMapping.addTargetForeignKeyFieldName("TESTCASE_TYPE.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(testCaseTypesMapping);
         OneToManyMapping testCaseVerdictsMapping = new OneToManyMapping();
         testCaseVerdictsMapping.setAttributeName("testCaseVerdicts");
         testCaseVerdictsMapping.setReferenceClass(com.f4tech.slm.domain.TestCaseVerdict.class);
         testCaseVerdictsMapping.useBasicIndirection();
         testCaseVerdictsMapping.privateOwnedRelationship();
         testCaseVerdictsMapping.useCollectionClass(java.util.HashSet.class);
         testCaseVerdictsMapping.addAscendingOrdering("name");
         testCaseVerdictsMapping.addTargetForeignKeyFieldName("TESTCASE_VERDICT.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(testCaseVerdictsMapping);
         OneToManyMapping viewsMapping = new OneToManyMapping();
         viewsMapping.setAttributeName("views");
         viewsMapping.setReferenceClass(com.f4tech.slm.domain.tps.TPSReportView.class);
         viewsMapping.useBasicIndirection();
         viewsMapping.addAscendingOrdering("oid");
         viewsMapping.addTargetForeignKeyFieldName("TPS_REPORT_VIEW.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(viewsMapping);
         return descriptor;
    public ClassDescriptor buildTestCaseTypeDescriptor() {
         RelationalDescriptor descriptor = new RelationalDescriptor();
         descriptor.setJavaClass(com.f4tech.slm.domain.TestCaseType.class);
         descriptor.addTableName("TESTCASE_TYPE");
         descriptor.addPrimaryKeyFieldName("TESTCASE_TYPE.OID");
         // Descriptor Properties.
         descriptor.useSoftCacheWeakIdentityMap();
         descriptor.setIdentityMapSize(100);
         descriptor.useRemoteSoftCacheWeakIdentityMap();
         descriptor.setRemoteIdentityMapSize(100);
         VersionLockingPolicy lockingPolicy = new VersionLockingPolicy();
         lockingPolicy.setWriteLockFieldName("TESTCASE_TYPE.VERSION");
         lockingPolicy.storeInObject();
         descriptor.setOptimisticLockingPolicy(lockingPolicy);
         descriptor.setAlias("TestCaseType");
         descriptor.useMethodInstantiationPolicy("basicNewTestCaseType");
         // Query Manager.
         descriptor.getQueryManager().checkCacheForDoesExist();
         // Event Manager.
         // Mappings.
         DirectToFieldMapping creationDateMapping = new DirectToFieldMapping();
         creationDateMapping.setAttributeName("creationDate");
         creationDateMapping.setFieldName("TESTCASE_TYPE.CREATION_DATE");
         descriptor.addMapping(creationDateMapping);
         DirectToFieldMapping nameMapping = new DirectToFieldMapping();
         nameMapping.setAttributeName("name");
         nameMapping.setFieldName("TESTCASE_TYPE.NAME");
         descriptor.addMapping(nameMapping);
         DirectToFieldMapping oidMapping = new DirectToFieldMapping();
         oidMapping.setAttributeName("oid");
         oidMapping.setFieldName("TESTCASE_TYPE.OID");
         descriptor.addMapping(oidMapping);
         DirectToFieldMapping subscriptionIDMapping = new DirectToFieldMapping();
         subscriptionIDMapping.setAttributeName("subscriptionID");
         subscriptionIDMapping.setFieldName("TESTCASE_TYPE.SUBSCRIPTION_ID");
         descriptor.addMapping(subscriptionIDMapping);
         DirectToFieldMapping versionMapping = new DirectToFieldMapping();
         versionMapping.setAttributeName("version");
         versionMapping.setFieldName("TESTCASE_TYPE.VERSION");
         descriptor.addMapping(versionMapping);
         DirectToFieldMapping workspaceOIDMapping = new DirectToFieldMapping();
         workspaceOIDMapping.setAttributeName("workspaceOID");
         workspaceOIDMapping.setFieldName("TESTCASE_TYPE.WORKSPACE_OID");
         descriptor.addMapping(workspaceOIDMapping);
         OneToOneMapping workspaceConfigMapping = new OneToOneMapping();
         workspaceConfigMapping.setAttributeName("workspaceConfig");
         workspaceConfigMapping.setReferenceClass(com.f4tech.slm.domain.WorkspaceConfiguration.class);
         workspaceConfigMapping.dontUseIndirection();
         workspaceConfigMapping.addForeignKeyFieldName("TESTCASE_TYPE.WORKSPACE_CONFIG_OID", "WORKSPACE_CONFIG.OID");
         descriptor.addMapping(workspaceConfigMapping);
         return descriptor;
    }

  • Problem with cascade delete and remove bean

    I am working with two entity beans that map to two tables that have a foreign key relationship. Table B has a foreign key to A and in the database that foreign key is set for cascaded updates and cascaded deletes.
    The problem occurs when the the sytem first tries to remove bean 1 (mapped to table A) and then remove bean 2 (mapped to B) where bean 2 is associated with bean 1 with a foreign key relationship. The first remove works but then when it tries to remove bean 2 it throws a very ugly "CORBA TRANSACTION_ROLLEDBACK 9998" Maybe exception. My guess is that the reason is because bean 2's reocrd in the database was deleted when bean 1 was removed but the 'bean object' was not removed from the container.
    When I go into our Application Server and look at how it see's the tables, it show the wrong relationship. It shows a restrict delete and a restrict update realationship.
    My question is, am I wrong to think that this is a application server problem or a configuration problem? It seems to me that attempting to remove a non-existant record should not cause an error. It won't cause any SQL exceptions. Is this a flawed viewpoint? As a work around I made sure that the dependent records are deleted first but it kind of defeats the point of cascaded deletes.
    We have a limited number of support calls, should I use one or am I at fault here?

    If the database removes the record from the second
    table, why is the system trying to remove it once
    again? You should try to remove an entity from a
    single place, should it be the database or the
    application. Don't try to remove it twice.
    Regards,
    DimitarI could do this but it is a huge pain in my ass. The problem is that you might want to remove the dependent bean without removing it's parent. The object structure is a little questionable, I'll admit that. It is, as they say, the eleventh hour and I can't really change that now.
    The way this work is that the server gets a list of objects marked either as new, modified, or deleted. It then relates those changes back to the database.
    In this case we have two lists(which makes me realize where the class structure sucks.) In order to do what you suggest I would have to get all the deleted parent objects and then search all the deleted child objects for ones that have the parent's key in them.
    It would be prefferable to fix the class structure but again this is not an option.
    Anyone want to answer the question I asked?

  • My macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now t wont open because of the update. Any ideas on how to update it or get safari back? it got deleted :/

    my macbook's safari wont open. At first it got deleted and so i got it back by bluetooth and now it wont open because of the version of mac OS X update. Any ideas on how to update it or get safari on my mac? It got completly deleted i checked everywhere including applications but its gone. it got deleted :/

    Here it is : Safari 5.0.6 for Leopard

  • How do I delete an old Apple ID and still update apps purchased when I was using it?

    How do I delete an old Apple ID and still update apps purchased when I was using it?

    One, you cannot delete an Apple ID, all you can do is stop using it and let it fade away.
    Two, apps are permanently tied to an aPple ID and can never be transferred to another.  You must use that same ID to update an app, or delete the app and repurchase/download under another ID.

  • How do I delete and Apple ID ? I had a friend transfer all my stuff from his computer and I go to update or download apps his ID pops up and asks for his password instead of mine! Ugh so frustrated right now

    How do I delete and Apple ID ? I had a friend transfer all my stuff from one phone to another using his computer.  I can't  update or download apps, his ID pops up and asks for his password instead of mine! Ugh so frustrated right now!

    You can't delete an Apple ID. Furthermore, everything you transferred is tied permanently to your friend's Apple ID. You do not legally own that software. If you want that software for yourself, then you need to purchase it using your Apple ID.

  • My battery life decreased dramatically after updating to ios 6.1.2.  How do I delete and go back to previous iso?

    I have iphone 5; my battery life decreased dramatically after updating to ios 6.1.2.  How do I delete and go back to previous iso?

    Downgrading the iOS isn't supported and wouldn't help even if you could.   There have been reports of decreased battery life after every update since iOS 1.0.1. 
    There are lots of things that can be done including reinstalling push email accounts. basic phone reset (pressing both home and power buttons for at least 10 seconds until the Apple logo appears), and restoring the phone with and without a backup.

  • HELP!  I tunes wouldn't update so I tried to delete and reinstall.  I keep getting a message stating the installation source for this product is not available.  Verify that the source exists and that you can access it.  please help!!

    Help!  Itunes wouldn't update so I tried to delet and reinstall.  I keep getting a message: The instillation source for this product is not available.  Verify that the source exists and that you can access it.  I also get this message:  The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes64.msi' in the box below.  Help I have no idea what that means or how to fix it. 

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page). Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT201320 This last week, I updated my iPhone with iOS6 and now my Yahoo Mail no longer works.  I've deleted and restored the account without fixing the problem.  The iOS update did not effect my iPad.  Anyone have a suggestion?

    This last week (of 17 Sep 12) I updated my iPhone 4 to iOS 6 and now my Yahoo mail does not work.  I keep getting a "Yahoo server busy" message.  This problem has not effected the update to my iPad 3 - it works fine.  In addition, I have deleted and added my Yahoo mail - same result.  Looking for ideas on repairing the link between iOS 6 and Yahoo.  Cheers

    Same here, albeit with a 3G and both a work Exchange account and personal Gmail are out of action.  Reentered my password on the Gmail to no avail.
    Unfortunately it seems that increased success has come too fast to Apple, it's starting to display Microsoft-like behaviors, e.g., releasing stuff and letting the customers serve as the beta / guinea pigs.

  • When will there be fix for AirPrint in Yosemite? I cannot use my HP printer. I have uninstalled/resinstalled everything you can think of. I have deleted and added my printer more time than I can count. I have checked for updates. Nothing has worked.

    When will there be fix for AirPrint? Since upgrading to Yosemite I cannot print from my MacBook Air which I use mostly. (I can print from the my old 2005 G5 desktop and iPad2 just fine on the same network.) I could print just fine when I had Mavericks. I have tried EVERYTHING under the sun: resetting print system, deleting and adding the printer, checking for updates, uninstalling and reinstalling printer software and folders, turning off modem, router etc. NOTHING works.
    The laptop shows that it is printing but nothing happens. Then it says it cannot locate the printer or there is a broken pipe. But it does tell me that I have a low level in one of the ink cartridges (which is true.)
    Help! I have warned everyone I know not to upgrade. Is there a way to go back to Mavericks?
    MacBook Air (mid 2012), OS 10.10,  HP Officejet 7500a

    This is what appeared on Console:
    11/12/14 12:42:32.558 PM com.apple.preference.printfax.remoteservice[3099]: <NSViewServiceMarshal: 0x7fa398514bd0> failed to complete rights grant 6B212CA9-7872-4726-BA05-68BD5C994479 due to 3
    timestamp: 12:42:32.557 Wednesday 12 November 2014
    process/thread/queue: com.apple.preference.printfax.remoteservice (3099) / 0x7fff78cb4300 / com.apple.main-thread
    code: line 834 of /SourceCache/ViewBridge/ViewBridge-99/NSViewServiceMarshal.m in -[NSViewServiceMarshal invalidateWindowRights]
    #exceptions
    11/12/14 12:42:32.598 PM com.apple.xpc.launchd[1]: (com.apple.preference.printfax.remoteservice[3099]) Service exited due to signal: Killed: 9
    11/12/14 12:42:37.845 PM com.apple.appkit.xpc.openAndSavePanelService[3298]: assertion failed: 14A389: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
    11/12/14 12:42:37.879 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/CONM 136 - Study Guide Test 3 (2014).docx
    11/12/14 12:42:37.971 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
    11/12/14 12:42:38.033 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
    11/12/14 12:42:39.712 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
    11/12/14 12:42:39.000 PM kernel[0]: Sandbox: Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
    11/12/14 12:42:39.748 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
    11/12/14 12:42:39.850 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/12%20angry%20men.docx
    11/12/14 12:42:39.874 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
    11/12/14 12:42:39.945 PM sandboxd[246]: ([3295]) Pages(3295) deny file-read-data /Users/Mom/Downloads/Quiz%20#2.docx
    11/12/14 12:42:41.000 PM kernel[0]: Sandbox: storeuid(3051) deny mach-lookup com.apple.dock.server
    11/12/14 12:42:48.968 PM WindowServer[132]: WSGetSurfaceInWindow : Invalid surface 702894100 for window 1378
    11/12/14 12:42:48.968 PM WindowServer[132]: WSGetSurfaceInWindow : Invalid surface 702894100 for window 1378
    11/12/14 12:43:17.000 PM kernel[0]: Sandbox: storeuid(3051) deny mach-lookup com.apple.dock.server
    11/12/14 12:43:23.225 PM com.apple.xpc.launchd[1]: (com.apple.quicklook[3316]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
    11/12/14 12:43:24.355 PM WindowServer[132]: disable_update_timeout: UI updates were forcibly disabled by application "PrinterProxy" for over 1.00 seconds. Server has re-enabled them.
    11/12/14 12:43:24.946 PM WindowServer[132]: common_reenable_update: UI updates were finally reenabled by application "PrinterProxy" after 1.59 seconds (server forcibly re-enabled them after 1.00 seconds)
    11/12/14 12:43:34.503 PM mdworker[3319]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
    11/12/14 12:43:34.514 PM mdworker[3320]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
    11/12/14 12:43:34.604 PM mdworker[3318]: code validation failed in the process of getting signing information: Error Domain=NSOSStatusErrorDomain Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
    11/12/14 12:44:38.628 PM sandboxd[246]: ([3051]) storeuid(3051) deny mach-lookup com.apple.dock.server
    11/12/14 12:44:41.384 PM locationd[63]: Location icon should now be in state 'Active'
    11/12/14 12:44:44.653 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
    11/12/14 12:44:44.793 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
    11/12/14 12:44:45.149 PM sandboxd[246]: ([375]) com.apple.metada(375) deny mach-lookup com.apple.cfnetwork.cfnetworkagent
    11/12/14 12:44:56.515 PM Console[3327]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
    11/12/14 12:44:56.641 PM locationd[63]: Location icon should now be in state 'Inactive'
    11/12/14 12:44:56.834 PM sandboxd[246]: ([3051]) storeuid(3051) deny mach-lookup com.apple.dock.server
    Not sure what any of this means.

  • App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1   Tx iPad 2, iOS 5.0.1, iBooks 2.1

    App store tried to update iBooks app. I can only see Newstand app on my screen and cannot get to bookstore. How can I delete and download the iBooks app again. iBook still appears in the settings menu as version 2.1
    Tx
    iPad 2, iOS 5.0.1, iBooks 2.1

    Hi,
    the settings are gone, i guess. But even worse, I cannot get the iPad2 to play Full HD thru the Apple digital AV adaptor using apps that support  (and advertise this), like AVPlayer HD. This definiteley used to work before one of the last iOS upgrades. (I am now at 5.1.1).

  • How can I delete apps from the app store? There seems to be every app I have ever downloaded and deleted since I got my phone in 2007. When I go to app store and select update apps there's a menu at the top that says purchased! I would like to delete hist

    How can I delete apps from the app store? There seems to be every app I have ever downloaded and deleted since I got my phone in 2007. When I go to app store and select update apps there's a menu at the top that says purchased and when I select it it shows every app I've ever had! I would like to delete the history please.
    Many thanks

    You cannot.
    The entire point of this is that you can redownload any and all of your past purchases.

  • Updated to 10.6.7 but no app store. Deleted and reinstall itunes, still nothing. What can I do?

    I have a Mac Book Pro and recently updated to 10.6.7. I had an issue with my app store loading so I deleted and reinstalled using itunes, thinking reinstalling itunes would help, but nothing, no app store that is.
    What can I do?

    figured it out...i was downloading 10.6.6 update; should have been downloading 10.6.7

Maybe you are looking for

  • Apple TV update is asking me to connect via USB cord that I don't have. How can I bypass this to access my shows?

    I have downloaded the recent apple tv update however it is now asking me to connect to iTunes via USB. I don't have this cord and have never connected to iTunes this way before. Only even via wifi. Does anyone know how I can bypass this

  • FM for changing vendor Tax information

    Hello, is there any FM for changing vendor Tax information? Thanks, Moshe

  • Special Characters in the payload

    Hi, We are receiving Payload from Source Service Provider with some special characters “ and â€? as shown below: “Maintenance Documentation      Libraryâ€? under “Transformer Bushings Surveyâ€? Those Special Characters are actually double quote

  • Iphoto library after Yosemite install won't upgrade

    I have a MacBook 13 in from late 2009 w/ 2.26 GHz Intel Core Duo and 2 GB 1067 MHz DDR3.  I have 105 GB free and 88 GB iphoto library. I upgraded to Yosemite and when I open iPhoto it says that the library needs to be upgraded.  When I choose upgrade

  • T1000 vs Intel any ideas?

    So I got my T1000 (Cool threads) in and I was all giddy! Especially that we are an all MS shop with Intel. How I got to this point... We have a "web service" (XML over HTTP POST) running as an ISAPI DLL on IIS. As a customer requirement we have to cr