Query on implementing Internationalization
Hi,
We're using helper classes to implement the Internalization in our project. But due to this there is lot of redundant code which also creates problem when we want to internationalize for newer markets.
I've read about JSTL providing this functionality through its <fmt> tag. Can any one give his/her experience using JSTL for Internalization. Also, I've heard that the struts framework has features to implement this with great ease. Any inputs on using struts would be most welcome.
What could be the advantages/dis-advantages of discarding the helper classes and using the above mentioned features?
Thanks and Regards,
Rohit
I guess the way order entered goes like this:
1. You enter an order line for the part number (FGA). This is shippable
2. You enter another line for warranty item..This is not shippable but only fulfilled. Since the first line is tied to this line, you are using fulfillment sets to satisfy the fact that only when part line is shipped you want to close this line.
3. And you are looking for a query to join these two lines and show them in online.
Is that correct?
First in your query, found this:
and ool.line_type_id = oolb.line_id. Guess this (sorry to Say) wrong.
you can get the links for lines and fulfllment sets from oe_sets and oe_line_sets to get the link between two.
Please revert if you need clarification.
Thanks
Nagamohan
Similar Messages
-
Implementing Internationalization in Oracle ADF
Hi All,
I want to implement Internationalization in Oracle ADF.Please share me some information and links which will be helpful for me..
Eg:- I have designed a project in ADF with different pages like 1.jsff 2.jsff etc... and for this project i want to implement intenationalization Please help me out if any one has knowledge on this..
Thanks in Advance
Irfan ShaikhHi Irfan
Also check out this samples: https://blogs.oracle.com/jdev11g/entry/internationalizing_strings, http://majid-hussain.blogspot.com/2010/10/internationalization-of-adf-11113.html
Good luck,
Juan Camilo -
Implementing Internationalization in Oracle ADF, small problem
Hi all i have simple question,
i cant internationalization Search and Select popup dialog.
I read all document about Implementing Internationalization in Oracle ADF and cant see where are make mistake.
Any way i did:
Create Java class in view project:
public class BLAFBundle_sr extends ListResourceBundle {
public Object[][] getContents()
return contents;
static final Object[][] contents = {
{"SEARCH_TEXT", "Pretraga"},
{"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
{"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
Set faces-config as
<locale-config>
<default-locale>sr</default-locale>
<supported-locale>sr</supported-locale>
</locale-config>
<resource-bundle>
<base-name>SistemskeKlase.BLAFBundle_sr</base-name>
<var>sr</var>
</resource-bundle>
Set my internet explorer on sr language,
Set view project to use Automaticly sync bundle
and default bundle name as SistemskeKlase.BLAFBundle_sr
And nothing happened after building and running projectI think you are using incorrect resource string name in your method
static final Object[][] contents = {
{"SEARCH_TEXT", "Pretraga"},
{"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
{"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
}I can't find these strings SEARCH_TEXT,SIMPLE_SEARCH_TEXT,ADVANCED_SEARCH_TEXT in Selectors for Skinning Fusion's ADF Faces Components
http://docs.oracle.com/cd/E21764_01/apirefs.1111/e15862/toc.htm -
Please help how to design query to implement this requirement.
Dear Expert,
Here is what I have and what the requirement is:
I have a InfoCube:
Dimensions:
1. Material
2. Currency
Key Figures:
1. Qty
2. Amount
We want to get the Qty and Amount by Material, but use Currency to be the filter.
It means for example, if the Currency have CNY for one material, we need to show all the Qty/Amount, not only Qty/Amount in CNY.
So please help give some idea about how to design the query to implement this requirement.
Thank you,
AndyHi Andy:
To accomplish your requirement you need to do 2 things:
1. Create a Variable for the Currency (to be used as the Target Currency not as a filter for the Characteristic itself).
2. Use the Standard Currency Conversion for the Amount Key Figure (Conversion Tab).
This way, while executing the report you can select any currency you want and all the amounts will be converted to that currency.
Take a look at this paper:
"How to... Use Variables for Currency Conversion"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0?quicklink=index&overridelayout=true
A more detailed explanation can be found on this article provided by Ramakrishna Gattikoppula:
"Currency Conversion in BI 7.0"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?quicklink=index&overridelayout=true
In summary, to work with the Standard Currency Conversion you need to define 4 things:
- Exchange Rate Type.
- Source Currency.
- Target Currency.
- Time Reference.
Regards,
Francisco Milán.
Edited by: Francisco Milan on May 31, 2010 11:19 AM -
How to Query search panel internationalization in ADF.
Hi,
I am using JDeveloper Studio 11.1.1.2.0 and weblogic server 10.3.2.My Requirement is Internationalization.I did Internationalization(Arabic) In GUI level Its coming
but Problem is in Query search panel(VO level) i want to change Internationalization ,but it is not comming.I have configured faces-config.xml.but not comming in Query search panel.
In VO level ,i have change in Control Hints, As a label Tex---> #{UIServiceMessage['_U0627_U0644_U0646_U0638_U0627']} but still same text msg is comming.
So plz help me how to Query search panel internationalization in ADF.
Thanks&Regards
Anuphi
check this
http://andrejusb.blogspot.in/2008/02/list-of-values-component-in-search-and.html
Regards -
Syntax error in ABAP query after implement patch
Dear All,
After implement patch from SAPKA46C39 to SAPKA46C53, we have syntax error in our query.
our SAP release version is 46C.
The error in query is -The data object "R01" does not have a component called "046" -
We don't found any SAP notes that match for our error.
Anyone ..please help...
Thanks a lot...
BuditutaHi,
The query generated is based on the table structures available as they are used, etc.
So please check if there is any difference in the fields available in the tables used, LDB used if any.
In addition, may be few of the properties of the SAP query and info set does not get copied properly.
and after activating the info set only, activate the query, etc...check them once again.
Regards,
Santhosh. -
Post-Query Trigger Implementation in ADF
Hi,
I am working on a migration project.I need the equivalent functionality of POST-QUERY trigger of Oracle Forms,so i overrided the createInstanceFromResultSet(QueryCollection qc,ResultSet rs).can anybody suggest after getting some data from this method how to populate it in the client side field.?
Thanks In advanceAll you've done is tell us how you implemented a particular use case in Forms - you haven't told us what is the use case... Describe to us what you are trying to accomplish, not how you did it in forms or how you've tried to do it in JDev.
For example, "when the user retrieves the sales order, the shipping address should be retrieved and displayed on the screen" - something like that.
John -
Hung queries, and Oracle thin driver query timeout implementation
We are seeing occasional instances of stuck threads, where the code is in Oracle thin XA driver code waiting for a socket read for a response from the database. Usually only one thread at a time. The connection never terminates and we have to shut down WebLogic to clear it. The DBAs tell us that all connections to the 11g RAC cluster members from our hosts are idle, with no hung or long-running transactions.
This happens every few days across two WebLogic 10.3.5 clustered instances in our QA environment, usually not the same time on two servers (one had four incidents, the other had only one, in the last 15 or so days). Sometimes it has resulted in a hung server, as the driver is holding a lock that blocks other threads (today we had numerous threads block in a TX rollback).
I'm guessing our WebLogic instance somehow is not getting the connection close from the remote host. BTW, there is no firewall between us and the DB. I have not got any strong suspect for the cause (although we are running Linux on a VMWare 4.0 VM, which always worries me).
Ordinarily I'd either ask the application to set a query timeout, or set the query timeout parameter for the connection pools as a workaround (we are using a MultiDatasource), so the transaction would at least abort and the application can handle it. However, while the Oracle driver does support java.sql.Statement.setQueryTimeout(), some brief investigation on my part leads me to believe the timeout is implemented on the server side and not the client side - so that if it is indeed the case that WebLogic does not see the close on the connection, it also would never see the timeout.
Two questions:
1. Is my suspicion about server-side implementation of timeout for Oracle 11g correct?
2. If so, is there some property I can set for the driver that will implement a socket timeout? Is this "safe"?
Thanks for any help!
[ Oracle WebLogic 10.3.5, HotSpot 64 bit JVM 1.6.0_29 on RHEL 5.6 on VMWare; Oracle Thin XA driver bundled with WebLogic; Oracle RAC 11g (three-node cluster)]
Edited by: SteveElkind on Dec 3, 2012 5:25 AMThanks, Joe.
My investigations were heading in this direction (e.g., http://docs.oracle.com/cd/B28359_01/java.111/b31224/apxtblsh.htm#CHDBBDDA). However, for WebLogic, is it as simple as adding the following property in the Datasource Connection properties edit box in the WebLogic console?
oracle.net.READ_TIMEOUT=300000
or do I have to edit the connection URL?
I've tried this, and the Datasource restarts OK after the change, but I have no way right now to check whether it actually "works".
(we have some long-running queries; five minutes seems to be a "safe" limita for now) -
Query regarding implementing non leading ledger
Hi friends,
I am suppose to implement the non leading ledger along with the leading ledger. Its fiscal year is from Jan - Dec. I have a query that is there any issues at the year change ( like any kind of adjustment at year end) and what are the things needed to be carried out at the beginning of the year.Dear Mr.Anand,
Could you please clear the below points.
1. Are you using NewGL ?
2. Want to add the Non-Leading ledger ?
3. "I am suppose to implement the non leading ledger along with the leading ledger" means want to implement both ledgers
like Leading ledger and non leading ledger
4. You want to classic ledger to New ledger ?
If you are using classic ledger then you need to go for newgl migration.
IF you allready using the NewGL and want to add non leading leadger then useing the New GL migration scenarios 6, 7,8.
Please refer the below link.
http://wiki.sdn.sap.com/wiki/x/JghNCw
please revert back to me with more details.
Reg
Madhu -
Query Design/Implementation Question
Hi,
I have to query the database based on different input values from a JSP page. So, A user can query the database based on one or more fields. My question to you is what would be an efficient way to write the queries or implement this using JDBC. Should I write PreparedStatements for every possible combination of the query fields. Should I write stored procedures ? I had problems with the PreparedStatement earlier and I still do, so just to keep my developement going I wrote a stored procedure. If you read my previous post you can read the whole story.
So, this is more of a design question. Let the ideas flow.
Any help or suggestion will be appreciated.
Thanks,
PrasoonHi Justin,
This I got from an earlier post on this forum and you said that doing this was a very bad idea. Why ? I am doing this just as a workaround to my current problem.
So, basically I would have a temporary table for every query field in my JSP page. This table I would create in separate stored procedures and then finally do an AND to get the result ?
This feels dirty to me too but can u suggest a better way ?
Thanks,
Prasoon
stored procedure, temporary table, and result sets Nov 6, 2003 6:39 PM
Reply
Pls, Help me with the folloing questions:
1. Is it possible to declare and use temporary tables in a stored procedure? How?
2. Is it possible to return a result set, or recordset from a stored procedure? How?
These might be a very basic one, but as a beginer in Oracle Databse, I am having hard time to find out good source of technical materials.
Justin Cave
Posts: 5,786
OTN Member Since: Oct, 1999
Re: stored procedure, temporary table, and result sets ( In Reply To : stored procedure, temporary table, and result sets ) Nov 6, 2003 7:17 PM
Reply
1) You certainly can declare and use temporary tables in a stored procedure. On the other hand, doing so strikes me as a manifestly bad idea, so I would strongly caution you not to. If you explain a bit about what you're trying to accomplish, I'm sure there are better ways.
If you did want to create temporary tables in a stored procedure, you'd have to use dynamic sql, i.e.
execute immediate 'create temporary table foo...'
2) You can return resultsets from a stored procedure by declaring an OUT parameter which is a REF CURSOR.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC -
Best way to Implement Internationalization
Hi All,
I went through many forums to find out which is the recommended way to Internationalize a WDJ application. As far as I know there are 3 ways of achieving Internationalization:
1. using .xlf files
2. .properties file
3. Adding the language specific text in the Message Pool.
But I have used the .xlf approach. Is there any document which says the best approach for Internationalization or the pro's and cons of each method.
Regards,
Poojith MVHi Poojith,
I am not sure about the availability of the document describing the best way;however, I have used all the 3 ways for the same project.
I'd say, .xlf files and texts in the messagepools should not be considered two different approaches. The texts for the UI elements get stored in the view specific .xlf files and there are separate message pool specific .xlf files. We can utilize the message pools along with the dynamic parameters for the messages using the .xlf files for any language. Hence I'd say for a WD applications, .xlf file is the best approach. Properties/resourcebundles can be used for the other Java applications. also if you add your properties files under the Configuration node of your WD application, you'l be able to maintain it via NWA.
Also, there is a way to externalize the hardcoded texts in your WD application. After externalizing them, you can make use of the .xlf files and use them conveniently.
Regards,
Ajay -
Query regarding implementation of HashSet and TreeSet and AbstractSet
I have found that the treeSet and HashSet extends AbstractSet and implements Cloneable and Serializable interfaces.
What happens if AbstractSet itself implements Cloneable and Serializable interfaces, so that The HashSet and TreeSet need not to implement separately?
Is it a design concern or is there any logic behind in doing so?
I appreciate your quick response..
Thanks
Shiva kumarIt would mean that anybody else such as me who extended AbstractSet would be stuck with my implementation being serializable and cloneable whether I wanted or not. No doubt the designers wanted to provide the freedom not to do so.
-
Book query: O'Conner, Internationalization Using the Java Platform
John O'Conner, Internationalization Using the Java Platform
Paperback - 416 pages (31 March, 2002)
Addison Wesley; ISBN: 0201615681
Amazon.co.uk is the only place I can find this title online. It appears to be out of stock.
The following sites do not list it at all:
http://www.aw.com/
http://java.sun.com/docs/books/
http://www.amazon.co.jp/
Does anyone know if/when this title is due to be reprinted?
Thanks,
CampbellI am sorry to hear it was never published.
I have not read the other book yet - I was trying to find out which of the two had better reviews before contemplating buying one.
Ideally I would like two books on the subject. As a i18n novice I might learn more by being able to compare and contrast. I don't know, but I guess there are areas in Java i18n where different approaches are open to debate; other areas where there is general agreement about the best way of doing things; and topics which in one book could have been dealt with better, or in more detail, and which the other book makes good? Having two books on the subject would make these contrasts and parallels clear.
I am supposed to be preparing for exams just now, but once free I will take a closer look at your articles, and the other book and let you know my comments. If you were able to revive the book project, I would certainly do all I could to encourage you.
Regards,
Campbell -
Implementing internationalization in ADF
hi ,
is there any tutoriel to implmente intenationalisation in oracle adf
my jdev version 11 release 2
thanksI don't think there is a tutorial, but the FOD demo has a section about it and you can read more here:
http://docs.oracle.com/cd/E16162_01/web.1112/e16181/af_global.htm#CHDGCAFI
and here:
http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcentities.htm#BABJACFB -
SQL Query (challenge)
Hello,
I have 2 tables of events E1 and E2
E1: (Time, Event), E2: (Time, Event)
Where the columns Time in both tables are ordered.
Ex.
E1: ((1, a) (2, b) (4, d) (6, c))
E2: ((2, x) (3, y) (6, z))
To find the events of both tables at the same time it is obvious to do & join between E1 and E2
Q1 -> select e1.Time, e1.Event, e2.Event from E1 e1, E2 e2 where e1.Time=e2.Time;
The result of the query is:
((2, b, x) (6, c, z))
Given that there is no indexes for this tables, an efficient execution plan can be a hash join (under conditions mentioned in Oracle Database Performance Tuning Guide Ch 14).
Now, the hash join suffers from locality problem if the hash table is large and does not fit in memory; it may happen that one block of data is read in memory and swaped out frequently.
Given that the Time columns are sorted is ascending order, I find the following algorithm, known idea in the literature, apropriate to this problem; The algorithm is in pseudocode close to pl/sql, for simplicity (I home the still is clear):
-- start algorithm
open cursors for e1 and e2
loop
if e1.Time = e2.Time then
pipe row (e1.Time, e1.Event, e2.Event);
fetch next e1 record
exit when notfound
fetch next e2 record
exit when notfound
else
if e1.Time < e2.Time then
fetch next e1 record
exit when notfound
else
fetch next e2 record
exit when notfound
end if;
end if;
end loop
-- end algorithm
As you can see the algorithm does not suffer from locality issue since it iterates sequentially over the arrays.
Now the problem: The algorithm shown below hints the use of pipelined function to implement it in pl/sql, but it is slow compared to hash join in the implicit cursor of the query shown above (Q1).
Is there an implicit SQL query to implement this algorithm? The objective is to beat the hash join of the query (Q1), so queries that use sorting are not accepted.
A difficulty I foound is that the explicit cursor are much slower that implict ones (SQL queries)
Example: for a large table (2.5 million records)
create table mytable (x number);
declare
begin
open c for 'select 1 from mytable';
fetch c bulk collect into l_data;
close c;
dbms_output.put_line('couont = '||l_data.count);
end;
is 5 times slower then
select count(*) from mytable;
I do not understand why it should be the case, I read that this may be explained because pl/sql is interpreted, but I think this does not explain the whole issue. May be because the fetch copies data from one space to your space and this takes a long time.Hi
A correction in the algorithm:
-- start algorithm
open cursors for e1 and e2
fetch next e1 record
fetch next e2 record
loop
exit when e1%notfound
exit when e2%notfound
if e1.Time = e2.Time then
pipe row (e1.Time, e1.Event, e2.Event);
fetch next e1 record
fetch next e2 record
else
if e1.Time < e2.Time then
fetch next e1 record
else
fetch next e2 record
end if;
end if;
end loop
-- end algorithm
Best regards
Taoufik
Maybe you are looking for
-
Logical system name for acknowledgement in BPM
Hi, I have a szenario: IDOC --> BPM --> MAIL Inside BPM I check the message and depending on an xml-element I stop the process or I send the message by mail. When I stop the process the BPM sends back an acknowledgement and in SXMB_MONI I can see an
-
How to set emails for multiple users?
Hello, We have a scenario, where there are several users whose email is not set in "My Account". We want to set this in one shot, what is the best bet for us? Also we want to send email to a person outside OBIEE infrastructure, how can we do this? Pl
-
Hello, I miss the little orange rectangle in the upper left corner of my mozilla firefox screens, now that I have the new version, from which I could click and it would drop a menu down with some selections, one being "share" and I could email a link
-
How link from html page to a specific frame in flash cs5 as3
Hi! I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3. I have a website that I originally began to design in flash but later started developing new pages for it in html. T
-
How to use content conversion for Complex structure
Hi All, I want to know how to use content conversion for the following complex structure: Data ...Details 1 to Unbound .....Header 1 to 1 .......HF1 .......HF2 .......HF3 .......ITEM 1 to unbound ........