Issues updating with Unit of Work

Hello,
I think, I might be missing a point about toplink. I know that when I need to update an Object, i find the current object in cache(ReadObject) and then register that object to get a cloned object and do updates on the cloned object and then commit it.
Everything works fine in above scenario, IF AND ONLY IF, I set the attributes of the cloned object individually. But the update doesn't work if I set the cloned object to a totally different object (clonedObj = otherObj) Here otherObj has changed attributes which i want to be updated. Toplink somehow doesn't like it.
How do i do it?
Sample working code:
public void mergeData(Object obj, Class c){
try{
ReadObjectQuery query = ReadObjectQuery(obj);
// get the object with the primary key as the one passed in
Object persistableObject = session.executeQuery(query);
Object objectClone = tx.register(persistableObject);
//It is a User object
((User)objectClone).setName("New Neeraj");
tx.commit();
Sample NOT working code
public void mergeData(Object obj, Class c){
try{
ReadObjectQuery query = ReadObjectQuery(obj);
// get the object with the primary key as the one passed in
Object persistableObject = session.executeQuery(query);
Object objectClone = tx.register(persistableObject);
objectClone = obj //passed in object
tx.commit();
Is it becuase of the ReadObjectQuery using the same object as used to set up the cloned object?
Thanks in advance for the help.
Regards,
Neeraj

Don,
This is what the documentation says related to mergeClone:
"Merge the attributes of the clone into the unit of work copy. This can be used for objects that are returned from the client through RMI serialization (or another serialization mechanism), because the RMI object will be a clone this will merge its attributes correctly to preserve object identity within the unit of work and record its changes. The object and its private owned parts are merged."
What is the significance RMI and serialization in this.
I tries mergeClone locally (using the UOW) and it works fine, but just want to make sure that I understand what the documentation says.
Also, if you will be kind enough to explain the difference between mergeClone and mergeCloneWithReferences.
Thanks,
Neeraj

Similar Messages

  • Document update with DocumentDefinition not working

    Hi
    I would like to be able to update a PublicObject with new attributes and also reset the class name to which the object belongs.
    I have written a small test program (see below) which compiles fine and, according to the APIs should work updating a PublicObject.
    (Note that I haven't included the lines where I create a LibraryService and librarySession, but I am doing all that in an earlier part of the code. As input parameters (apart from username and pasword to start the session) I am supplying a path and filename for an existing document in IFS for which I want to do the update.)
    Here is the code (note everything below is between try {  } catch { } statements but this is not shown here):
    // First I set the Folder Object to the location the PublicObject resides in, then cast a Document Object from the existing file, where m_session is my librarysession.
    FolderPathResolver fpr = new FolderPathResolver(m_session);
    fpr.setRelativePath(destinationpath);
    Folder f = fpr.getCurrentDirectory();
    Document currentDoc = (Document) f.findPublicObjectByPath(filename);
    // Now I am creating a DocumentDefinition, set the class and an attribute and try to update the document with these new values. The class METADATA exists and is a subclass of DOCUMENT.
    String description = "This is a new description";
    DocumentDefinition newDocDef = new DocumentDefinition(m_session);
    newDocDef.setClassname("METADATA");
    newDocDef.setAttribute("DESCRIPTION",AttributeValue.newAttributeValue(description));
    currentDoc.update(newDocDef);
    When I run this, nothing happens, i.e. the file in question retains its old class association and the description is not changed.
    It would be greatly appreciated if someone could help and point out what is wrong with my code as having the ability to update documents is central to what we want to do.
    Thanks very much.
    Hugo

    I had the same problem and solved it by doing this 2 stepa:
    1. Run report CRMOST_CREATE_PACKAGE, because after upgrade, package $WS_BOL_GEN is missing.
    2. Run report CRMOST_GENERATION to generate webservice again.
    Regards.

  • Registered objects with Unit of work

    Hi,
    I am using the following code for persisting some data to the database. I register the following objects with the UOW obtained. If there is any exception with the business rules method(shown below) , the code uow.commit() is never invoked.
    My question here is what happens the registered objects in that uow if commit is never invoked.
    Any help will be appreciated.
    Thanks
    Priya
    node=(DeviceNode) uow.registerObject(node);
    station=(Station)uow.registerObject(station);
    user=(User)uow.registerObject(user);
    //Call a method to do some businees rules check
    startWork(node,station,user);
    uow.commit;

    It depends on how you set things up. If you are managing the connection directly via Toplink (no pooling or containers or transactions), then if you dont commit, it doesnt save. If you are using JTS, registering the object will save it to the database barring any unchecked exceptions.
    Zev.

  • Unit of work exception

    I am doing an update all query and some inserts through the same unit of work. When trying to commit, toplink throws exception with the error message
    "Update all query not be issued within a unit of work containing other write operations".
    What is the workaround? I don't want to read all the objects I am bulk updating through update all query. Will a nested unit of work help?
    Pranab

    I believe this issue has been fixed, what version are you using?
    Perhaps try the latest release (EclipseLink 1.0 / TopLink 11g).
    Otherwise you could execute the query in a separate UnitOfWork.
    James : http://www.eclipselink.org

  • After updating with iTunes 12.1 for Windows 8.1, when I restarted my computer, my headphones no longer work. According to my computer they do. Is this an iTunes issue?

    After updating with iTunes 12.1 for Windows 8.1, when I restarted my computer, my headphones no longer work. According to my computer they do. Is this an iTunes issue? I did the audio troubleshooting and it says everything is fine. I have a Toshiba Satellite L75D-A7280.

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

  • [svn:osmf:] 14261: Updated DRM unit tests to work with code review feedback .

    Revision: 14261
    Revision: 14261
    Author:   [email protected]
    Date:     2010-02-18 14:15:23 -0800 (Thu, 18 Feb 2010)
    Log Message:
    Updated DRM unit tests to work with code review feedback.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestParallelElementWithDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestSerialElementWithDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/traits/TestDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicDRMTrait.as

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • HT4628 I did the security update on 4-2-13 and now my airport card will not turn on. OS 10.6.8 Intel imac 4,1 core duo. My macbook pro did not have this issue and wifi here is working on that. Is there a setting that was changed? Thank you!

    Airport card will not turn on after security update yesterday. worked normally (for the download of the update) until then. Wifi here works fine with my Macbook Pro right now so the issue is with the card / computer / software not the provider. Did the update change something?
    OS 10.6.8 imac core duo.  The indicator is on the tool bar but is empty.

    Airport card will not turn on after security update yesterday. worked normally (for the download of the update) until then. Wifi here works fine with my Macbook Pro right now so the issue is with the card / computer / software not the provider. Did the update change something?
    OS 10.6.8 imac core duo.  The indicator is on the tool bar but is empty.

  • HT201401 4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out l

    4s with latest software update will not power off, text will only vibrate, iPod only works with earphones. When I sync it with iTunes it works until power save mode starts, then back to not powering down, making text sounds, or playing iPod out loud.

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Unit Of work upgrade issue 9.0.3- 10.1.4

    Hi,
    I recently upgraded from Toplink 9.0.3 to Toplink 10.1.3. I changed nothing in my code except the deployment java descriptor to use the new classes implemented instead of the deprecated classes. I also used the new TypeConversions for my CLOBs and BLOBs. Everything worked fine in my unit tests but then once I'd deployed the application into production my users kept on getting an irregular error. I can't reproduce the error myself as its so irregular. I have tracked it down to when my users enter a clob/blob of data into the database. The strange thing is that I close the unit of work and even test if its still active and I get false as an answer but somehow when I execute on the session it uses the UnitOfWork which has expired for some reason. I have checked my code and can't find anything that is changed.
    All my code basically always checks whether a UOW is active and if it is not it uses the session to execute the query. Here is a java code extract:
    if ( isTxActive() ) {
    objectResults = uow.readAllObjects(Class.forName(objectType), expression);
    objectResults = uow.registerAllObjects(objectResults);
    } else
    objectResults = session.readAllObjects(Class.forName(objectType), expression);
    I use the following setup:
    - Oracle 9i database
    - JDK 1.5
    - Oracle JDBC Thin Driver version - 10.1.0.2.0
    I have tried the following:
    - Specified my OraclePlatform i.e. Oracle9Platform
    - Tried playing around with the SQL String binding
    - Double checked my type conversions
    Below is my logfile output and also my login parameters and extract of one of my descriptors.
    Any help would be appreciated.
    I was wondering if there is a timeout on the UnitOfWork or if its multi-threaded hence my application doesn't wait for my CLOB to finish being written?
    Thanks in advance,
    Paula
    2006-05-24 11:32:05,870 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,871 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,871 (toplink) DEBUG - DatabaseAccessor(connected)--INSERT INTO chebi.AUTOGEN_STRUCTURES (ID, STRUCTURE_ID) VALUES (12599, 19211)
    2006-05-24 11:32:05,874 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,875 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,875 (toplink) DEBUG - DatabaseAccessor(connected)--INSERT INTO chebi.DEFAULT_STRUCTURES (ID, STRUCTURE_ID) VALUES (6968, 19213)
    2006-05-24 11:32:05,885 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,886 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,886 (toplink) DEBUG - DatabaseAccessor(connected)--INSERT INTO chebi.IMAGE_PRECOMPUTES (ID, FORMAT, IMAGE, STRUCTURE_ID) VALUES (7208, 'p
    ng', empty_blob(), 19213)
    2006-05-24 11:32:05,898 (toplink) DEBUG - DatabaseAccessor(connected)--SELECT IMAGE FROM chebi.IMAGE_PRECOMPUTES WHERE (ID = 7208) FOR UPDATE
    2006-05-24 11:32:05,905 (toplink) DEBUG - write_BLOB
    2006-05-24 11:32:05,905 (toplink) DEBUG - DatabaseAccessor(connected)--commit_transaction
    2006-05-24 11:32:05,915 (toplink) DEBUG - end_unit_of_work_commit
    2006-05-24 11:32:05,915 (toplink) DEBUG - release_unit_of_work
    2006-05-24 11:32:05,915 (controller.DatabaseAction) DEBUG - ModifyStructureAction_postprocess: empty method
    2006-05-24 11:32:05,915 (controller.DatabaseAction) DEBUG - ModifyStructureAction_findSuccess: start method
    2006-05-24 11:32:05,915 (controller.DatabaseAction) DEBUG - ModifyStructureAction_findSuccess: preparing forward ( set form | release lock | reset token )
    2006-05-24 11:32:05,915 (controller.DatabaseAction) DEBUG - ModifyStructureAction_findSuccess: forward to searchId
    2006-05-24 11:32:05,917 (toplink.ToplinkDAO) DEBUG - find(String objectType, String col, String val): start method
    2006-05-24 11:32:05,917 (toplink.ToplinkDAO) DEBUG - isTxActive: start method
    2006-05-24 11:32:05,917 (toplink.ToplinkDAO) DEBUG - isTxActive: false
    2006-05-24 11:32:05,917 (toplink) DEBUG - execute_query
    2006-05-24 11:32:05,917 (toplink) DEBUG - DatabaseAccessor(connected)--SELECT ID, SOURCE, ASCII_NAME, STATUS, CREATED_ON, DEFINITION, MODIFIED_BY, NAME, MODI
    FIED_ON, CREATED_BY, CHEBI_ACCESSION, MERGE_TYPE, PARENT_ID FROM chebi.COMPOUNDS WHERE (ID LIKE 6126)
    2006-05-24 11:32:05,980 (toplink) DEBUG - execute_query
    2006-05-24 11:32:06,046 (handlers.DefaultExceptionHandler) ERROR - Exception [TOPLINK-6027] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): ora
    cle.toplink.exceptions.QueryException
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(uk.ac.ebi.chebi.compounds.model.CompoundName)
    uk.ac.ebi.chebi.compounds.application.curator2.exceptions.BeanUtilException: Exception [TOPLINK-6027] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060
    118)): oracle.toplink.exceptions.QueryException
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(uk.ac.ebi.chebi.compounds.model.CompoundName)
    LOGIN:
    public void applyLogin () {
    DatabaseLogin login = new DatabaseLogin();
    login.usePlatform( ToplinkDeploymentHelper.getPlatform(options) );
    login.setDriverClassName(options.getDriver());
    login.setConnectionString(options.getDbUrl());
    login.setUserName(options.getDbUserName());
    login.setPassword(options.getDbPassword());
    // Configuration properties.
    // login.setUsesNativeSequencing(true);
    // login.setSequencePreallocationSize(100);
    // Replace with
    login.setDefaultSequence(new NativeSequence("", 1));
    login.setShouldBindAllParameters(false);
    login.setShouldCacheAllStatements(false);
    // String binding is used when the SQL string might be too large to
    // incorporate in the Oracle Thin driver. It will give an exception of string literal
    // too long. Hence string binding should be turned on for long strings such
    // as long names
    login.setUsesStringBinding(true);
    login.useStringBinding( );
    // This specifies for large bytes to use binding to prevent the same problem
    // above and improve performance
    login.setUsesByteArrayBinding(true);
    if ( login.shouldUseByteArrayBinding() ) { // Can only be used with binding.
    login.setUsesStreamsForBinding(false);
    login.setShouldForceFieldNamesToUpperCase(false);
    login.setShouldOptimizeDataConversion(true);
    login.setShouldTrimStrings(true);
    login.setUsesBatchWriting(false);
    if ( login.shouldUseBatchWriting() ) { // Can only be used with batch writing.
    login.setUsesJDBCBatchWriting(true);
    login.setUsesExternalConnectionPooling(false);
    login.setUsesExternalTransactionController(false);
    setLogin(login);
    ImagePrecompute descriptor:
    public ClassDescriptor buildImagePrecomputeDescriptor () {
    ClassDescriptor descriptor = new ClassDescriptor();
    descriptor.setJavaClass(uk.ac.ebi.chebi.compounds.model.ImagePrecompute.class);
    descriptor.addTableName( options.getDbSchemaName().concat(".").concat("IMAGE_PRECOMPUTES") );
    descriptor.addPrimaryKeyFieldName("IMAGE_PRECOMPUTES.ID");
    descriptor.useSoftCacheWeakIdentityMap();
    descriptor.setIdentityMapSize(50);
    descriptor.useRemoteNoIdentityMap();
    //descriptor.useRemoteSoftCacheWeakIdentityMap();
    //descriptor.setRemoteIdentityMapSize(100);
    descriptor.setSequenceNumberFieldName("IMAGE_PRECOMPUTES.ID");
    descriptor.setSequenceNumberName("image_precompute_sequence");
    descriptor.setAlias("ImagePrecomputes");
    descriptor.getQueryManager().checkCacheForDoesExist();
    DirectToFieldMapping idMapping = new DirectToFieldMapping();
    idMapping.setAttributeName("id");
    idMapping.setFieldName("IMAGE_PRECOMPUTES.ID");
    descriptor.addMapping(idMapping);
    OneToOneMapping structureMapping = new OneToOneMapping();
    structureMapping.setAttributeName("structure");
    structureMapping.setReferenceClass(uk.ac.ebi.chebi.compounds.model.Structure.class);
    structureMapping.dontUseIndirection();
    structureMapping.addForeignKeyFieldName("IMAGE_PRECOMPUTES.STRUCTURE_ID", "STRUCTURES.ID");
    descriptor.addMapping(structureMapping);
    DirectToFieldMapping imageMapping = new DirectToFieldMapping();
    imageMapping.setAttributeName("image");
    imageMapping.setFieldName("IMAGE_PRECOMPUTES.IMAGE");
    TypeConversionConverter imageMappingConverter = new TypeConversionConverter(imageMapping);
    imageMappingConverter.setObjectClass(byte[].class);
    imageMappingConverter.setDataClass(java.sql.Blob.class);
    imageMapping.setConverter(imageMappingConverter);
    descriptor.addMapping(imageMapping);
    DirectToFieldMapping formatMapping = new DirectToFieldMapping();
    formatMapping.setAttributeName("format");
    formatMapping.setFieldName("IMAGE_PRECOMPUTES.FORMAT");
    descriptor.addMapping(formatMapping);
    return descriptor;
    Message was edited by:
    pmatos

    Hi,
    Thanks for replying.
    I use log4j to log my toplink info so that I can write it to a file so that is why I have no session info. If you think it is will be useful then I will try to include it in my tool so that it can be reproduced.
    In the mean time here is the stacktrace:
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(uk.ac.ebi.chebi.compounds.model.CompoundName)
    uk.ac.ebi.chebi.compounds.application.curator2.exceptions.BeanUtilException: Exception [TOPLINK-6027] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(uk.ac.ebi.chebi.compounds.model.CompoundName)
         at uk.ac.ebi.chebi.compounds.application.curator2.controller.helper.BeanAssembler.populateCompoundBean(Unknown Source)
         at uk.ac.ebi.chebi.compounds.application.curator2.controller.search.SearchIdAction.loadCompound(Unknown Source)
         at uk.ac.ebi.chebi.compounds.application.curator2.controller.search.SearchIdAction.executeLogic(Unknown Source)
         at uk.ac.ebi.chebi.compounds.application.curator2.controller.BaseAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:316)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Exception [TOPLINK-6027] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    Exception Description: Query sent to a unactivated UnitOfWork.
    Query: ReadAllQuery(uk.ac.ebi.chebi.compounds.model.CompoundName)
         at oracle.toplink.exceptions.QueryException.querySentToInactiveUnitOfWork(QueryException.java:816)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2530)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:981)
         at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:62)
         at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:55)
         at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:61)
         at oracle.toplink.indirection.IndirectList.buildDelegate(IndirectList.java:184)
         at oracle.toplink.indirection.IndirectList.getDelegate(IndirectList.java:307)
         at oracle.toplink.indirection.IndirectList.size(IndirectList.java:632)
         at java.util.ArrayList.<init>(ArrayList.java:133)
         at uk.ac.ebi.chebi.compounds.model.Compound.getAllCompoundNameList(Unknown Source)
         at uk.ac.ebi.chebi.compounds.application.curator2.controller.helper.BeanAssembler.populateAllNames(Unknown Source)
         ... 51 more

  • I bought an iphone4s before my carrier put my sim in it i updated itunes now wont work with my sim

    I bought an iphone4s before my carrier put my sim in it i updated itunes now wont work with my sim

    Hello Aaron1658,
    It sounds like you are unable to activate your phone with the SIM provided to you by your carrier. Try these steps in the following article to help you troubleshoot what it happening, named:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/ts3424
    Symptoms
    Your iPhone may display one of the following messages when you attempt to activate it:
    "Your iPhone could not be activated because the activation server is temporarily unavailable."
    "The SIM card inserted in this iPhone does not appear to be supported"
    "The iPhone is not recognized and cannot be activated for service."
    "iTunes was unable to verify your device."
    Restart the iPhone.
    Try another means of reaching the activation server and attempt to activate.
    Try connecting to a known-good Wi-Fi network if you're unable to activate using a cellular data connection.
    Try connecting to iTunes if you're unable to activate using Wi-Fi.
    Restore the iPhone.
    If you receive an alert message when you attempt to activate your iPhone, try to place the iPhone in recovery mode and perform a restore. If you're still unable to complete the setup assistant due to an activation error, contact Apple for assistance.
    If this is not what you are referring to, would you provide some more information about what is happening? Any error messages, prompts, etc.?
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Issue in Alternative unit of measure (MARM) update using MM17

    Hi,
    I have tried to update alternative unit of measure (MARM) for some materials using MM17.
    It is working for some unit of measures (Like FT).
    But if I try to changes the unit of Measure value for PLB (Counter & Denominator) or DLB it is changing for UNC, if UNC unit of measure is not there for that material then the UNC is getting created.
    But according to MM17 functionality I think PLB values should change.
    Please check and let me, if you have any solution or any one faced the same issue.
    Thanks
    sham.

    Hi Sham,
    Your problem could be caused by wrongly assigned ISO codes to the  unit of measures involved. Most probably to these unit of measures   the same ISO code is assigned. This leads then to problems in the ALE interface of the material master, which is used too by the mass maintenance transaction MM17.
    There only the ISO-code is given  and then the System doesn't know the correct unit of measure, which     
    should be used. So it is possible, that the change is done for a  wrong unit of measure.
    Please check for this your customizing in transaction CUNI.                                                       
    Regards
    Mauro

  • PO outbound IDOC - Issue with Unit of measure

    Hi,
    I am facing issue with unit of measure.
    1) In the PO outbound idoc in segment E1EDP01, the unit is always converted into ISO code and sent. Is there any way to avoid it.
    2) Now while changing unit to ISO code, it checks if it is preset in T006 table. Now in some of the cases like Unit FT3, there are no entries in T006 table, hence IDOC is going into error. Let me know how can this be resolved. Do I need to update T006 table if yes then how can I do it.
    Thanks.
    Regards,
    Shahu

    Sorry.. Posting it in ABAP Development forum.

  • PO outbound interface - Issue with Unit of measure

    Hi,
    I am facing issue with unit of measure.
    1) In the PO outbound idoc in segment E1EDP01, the unit is always converted into ISO code and sent. Is there any way to avoid it.
    2) Now while changing unit to ISO code, it checks if it is preset in T006 table. Now in some of the cases like Unit FT3, there are no entries in T006 table, hence IDOC is going into error. Let me know how can this be resolved. Do I need to update T006 table if yes then how can I do it.
    Thanks.
    Regards,
    Shahu
    Edited by: shahuraj shirure on Mar 5, 2008 1:06 AM

    Its always that while sending Units from SAP, it needs to be sent in ISO code and SAP always receives units of measure in the ISO unit format only.

  • Muse recently updated with Yosemite Update web fonts not working

    I recently updated my OS to Yosemite at work, but not at home. a site that was using font awesome that was working/previewing/exporting/uploaded and functioning fine is now not showing font awesome icons. I didn't upload to the server because even though it previews in Muse fine, they are not shown on export. Even the template files that are the original HTML files (included with the muse template) are not showing the web fonts. I thought it was the operating system but when drop boxed to my computer at home and checked there (Mountain lion OS) It still doesn't show.
    I'm not understanding where the issue is. Any thoughts?
    Work version is 2014.2, unclear about home version- could possibly not be that update, I think I installed in November. I didn't have any problems with this file since updating to Yosemite at work. Although never went through a final HTML export so I suppose it could have been doing it for the last few weeks I have been working on this site.
    Thanks!

    From the screen shot, I expect you're on Windows and have ClearType turned on (on is the default OS setting). The top text is drawn using Adobe's technology. The bottom would be drawn with ClearType. Microsoft's ClearType technology is one of several font anti-aliasing techniques. ClearType's approach is strongly biased toward making vertical stems appear smooth and of consistent width at the expensive of having horizontal portions of text appear less smooth. If you turn off ClearType on your computer the text will be rendered differently.
    Each operating system has it's own approach to drawing text, and in fact both Windows and Mac have multiple approaches. Windows adds numerous end user controls on top of that. And each browser has the freedom to implement different rendering as well. There's nothing under the control of a website authoring tool that can cause live text to have an identical rendering when rendered by different browsers or operating systems.
    This is one of the limitations of the web medium.
    Cross browser compatibility generally refers to the large category of issues where a browser, or browser version, entirely lacks support for various features of HTML/CSS, implements those features differently from other browsers, or has bugs such that various features either don't function correctly or don't function consistently. Muse contains hundreds of pieces of code to compensate for these idiosyncracies between browsers.

  • I am having issues today with my Adobe Lightroom 5.6 today that was working fine yesterday except for te files from one of my cameras showed up on import but wouldn't download, today I'm getting the message "Lightroom cannot start because it cannot create

    I am having issues today with my Adobe Lightroom 5.6 today that was working fine yesterday except for te files from one of my cameras showed up on import but wouldn't download, today I'm getting the message "Lightroom cannot start because it cannot create files in the temporary file location  /var/folders/jv/2bct456j0yg4ys681fxk9zq00000gn/T " don't know what has happended in 24 hrs except I did check my permissions on my main directory to ensure that I had extended permissions to all the folders contained within my main drive on my IMac running OSX 10.10

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

Maybe you are looking for

  • How to enable SSL in oracle 11i

    HI 1)How to enable SSL in oracle 11i 2)How do I make an oralce 11i instance available on the internet can some one suggest the procedure and the metalink doc or forums that can be referred to for better understanding and using the applcaitons Regrads

  • Io exception: Connection reset VendorError: 17002

    When I switched from our development DB to our production DB, I now sometimes get this error when inserting a BLOB (average about 40k) using the Oracle Database 10g Release 2 (10.2.0.1.0) JDBC Drivers. Any help would be grealy appreciated! Here lies

  • Why should I use EJB

    Hi, My name is Gandharv Sirohi. I am a student, and new to EJB. I want to know why should I use EJB, before I can start learning it if every thing can be done using Java Servlets and JSP. I tried to find out the answer to this question in books but t

  • Hiding some photos

    I wonder how can I keep all of my pics in the same LR catalog while hiding certain pics -- such as "hot" pics of my girlfriend -- from a casual browser? Ideally, they'd not show up in any thumbs, details, etc. I'd need to turn a switch to work with t

  • Editing Polaroid Image Viewer

    So, not sure if this is the right section to put this in, so if not I'm sorry! Anyways, I'm currently making a polaroid image viewer working off of this tutorial: http://active.tutsplus.com/tutorials/design/create-a-nifty-polaroid-photo-viewer-with-f