Forms and database character conversion
Hi,
We currently have a database setup to use a non-utf8 characters set, I believe it is set up for western european languages only. We now want to expand our database to include support for other languages such as arabic and japanese. To do this we would like to make a copy of our existing database and change the charecter set to UTF8.
We also have a Forms application currently using Forms 5 and due to be upgraded to 11g.
What sort of implications willl changing the database character set have for the existing Oracle Forms? What sort of changes if any will we need to make to the Forms in order to get them working with the new character set?
Thanks for your help.
hi
check out the following link i hope it helps u.
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
sarah
Similar Messages
-
XMLELEMENT and suppress character conversion for brackets etc...
Hi,
I want use XMLElement, XMLAgg to create a large XML-file from database.
However I have the problem that I already SELECT valid XML chunks from
the database. I this case I don't want a character conversion,e.g.
open angle bracket (<) becomes <
quotation mark (") becomes "
and so on.
Is it possible with my Oracle 9.2 ?Hi,
ok finally I think I found now a solution for my problem which is:
printing a large XML file in one transaction within sqlplus.
I let a function create the XML and write it to a CLOB variable.
In sqlplus I do simply
-- 1 GB is acceptable
SET LONG 1073741824;
SPOOL myspoolfile
SELECT MYFUNTION FROM DUAL;
I still have to proof it with mass data. -
Different values on form and database
hi all
i have a field which counts the number of rows
on the form which is showing a different value (which is correct)
and in the database it is showing a different value (incorrect)
i have issued commit
i am not understanding why this is happening ..
please help me
Mandarlistening for the first time but u r facing the problem, reconfirm that the query/properties are correct in form properties, check it by creating new form module for just checking weather it is showing correct in that form. and c if there is when_new_form_instance trigger or When_Validate_windows trigger used for some execution. and one more thing just check if u didnt change the column and create it again and database type is NO ( properties )
-
USER_FILTER and database character set
Hello,
I'm currently working on the integration of a tool into Oracle Text for filtering PDFs. My current approach is to call a command line tool via a USER_FILTER preference, and this works fine as long as the database character set is AL32UTF8. The tool is creating the filtered text as UTF-8.
I'm struggling now with the case that the database character set is not Unicode, for example LATIN1. I had hoped that I can specify a chain of filters for this situation when creating the index, first a USER_FILTER to get the text out of the document and then a CHARSET_FILTER to convert the filtered text from UTF-8 into the database character set. This is my attempt to set this up:
execute ctx_ddl.create_preference ('my_pdf_datastore', 'file_datastore')
execute ctx_ddl.create_preference ('my_pdf_filter', 'user_filter')
execute ctx_ddl.set_attribute ('my_pdf_filter', 'command', 'tetfilter.bat')
execute ctx_ddl.create_preference('my_cs_filter', 'CHARSET_FILTER');
execute ctx_ddl.set_attribute('my_cs_filter', 'charset', 'UTF8');
create index tetindex on pdftable (pdffile) indextype is ctxsys.context parameters ('datastore my_pdf_datastore filter my_pdf_filter filter my_cs_filter');
These are the error messages I'm getting (sorry, German Windows):
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf³hrung der Routine ODCIINDEXCREATE
ORA-20000: Oracle Text-Fehler:
DRG-11004: Doppelter oder unvereinbarer Wert f³r FILTER
ORA-06512: in "CTXSYS.DRUE", Zeile 160
The relevant message is DRG-11004, which translates to "duplicate or incompatible value for FILTER".
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 364
So here is my question:
Do I understand it correctly that with the USER_FILTER the text is always expected in the database encoding, and that it is mandatory to create the filtered text in the database character set, or are there any alternatives?
Thanks
StephanThe previous experiments were performed with Oracle 10i. I just saw that in Oracle 11.1.0.7 there is this new feature: "USER_FILTER is now sensitive to FORMAT and CHARSET columns for better indexing performance.".
This seems to be exactly what I was looking for.
Regards
Stephan -
Flash form and Database integration using PHP
One of the simpleest ways to Flash forms and data components
to interact with a MySQL Database is with the use of PHP scripts.
These scripts can be the intermediary between the Flash form and
the MySQL Database. There are some
FREE Tutorials available at
http://www.interactivewebconcepts.com
I hope this helps.
MauriceI think i found your problem.
It's a Syntax Error here you should use . instead of ,...
[code]
Subject",$CompanyName
[/code]
this should work.
[code]
Subject".$CompanyName
[/code] -
What are the best security practices for your forms and databases
What are some of the best security practices to follow to
ensure your database isn't attacked with injections, forms abused
with snippets of code, and mass spam DB inserts on your
forms?On Sat, 29 Mar 2008 17:17:01 +0000 (UTC), "jsteinmann"
<[email protected]> wrote:
>What are some of the best security practices to follow to
ensure your database isn't attacked with injections, forms abused
with snippets of code, and mass spam DB inserts on your forms?
David Powers books on php for Dw give detailed advice on how
to do
forms, first with html, and then validate them with secure
php
scripts.
http://foundationphp.com/
~Malcolm N....
~ -
Web form and database security risk
I'd like to develop an Oracle Form or APEX Form where people don't have to login to use it. Like a registration form on our website, where anyone can fill it out. Ideally, the information entered into the form would be saved to an Oracle table (could use a flat file if database security is an issue). I'm a developer and don't know a lot about the security side.
I'm thinking we would need a static IP address and an Oracle public password that doesn't expire, since the public doesn't have to login to use the form.
Is this possible and is it a database or network security risk ?An APEX page can certainly be configured to not require authentication (that's pretty standard for the login/ registration page). There is no need for an "Oracle public password." There are accounts in the Oracle database that APEX uses but that no human needs to know the password for. If that's what you mean by "Oracle public password" then, yes, you do. But that would be the case no matter what authentication and authorization scheme you use in APEX.
A static IP address for your web server is likely a good idea. It's possible to have DNS work with dynamic IP addresses but that's probably not what you want.
Justin -
Querying a date field with different masks in form and database
Dear friends,
I have a field with date format mask dd/mm/yyyy hh24:mi:ss, but the same field has date format dd/mm/yyyy inside the form which queries it.
If I run this form, obviously I will query this date in dd/mm/yyyy format mask, but this date is not being found because it doesn't include hh24:mi:ss (hour) from the database field.
How can I solve this problem? I tried to change my form, putting a format mask with hours, but it requires me to query this date with time, and obviously no one needs to know the exact moment (with seconds!) when the date was recorded in the database.
Thanks, and best regards,
FranklinFranklin,
You could instruct your users to use the '%' when they enter a date search criteria. Another alternative would be to programatically add the '%' to the date. Also, if your Block based on a view you could alter the vuew to use TRUNC() on the date field to drop the time.
Another option would be to use the Pre-Query trigger to modify the Block WHERE clause to: TRUNC(date_field) = :block.date_field.
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks! -
Hello, I've uploaded my database onto my site and now I've
created an online form that is suppose to populate my database,
however I can't get it to submit the data into the database. I used
the "Record Insertion Form Wizard" in Dreamweaver to create the
form. When I test online, fill in all the fields and click on
submit , it returns me to the index.asp page with an error message
"Internal Server Error". I've also created an additional page
called hello.asp for when the submit button is pressed the page
would "go to" the hello.asp page of my site. I don't know what I'm
doing wrong or what I need to do to correct. Please help! Thank
you.In IE go into options and under the Advanced Tab deselect the
option to
"Display Friendly URL Errors", then you will get the true
problem. The most
likely cause is a permissions issue with the database. You
need to ensure
that it has write but not browse access enabled.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"Inquiring Mind" <[email protected]> wrote
in message
news:ep94u2$met$[email protected]..
> Hello, I've uploaded my database onto my site and now
I've created an
> online
> form that is suppose to populate my database, however I
can't get it to
> submit
> the data into the database. I used the "Record Insertion
Form Wizard" in
> Dreamweaver to create the form. When I test online, fill
in all the
> fields
> and click on submit , it returns me to the index.asp
page with an error
> message
> "Internal Server Error". I've also created an additional
page called
> hello.asp
> for when the submit button is pressed the page would "go
to" the hello.asp
> page
> of my site. I don't know what I'm doing wrong or what I
need to do to
> correct.
> Please help! Thank you.
>
> -
Forms and database connectivity
Hi to all ,
I am connecting my form (Dev suite 10g) from a Win XP client to a database (Oracle 9i) on Win-2003 server , while connecting it is connecting fine and giving me access to all tables from a specific user, but when i am running the form it was not showing me anything.
Can any one suggest me what could be the probable problem and solutions to that also......Hi,
Please check you oc4j instance is running otherwise you should mention the error(what you see...). -
Hello, I've uploaded my database onto my site and now I've
created an online form that is suppose to populate my database,
however I can't get it to submit the data into the database. I used
the "Record Insertion Form Wizard" in Dreamweaver to create the
form. When I test online, fill in all the fields and click on
submit , it returns me to the index.asp page with an error message
"Internal Server Error". I've also created an additional page
called hello.asp for when the submit button is pressed the page
would "go to" the hello.asp page of my site. I don't know what I'm
doing wrong or what I need to do to correct. Please help! Thank
you.
Here's the site I'm
working onFirst question.
Can you return any data? That is do you have a page that is
populated
from the database. My reason for this question to asert that
you have
connection strings/dsn, etc set up on the site the same as
they are
setup up on your test server. -
This question is tricky let's see who answers it right - monica give it try...
Q1. If i have three trigger written at the block level namely-
pre-delete
pre-insert
pre-update
and then i do three operations update,delete and insert onthe table what will be the order of execution of the triggers and WHY?
I am answering the order but i want WHY? so.
A1. Pre-delete
Pre-update
Pre-insert
but why?Anthony,
each Forms application rewuired database authentication information to access teh database schema. This information can be provided in A Forms login dialog, or as mentioned, stored in an LDAP server using Oracle SSO.
The Forms application only knows about the current conencted username and password, not about previous users. I don't see a security issue with this.
Frank -
XMLType and Special Character Conversion
I'm looking for something to convert special characters like & to the actual & it represents.
I can't seem to find a method using
extract for an xmltype or xslprocessor.valueOf
I'm sure its something simple, but I'm having trouble putting my finger on it. Can anyone point me in the right direction?
ThanksLet me restate. When I use and XMLDom and the xslprocessor.valueOf function, "&" is converted to "&"
when I use v_char2 := v_doc.extract('/LoanPkg/Property/PRPTY_STRT_NME/text()').GetStringval;
It doesn't convert it. -
Hello All,
I am using forms 10g (10.1.2.3.0) version with database 11g (11.1.0.6.0).
I did some modification in a package. That package is getting called in the forms. After doing modification (just add one if condition) in the package procedure (Not added parameter) I connected to the application and calling the form. I am getting the error message "ORA-12703". After that if I am just compile all the forms, one form is working fine. But in some other form it is not working properly. Still I am getting the error message "ORA-12703". I just put some debug message in the package and form, I compiled both form and package. At this time both are working fine. But if I am putting some debug message in the package only then it is not working. Getting the same error message.
Does it a forms or database issue or I need to do some thing? Any suggestion welcome.
Thanks
SUNORA-12703 this character set conversion is not supported
Cause: An attempt was made to use the CONVERT function to convert between two character sets, and the requested conversion is not possible due to unavailability of one or both character sets.
Action: Use character sets available on the system in the CONVERT function.
What character set do you have on the database and what charset on the client side? Maybe SQL*Net issues the convert function when you use different charsets for both? -
Character conversion and NLS_LANG
Hi,
The Oracle doc says that character encoding conversion for Java programs using the OCI driver is dependent on NLS_LANG. But the description of this was a bit confusing. As per the doc
"The JDBC OCI driver transfers the data from the server to the client in the character set of the database. Depending on the value of the NLS_LANG environment variable, the driver handles character set conversions in one of two ways.
1)If the value of NLS_LANG is not specified, or if it is set to the US7ASCII or WE8ISO8859P1 character set, then the JDBC OCI driver uses Java to convert the character set from US7ASCII or WE8ISO8859P1 directly to UCS-2.
2)If the value of NLS_LANG is set to a non-US7ASCII or non-WE8ISO8859P1 character set, then the driver changes the value of the NLS_LANG parameter on the client to UTF-8. This happens automatically and does not require any user-intervention. OCI uses the value of NLS_LANG to convert the data from the database character set to UTF-8; the JDBC driver then converts the UTF-8 data to UCS-2. "
Now refering to case1, assume the database character set is multibyte.Does this mean that the OCI C libraries first convert this to US7ASCII or WE8ISO8859P1 and then the Java driver does the conversion from US7ASCII or WE8ISO8859P1 directly to UCS-2. If that is the case, wouldnt information get lost during the first conversion.
Thanks,
Tom."Now refering to case1, assume the database character set is
multibyte.Does this mean that the OCI C libraries first convert
this to US7ASCII or WE8ISO8859P1 and then the Java driver
does the conversion from US7ASCII or WE8ISO8859P1 directly to
UCS-2. If that is the case, wouldnt information get lost during
the first conversion. "
Yes this is true. For a multibyte database character set caution
must be taken that the client application NLS_LANG is not
US7ASCII or WE8ISO8859P1 or data loss can occur. An effort will
be made to remove the NLS_LANG dependency in a future release
because the current solution is imperfect.
Maybe you are looking for
-
How can I size a webform correctly? I set it up on the page and all looks ok, but when I load it on to the BC site, and it's activated, it nearly doubles in size and messes up the layout of the page.
-
How to print values in a HashMap
Hi I am new to Java I am using a HashMap where key is a String and the Value is again a HashMap.. Firstly can I use it this way ...If not could you please suggest an alternative... If I can use it ... I am unable to print the values in the HashMap..
-
Error on 64bit Windoen 2008 Server
Hi Friends, I am running SAP B1 8.8 PL15, my AddOn is working fine on my laptop (32 bit Windows). I have compiled it with x86 CPU Config. But when i run it on my server which is 64bit it gives error "Object Reference Not Set to an Instance of an Obje
-
Spool filename_sysdate.csv
Hi All, I want to add sysdate with my spool file name. Could anyone please tell me how can I achieve that? Many thanks in advance! Ash.
-
Error 8288: trying to upgrade software on ipod touch 1.1.5 to 3.1.1