Triansient view objects vs updatable views...
In the SRDEMO, they use the transient view objects to create a new request,They never used the eupdatable entity objects in create mode.Can i know the advantages of using transient views over the updatable views...
There are no real advantages. Transient view objects are one technique to save per-user pending session state that different pages need to see. The create pages could have also been implementing using a straightforward entity-based view object using the Create built-in operation. The demo did it that way since it was the closest ADF BC equivalent to the way that the parallel EJB version of the demo.
Section 13.6 "Creating an Input Form" of the ADF Developer's Guide for Forms/4GL Developers covers the Create-based way of making an input/create form.
Similar Messages
-
How do I disable linked smart-object auto-update/refresh?
Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 gigs in the bump texture layer alone), and the 3D layer has lots of lights and is very complex. This auto-refresh/update really bogs down the time that it would take me to make my changes. I have a very fast machine (I know it's fast, I dont need to list my specs), and I have all shadows disabled.
How do I disable linked smart-object auto-update/refresh?If you do not like a feature like smart objects there is nothing forcing you to use it. Use some other features to do what you want. Please don't ask Adobe to introduce bug into smart object support.
You could work on your bump maps textures in external files. When your done some time in the future you could edit your project with the smart object layer and use replace smart object. Only then will all smart filters be applied to the smart layer with the replaced smart object.
Or if by CC Auto save Layer you referring to CC Generate feature you can disable that feature.
I have no idea what your referring to when you write "CC auto-saves the layer" being a feature. I know CC Generate will write layers out as web files but that more a Web feature then a 3d feature. Where do you see your layer being saved? -
How to clear cache after mime object is updated?
Hi Expert,
I create a mime object (such as "test1.jpg") in mime repository.
In web dynpro, I add two UI elements: a formatted text edit and a File-Upload "Insert Image",
after I click the File-Upload "Insert Image",
I select an image file (such as test2.jpg) from local directory, and upload the content of the image file to mime object(test1.jpg) in mime repository.
at the same time, I insert a line into formatted-text-edit as "<img src="/SAP/Public/.../test1.jpg" />".
I double click the mime object (test1.jpg), its content has changed as test2.jpg,
however, formatted-text-edit still displays the content of test1.jpg.
When I mannually clear the cache of IE, and refresh the web, Formatted-text-edit display the content of test2.jpg.
It's obvious that the cache of http server isn't cleared.
How to clear cache after mime object is updated?
Any suggestions are welcomed.
Thank you.
Best Regards,
Derek
P.S. the source code:
lv_url = '/SAP/BC/WebDynpro/SAP/ZENHANCE_IA/test1.jpg'.
lo_mine_rep = cl_mime_repository_api=>get_api( ).
lo_mine_rep->put(
EXPORTING
i_url = lv_url
i_content = lv_file_string ).
Edited by: Derek Zhao on Sep 20, 2010 6:21 AMHi Derek,
Have you tried the method INVALIDATE_ICM_CACHE of class CL_MIME_REPOSITORY_API ?
Regards,
Anand -
Maintain object or update function group error
Hi experts,
I had searched the forums but did not find a conclusive solution so i am posting the Question.
I had created a ztable. Maintained table generator then i created a T-code for the table . But when i am executing the t-code its giving me an error message maintain object or update function group. I checked my function group but its active actually i think the screen no which i am giving in table maintainenace generatoris not getting generated.
I tried to figure it out but couldn't .
Any help would be appreciated.
Regards,
Pawan.Hi Matt ,
Thanks for your Reply
To answer your 1st Question
1. How have your created the transaction for the table?
I have created my Transaction for the table through se93. In that i selected 4 option that is transaction with parameter.
In that under transaction gave sm30.gave my viewname i.e table name and update i'e. X.
To answer your 2d Q
Tell use the error message you get in SM30 exactly
It is not a runtime error it is an error like a pop up which comes up when i go to sm30 and click on maintain.
The error is as i have mentioned earlier. -
Need authorization object to update my authorization
Dear SDN's,
When i am double click to view the data sourse it is giving message
"You have no authorization for data source "
"You require authorization for the authorization object for the data source DW workbench - data source (Release>BW 3.X) wih the filed values stated above and activity 4 "
For the above authorization issue
which authorization object is required for updating my authorization ?
Thanks and Kind Regards,
Lakshman Kumar GDear Gaurav,
Thanks for the solution.
Is there any authorization object for replicate the data source ?
Thanks and Kind Regards
Lakshman Kumar G -
"object reference not set to an instance of an object" after update datasource lightswitch
I'm using Latest Visual Studio 2013 Ultimate (2013.3) and when I attempt to open "update datasource" it throws an error
"Object reference not set to instance of an object."It's quite possibly an issue with the data source definition being dependent on a newer version of a lightswitch framework DLL. When I've hit these kinds of issues I've simply deleted the datasource, run a nuget refresh and added the datasource again.
If you have any code or queries, save a copy of the code-behind files and jot down the details of the queries before you try this. -
Smart objects not updating.
hi, i'm currently stuck with and issue that's ruining my workflow and slowing me down.
the basic job is to photograph lamps and replace the background. (see hallmarklighting.com)
i usually do so by editing the original photo and cut it out with the pen tool, ending up with several layers of adjustments and whatnot. i take those layers and insert them into a smart object of a template file i made for the background, from there it's just a matter of saving the various output files (print/web/psd).
the issue is that just recently when i save the smart object, it doesn't update, the progress bar stops at about 75%. the program doesn't freeze nor does the computer. the layers are saved in the smart object, but it won't show up in the main file, preventing me from saving out the final image. it started last week. i have discovered if i flatten the image of the smart object, it works as it should. I'd be fine with this solution if i wasn't constantly asked to rework files for advertising materials and whatnot.
if anyone has a suggestion as to what could be causing this or how to fix it please let me know.
system info:
Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
Operating System: Mac OS 10.8.5
System architecture: Intel CPU Family:6, Model:26, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 2800 MHz
Built-in memory: 10240 MB
Free memory: 7966 MB
Memory available to Photoshop: 9299 MB
Memory used by Photoshop: 90 %
Image tile size: 128K
Image cache levels: 4Is using Layer > Smart Objects > Replace Contents not an option?
Boilerplate-text:
Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.) -
Query related to Siebel Data Bean - Business Object - Account - Update
Hello,
I am using Siebel Databean to update Business object - Account fields. I am using the field names displayed in browser to update the Account properties.
But sometimes it fails with below error:-
For e.g. Field 'Account Team' -
Field 'AccountTeam' does not exist in definition for business component 'Account'.
Please ask your systems administrator to check your application configuration.(SBL-DAT-00398)
Where I can find the information related to mapping of fields in business object 'Account' which I can use in Siebel Data bean program?
Thanks in advance !!Hi!
You need to use Siebel Tools to determine the Business Component Field Mappings to the Applet Controls that you're looking at.
Regards,
Oli -
Hello,
I'm using an ODS object lookup in multiple update rotines, Is there a way to list all the update rules that uses the ODS object.
for (e.g)
I'm looking up ODS 51 in the update routines for ODS 53 and ODS 56 and also in other update rules, I want to see a list of all update rules that uses ODS 51.
Please let me know if there is a way to do this.
Thanks
KrishHello Krish,
You can find this information by looking at a combination to tables:
Lookup your ODS (tablename) in the program editor line of table RSAABAP. Then using the ABAP code id lookup the update rule id in table RSUPDROUT. For more information check out this link:
/thread/229531 [original link is broken]
Regards,
Mahwish -
Authorization Object for Update Function Module
Hi
I have a Update Function Module and that FM should be executed based on the Authorization Object .
I had created a Auth Object with Proper roled assigned to user and i also did the following
AUTHORITY-CHECK OBJECT <Obj Name>
ID 'ACTVT' FIELD '38'.
If Sy-subrc EQ 0.
<Process the following>
End IF.
But the Auth Object is not working correctly like in the ebugging eventhough my role is not assigned to this Auth Object
it is giving me sy-subrc as 0 (but in my case it must be not be zero.)
Is it anything like Auth Object wont work on Update function Module or else is there any different approach we need to follow
to acheive the functionality .
Kindly share the inputs
K.Nadesh KumarHi
The issue is resolved
K.Nadesh Kumar -
Reference object data update in Location tab page of order
Hello
When a reference object in notification/order is changed, the location and account assignment data is updated in order location data by standard settings in SAP but any changes to the master data of the existing reference object is not changed in Notification/Order location tab page.
But there is an option that when you change the data in the technical object and you need the same to be reflected in order location data for which this order has the reference object, we can use the functionality of clicking the right mouse in object list and so the data will be updated in notification/order.
Please explain how to carry out this step "of clicking the right mouse in object list and so the data will be updated in notification/order"..
I have changed the Location data/Account assignment data of techincal object in its master data and now i want that to reflect in Work order.
How to achieve this??Hi,
Keep the cursor in Equipment field & right click the mouse. You can find the option Update Reference Object Data.
Select that option, you will get updated details in the Notification / order.
Regards,
Maheswaran. -
Object that updates in multiple places in InDesign CS5?
Is there a function in Indesign which you can create a master object with any attributes... lets with say images and text... then have the ability to place it in the doc in multiple instances and be updatable from one place?
I have a larger document that I need to create in which a repeating callout box has to be inserted about 20-30 times in the doc. It may require some changes at some point, and I don't want to have to update every instance of the box every time there is a change to be made.
Some of this could be accomplished with object styles I know. But you can't attach images to object styles, can you?
I am looking for something like a master page, but for an insertable object... does this exist in InDesign?
ThanksSeems to me that being able to place linked files is the built-in function in InDesign to do this.
-
Should Parent objects be updated when adding a child?
Hi,
I have 2 objects in a one to many relationship, a parent with a collection
of child objects.
My parent object is being updated when I add child objects to it -
although nothing on the parent object has changed (except maybe the
JDOLOCKX column).
Is this meant to happen - as part of the optimistic locking? Does it try
and lock the owner of the collection when a new member is added?
Thanks in advance,
ChrisWe are planning a metadata extension to permit writing to a collection
without changing optimistic lock values for the owning class.
I don't have a good feel for the time frame of the feature yet.
-Patrick
On 5/21/02 1:06 PM, in article acduqj$e4j$[email protected], "Chris
Kimpton" <[email protected]> wrote:
Hi,
This is occuring across JVMs for me - so I have put a crude re-try
facility in place - it has a few goes at doing the work and then gives up
if that is not sufficient. Not nice, but it seems to work.
Chris
David A. King wrote:
I too have seen this behavior, which becomes frustrating when adding many
children concurrently--I receive ConcurrentModificationExceptions on the
parent, even though the parent itself did not change (except of course the
collection of children) with optimisitic locking. I have had to serialize
transactions manually to avoid the exceptions.
Thanks,
David A. King
Chris Kimpton wrote:
Hi,
I have 2 objects in a one to many relationship, a parent with a collection
of child objects.
My parent object is being updated when I add child objects to it -
although nothing on the parent object has changed (except maybe the
JDOLOCKX column).
Is this meant to happen - as part of the optimistic locking? Does it try
and lock the owner of the collection when a new member is added?
Thanks in advance,
Chris -
Flash object not updating (Captivate 6)
I'm using a flash object on one of my slides. This is a help file. The file was created in Captivate, published, and then I'm putting the flash object onto a slide. When this slide is referenced, the flash file plays. It's a few static screens with forward and back buttons. The issue is that on one of the screens, the wrong text was inserted. I fixed the text, re-published, deleted the flash object from the slide, and put the new one there instead. But when I run the project, it still shows the old version, with the wrong text. I'm not sure why this is. The source file was changed and updated. I've tried restarting the computer in case it's being help in memory, but still, it keeps showing the old version with the wrong text.
I tried adding a random button to the file, publishing, and using it again. This time, the button didn't show up, but the text updated. So I deleted it and tried the original file again. Still showing incorrect text. I opened the file, added a button, saved it, deleted the button, republished, reinserted the flash file, and now it works. So maybe there have to be changes saved for the file to update? Not really sure how it worked, just glad that it did.
-
Wrong version of an entity bean object being updated
We are having a problem with an entity bean that uses bean managed persistence. The "order" entity bean has
been used as part of our Order Routing System for the last 2 years with no problems. The entity bean is
accessed via calls from a "Order Manager" session bean. No change has been done to the entity bean but the
frequency of calls from the session bean to update the entity bean have increased significantly.
The "order" entity bean wraps an Order object that contains order properties (i.e. id, quantity, price,
version, etc). The entity bean has a "void setOrder(Order param)" function that writes the Order to a database
and a "Order getOrder()" function that clones and returns the internal Order object. The "ejbLoad()" function
reads the Order object from the database and the "ejbStore()" function is not implemented.
The "OrderEntityPK ejbFindByPrimaryKey()" function checks if the order entity primary key (an "int") exists
on the database.
We are using the SilverStream 3.5 application server as our EJB container. According to the SilverStream manual
it does not maintain a pool of idle/unused entity beans, instead it instantiates beans as requested.
Our problem is:
1) The wrong version of the entity object is sometimes being updated (i.e. an old instance of the order entity is being
picked up and updated on the database).
2) We sometimes get a TransactionRequired exception thrown when we have concurrent updates to two different
objects of the entity bean.
Any idea as to what our problem could be?
Thanks in advance for your help,
The following are the main code snippets:
Original Code
Session Bean A
Method 1 --- gets entity Bean B and calls a method on a different object passing this entity bean
in as a parameter to enable a method on this bean to be called.
EntityBean lOrderEntity = findOrderEntity(callerUnixLogin, currOrderId);
currOrder = lOrderEntity.getOrder();
//Logic to update the currOrder object via a method call.
persistManager.persistOrder(lOrderEntity, callerUnixLogin, currOrder, psTransactionType);
persistManager.persistOrder Method:
lOrderEntity.setOrder(callerUnixLogin, order);
findOrderEntity method:
OrderEntity lOrderEntity = null;
OrderEntityBeanPK orderPK = new OrderEntityBeanPK(orderId);
try
if (orderEntityHome == null)
connectToOrderEntityBean(callerUnixLogin);
lOrderEntity = orderEntityHome.findByPrimaryKey(orderPK);
... etc
Current Code
Session Bean C
Method 2 ---- calls method 1 in Session Bean A
Calls to method 2 above happens in quick succession.
OrderEntityBean class
... important methods ...
private Order order = null;
public OrderEntityBeanPK ejbFindByPrimaryKey(OrderEntityBeanPK primaryKey)
throws FinderException, RemoteException, DBOException
try
orderObjectManager.orderIdExists(primaryKey.orderId);
catch (OMOrderValidationException exc)
throw new FinderException(exc.getMessage());
return primaryKey;
public void setOrder(String userUnixLogin, Order newOrder)
throws EJBException, RemoteException, DBOException, OMFormattingException, OMOrderValidationException
callerUnixLogin = userUnixLogin;
int version = newOrder.getOrderVersion().intValue();
if (order.getOrderVersion().intValue() == version)
order = null;
order = newOrder;
Integer newVersion = new Integer(version + 1);
order.setOrderVersion(newVersion);
newVersion = null;
order.setSysUser(callerUnixLogin);
orderObjectManager.updateOrder(callerUnixLogin, order);
else
Debug.Print(userUnixLogin, "OrderEntityBean.setOrder: wrong version number for order " + newOrder.getOrdId() +
": expected " + order.getOrderVersion() + " and got " + newOrder.getOrderVersion(), 0);
throw new OMOrderValidationException("wrongVersion", order, order.getOrdId(), IName.Order.VERSION, newOrder.getOrderVersion());
public Order getOrder()
throws EJBException, RemoteException
return ((Order)order.clone());
The following transactions exists for the entity bean ...
Required:
create and setOrder methods
Not Supported
findByPrimary and getOrder methods"The entity bean has a "void setOrder(Order param)" function that writes the Order to a database"
This functionality should be performed in the ejbStore method().
"a "Order getOrder()" function that clones and returns the internal Order object."
Sounds reasonable, except for the cloning part.
"The "ejbLoad()" function reads the Order object from the database"
Cool.
""ejbStore()" function is not implemented."
Whoops. Looks like your setOrder method is doing too much. It should do the inverse of getOrder (namely, setting the interal Order object), nothing more. Defer the persistence code to the ejbStore method.
"According to the SilverStream manual it does not maintain a pool of idle/unused entity beans, instead it instantiates beans as requested."
Manual? What's that? Assuming that is correct, better hope you don't ever get a high load. You might wanna look into JBoss.
"2) We sometimes get a TransactionRequired exception thrown when we have concurrent updates to two different objects of the entity bean."
How can you have concurrent access to two different objects?? Concurrency is inherently applicable to only one object.
In summary:
Write your beans properly, ejbLoad populates the bean with data, ejbStore persists the bean's data.
Get a better (and possibly free) appserver.
Maybe you are looking for
-
This is so important to my aunt Doreen!! She wants to know Tami's last Thoughts, friends, Doc., Boy Friend that walk out on her and way. You can only image the questions a mom would have. Please Doreen calls me all the time to see if I found a way
-
FileVault Encryption Password - Yosemite
I enabled the FileVault encryption when upgrading my Mac to Yosemite. I was not given a passcode. Yosemite allows use of your login password as the method to access the encrypted drive. However, I saw a posting on another site that has me confused.
-
Custom Email/noti​fication Profile
I know this has been mentioned in another post.. but PLEASE PLEASE PLEASE blackberry get this back in there... never in a million years would I have thought you would strip that service away... We all have several email accounts, facebook, bbm etc et
-
we are implementing the complex password policy, which is reqired by Audit team. I am able to implement password policy with AppsPasswordValidationCUS.java But main problem, if put the long message to provide the instructions for new password on logi
-
Could not obtain an instance of KeyTabKeytab is corrupted
Hello, We have been experiencing problems with server and JVM performance since we enabled SSO in our application. We are using WebLogic 10.3 and BEA JRockit(R) (build R27.6.3-40_o-112056-1.6.0_11-20090318-2103-solaris-sparcv9, compiled mode). After