How to get the previous state of my data after issuing coomit method
How to get the previous state of some date after issuing commit method in entity bean (It should not use any offline storage )
>
Is there any way to get the state apart from using
offline storage ?As I said the caller keeps a copy in memory.
Naturally if it is no longer in memory then that is a problem.
>
and also what do you mean by auditlog?
You keep track of every change to the database by keeping the old data. There are three ways:
1. Each table has a version number/delete flag for each record. A record is never updated nor deleted. Instead a new record is created with a new version number and with the new data.
2. Each table has a duplicate table which has all of the same columns. When the first table is modified the old data is moved to the duplicate table.
3. A single table is used which has columns for 'table', 'field', 'data' and 'activity' (update, delete). When a change is made in any table then this table is updated. This is generally of limited useability due to the difficulty in recovering the data.
All of the above can have a user id, timestamp, and/or additional information which is relevant to the data being changed.
Note that ALL of this is persisted storage.
I am not sure what this really has to do with "offline storage" unless you are using that term to refer to backed up data which is not readily available.
Similar Messages
-
How to get the previous record value in the current record plz help me...
In my sql how to get the previous record value...
in table i m having the field called Date i want find the difference b/w 2nd record date value with first record date... plz any one help me to know this i m waiting for ur reply....
Thanx in Advance
with regards
kotreshFirst of this not hte mysql or database forum so don;t repeate again.
to get diff between two date in mysql use date_format() to convert them to date if they r not date type
then use - (minus)to get diff. -
How to get the table with no. of records after filter in webdynpro
Dear Gurus,
How to get the table with no. of records after filter in webdynpro?
Thanks in advance.
SankarHello Sankar,
Please explain your requirement clearly so that we can help you easily.
To get the table records from your context node use method get_static_attributes_table()
data lo_nd_mynode type ref to if_wd_context_node.
data lt_atrributes_table type wd_this->elements_mynode.
lo_nd_mynode = wd_context->get_child_node( name = wd_this->wdctx_mynode ).
lo_nd_mynode->get_static_attributes_table( importing table = lt_atrributes_table ).
Note: You should have already defined your context node as a Dictionary Structure.
BR,
RAM -
How to get the past top 100 match data of game app?
how to get the past top 100 match data of game app?
What game app? Have you contacted the developer of the app?
-
I cannot figure how to get the text(SQL statement) from a system view(i guess it is in a system view... but witch??). 'Till now i have the sql_address and the sql_hash_value..
I know it is possible.. EM does it ... so i should be able to do the same..
ps:I use 9.2v$sql ?
-
How to get the previous version of Flash professional?
I need to install flash proffessional on 32 bit computer? How can I get the previous version as the Flash ProfessionalCC requires 64 bit?
Many thanks for help.Hi Barbara,
Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
You can purchase this by Adobe's backward Licensing policy :
" Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
Please check the doc : http://www.adobe.com/volume-licensing/policies.html -
How to get the previous price of the list price in a order
Hi All,
I need to get the previous price of the condition type in an order to calculate the %change of price.
for ex: the conditon ZXXX has price 600 and its changed to 400 now .( by changing the quantity etc ).
when the price value is changing to 400 , I need to capture the value of 600 in another condition type.
how can i acheive this ? Any idea?
Please provide some pointers on it.
Thanks in advance.
Swapna.Hi Viraylab,
check <b>VBAP-NETPR</b> field of table <b>VBAP</b>
It gives the net price corresponding to a line item.
Goto Tcode VA03.See the <b>item overview</b> tab U will get <b>Net Price</b> field for indivisual line item.
Reward points if helpful.
Regards,
Hemant -
How to get the SQL Statement of a report region?
For example: The SQL of report region such as "SELECT A,B,C FROM T1 WHERE A = :P10_A".
I hope to get the converted statement (the variable has been replaced), like this:
:P10_A = 'TOM', SQL: "SELECT A,B,C FROM T1 WHERE A = 'TOM'".
THX.I agree with John with the usual caveat about using bind variables.
In other words, you should use
SELECT A,B,C FROM T1 WHERE A = :P10_Ainstead of SELECT A,B,C FROM T1 WHERE A = 'foo'so that the shared pool doesn't get clutterred with copies of the same (sharable) SQL.
Even if you use the "PL/SQL function returning a SQL query", be sure to use bind variables in your SQL and not "glue in" session state by concatenating it into the query.
Thanks. -
How to get the initial state of JSF PAGE IN ORACLE ADF
Hi everybody
my Jdeveloper version is 12.1.3
I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
many thanks !Clear the cache by adding the following to each jsf page.
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
%> -
How to get the select statement from the DISPLAY_ERROR; window
Hi
Do you know a way to get the select statement that is displayed in the
display_error; window ( select hola from u where a = :d),
this for saving to a text file.
Thanks in Advance.You must copy-and-paste it. You can't access that error from within Forms.
Regards,
Robin Zimmermann
Forms Product Management -
How to get the previous record in the select statement
I am trying to update the parent part number as a parent for component part number. I can assign the main part with level 1 as a parent and it looks like this.
PART_NUMBER PART_LEVEL PART_PARENT
1140000000T 3 1140001755L
1140001755D 2 1140001755L
1140001755L 1
A1010000139 5 1140001755L
A1010015001 4 1140001755L
A1010000139I 4 1140001755L
A40210062 2 1140001755L
A1010001579 4 1140001755L
but, I need to assign the previous level part as the parent part instead of level 1. I can add a new column to store this value. I need the structure as
PART_NUMBER PART_LEVEL PART_PARENT
1140001755L 1
1140001755D 2 1140001755L
A40210062 2 1140001755L
1140000000T 3 A40210062
A1010015001 4 1140000000T
A1010000139I 4 1140000000T
A1010001579 4 1140000000T
A1010000139 5 A1010001579
We might have multiple parts at the same level, so I need to make sure that correct parent is assigned to the part. Anybody has any idea?
ThanksspooHi,
How to do that depends on your data.
Post a little sample data (CREATE TABLE and INSERT statements) and the results you want from that data (formatted, within \ tags), if it's not the reuslts you already posted. If you can show what your problem is using commonly available tables (like scott.emp), then you don't have to post any sample data; just the results.
Post your existing query, too;. Always say what version of Oracle you're using.
It looks like you're currently doing something like this:SELECT ename
, LEVEL
, CONNECT_BY_ROOT ename AS root_ename
FROM scott.emp
START WITH mgr IS NULL
CONNECT BY mgr = PRIOR empno
which produces this output:ENAME LEVEL ROOT_ENAME
KING 1 KING
JONES 2 KING
SCOTT 3 KING
ADAMS 4 KING
FORD 3 KING
SMITH 4 KING
BLAKE 2 KING
ALLEN 3 KING
WARD 3 KING
MARTIN 3 KING
TURNER 3 KING
JAMES 3 KING
CLARK 2 KING
MILLER 3 KING
where the last column shows the ancestor *farthest* above the current row.
If I understand you, you want to have output that shows the *nearest* anacestor, like this:NAME LEVEL PARENT_ENA
KING 1
JONES 2 KING
SCOTT 3 JONES
ADAMS 4 SCOTT
FORD 3 JONES
SMITH 4 FORD
BLAKE 2 KING
ALLEN 3 BLAKE
WARD 3 BLAKE
MARTIN 3 BLAKE
TURNER 3 BLAKE
JAMES 3 BLAKE
CLARK 2 KING
MILLER 3 CLARK
You can do that by changing a single line:SELECT ename
, LEVEL
, PRIOR ename AS parent_ename -- Changed
FROM scott.emp
START WITH mgr IS NULL
CONNECT BY mgr = PRIOR empno -
How to Get the Previous Transactional Data into Special Purpose Ledger
Hi,
1). We have implemented Special Purpose Ledger. After implementing SPL, we are generating documents and getting the postings into SPL. Now I need to bring the previous postings which were entered before Special Purpose Ledger Setup. Please Help me on how to bring the transacctional data into Special Purpose Ledger.
2). Is it possible to define A/R Aging by Customers? in Special Purpose Ledger by using Report Painter?
3). What is the use of Allocation Cycles like Assessment and Distribution in Special Purpose Ledger?
Please clarify me on above 3 points.
Thanks
Yadayya
Edited by: Dogdays on Aug 5, 2011 8:02 AM
Edited by: Dogdays on Aug 5, 2011 8:03 AMI have experience in intergrating project accounting to the general ledger in a data warehouse using discoverer to show the results.
The solution I developed for my compnay is to ensure all entries from all sub-ledgers including manual journal entries are moved to the data warehouse tables have project information based on PA autoaccounting rules.
The company I work for was interested in viewing reports that cubed cost centers (dept's.) to projects and to translate all entries (not just account balances) to USD for thier foriegn set of books. So, projects can be seen company wide in USD at lowest entry level. The solution I gave them solved the problem and they are able to view reports and evaluate costs by cost centers and projects on an enterprise wide application.
If this is what you are looking for let me know.
about my self : I have a B.S. in Computer Science (Theoretical Track) and 17 yrs of accounting and book keeping experience including consolidation and multi-currency sets of books. -
How to get the previous data?
Hi,
I am monitoring a one moving point with coordinates (Xd,Yd). I want to get the two previous data so that I can calculate the point of origin as (Xo,Yo). I made a calculation that if i have three known points I will be able to get the point of origin. The variable data for the moving point (Xd,Yd) i showed using a slide bar. I want to see in the graph the moving point with the line connected to the point of origin at least.
But my problem is how can i get the two previous data correctly. Can somebody kindly teach me please.
Thank you very much.
Attachments:
moving point.vi 39 KBHi Bong,
I couldn't open your VI 'cause I'm still running LV7.11... anyway, if I understood what you're asking for, it is quite simple, you just need to drag down the shit register of the for loop as in the attached example SR.vi.
If you are not using a shit register to plot your data, then it depends on which display you use, but there are some tricks to get previous data... but in my opinion keeping a cluster with (X,Y) in a shift register is a good idea
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
SR.vi 19 KB -
I downloaded the latest version of Firefox (ie 4) on my Apple laptop, but the fact that it is "unsuitable for (my version of) Mac Os " was not revealed to me until I had already replaced the previous version which was suitable. I don't know how to retrieve the version I was using.
The latest versions of Firefox require at least Mac OS X 10.5 and an Intel processor. You can revert to Firefox 3.6.xx for Mac 10.4 by downloading the installer from http://www.mozilla.org/en-US/firefox/all-older.html
More information in the [[Firefox will not start]] article, under
[https://support.mozilla.com/en-US/kb/Firefox%20will%20not%20start#w_firefox-will-not-start-4on-os-x-10-4-or-earlier-or-with-a-powerpc-processorsf5on-windows-98me-or-earliersf Firefox will not start on OS X 10.4 or earlier or with a PowerPC processor] -
How to get the previous value of a field before saving the record
Hi All,
I have a requirement like, listing out the modified field values with their previous value and new value using integration events or any method.
For Ex: If i modify the customer name from "Jack" to "Amith" in the record.
Then i have a requirement to display the message like : CustomerName has changed from "Jack" to "Amith"
Please post your help notes on this.It's Urgent.
Thanks & Regards
AmithHello Amith,
How does a user perform the modification? Do you already have access to the existing value when the user makes the update? How are you identifying the record to be updated within CRMOD and what method are you using to perform the update?
Thanks,
Sean
Maybe you are looking for
-
Mass update to FILENAME field in S_DATASET authorization object
We are migrating to a new fileserver with a new hostname, and so I've been asked to update about 1900 instances of the S_DATASET authorization object for the new FILENAME value. I'd like to do this programmatically if possible. What I've learned so
-
Retrieving a UDT object from a Java Stored Procedure
I am really having trouble returning a UDT object (AttributeUDT) from a Java stored procedure. I am using Oracle 8.1.6 and JDeveloper 3.2.2. I have successfully used JPublisher to create the Java source code files for my UDT, now I would like to use
-
Invissible iPod in iTunes but vissible as disk in Vista explorer
1. Problems to connect to iTunes-store; 2. Impossible to appear as connected iPod in iTunes; 3. FaQ-section has no adequate solution; Some specs: On the laptop (Xp Home) no problem, problems appear only when connecting to my (Vista Home Premium) desk
-
"You have custom access"??? (permissions issue)
Apologies if this has been covered before but I have quite a few folders that say "You have custom access" in the Sharing & Permissions section of the "Get Info" Finder window, not "You can read and write" as I would expect. Some of these really do s
-
Using base classes for common attributes
Can TopLink handle use of non-mapped abstract base classes? There are a number of fields that are common to each and every one of my domain objects which, following good OO design principals, are moved up to a common superclass. So I have: public abs