Objects name case sensitive
Hi Dear;
to call any object in SDK, i have to write the object name(index) as case sensitive.
if there any way to call these objects without case sensitive?
Ex: if i have a UDF named U_BPDrv and i try to get it as U_BPDRV i get an error.
how can i resolve this error?
thank you Dear;
Hi Lita,
i tried it now. UDF field is named as u_Test.
When I call SELECT ordr.u_Test so the result is the same as when I call SELECT ordr.U_TESt, so here is it not case sensitive. When I try get result from recordset as rs_ordr.Fields.Item("U_TeSt").Value() it give no error. When I bound result from recordset to matrix as
column.DataBind.SetBound(True, "@KZ", "u_TEst") - no error as well.
Everything was tested with no binary collation on db.
So I`m persuaded, that in this cases it depends on sql server and not on SDK.
Petr
Similar Messages
-
File Name Case Sensitivity in JDeveloper
A few months back I discovered that I could not create and compile an application on our common network drive because it forced all file names to uppercase. (Gotta love VMS). JDeveloper would get a compile error on the app_name-jazn-data.xml file. We put in a TAR on the issue, which Oracle was more than able to recreate. Solution was not to use a drive that forced everything to uppercase. Since JDeveloper creates the .xml file in question, I could not modify the name of it in any code. I was able to create and compile an application on our common web application network drive though without problems. This drive forces everything to lowercase. (Gotta love Unix)
In creating ADF Business Components and a JSF JSP, I found that JDeveloper creates the file names in both upper and lower case and it adheres to this in the application. Thus I am unable to compile my .java files on our common web application network drive. I recreated the application on my C: drive without problems.
Since I do not create these files or enter anything in to create them, I currently have no control over how JDeveloper creates them.
Is there something in JDeveloper that I can modify so that all file names will be in a particular case? Or, is there somewhere the file names are stored so that they can be changed?
We really want to use JDeveloper for our development, but have some major deployment problems because of this issue.
Thanx
PamI am probably missing a point here, but mixed case is not a feature or bug in JDeveloper. Any other Java IDE will do the same. If you want to use ADF BC, ADF Faces, etc. you must be able to create and save files with mixed case names. Many of those files are generated by JDeveloper, and sometimes you have no control over their names
There must be something wrong with your mapped drive on the unix machine... Why istalling and developing everything on your local drive is not an option?
Sorry, may be I just don't get it
Message was edited by:
c001803
Ok, after reading this thread one more time, I probably understand the issue. You use the shared network drive for team development, right? and you want all the sources to be accessible by the team, right? If this is the case, then CVS is the answer to your problem , as mentioned in the previous post. You may want to google cvs, to learn more about team development environment, and its integration with Jdeveloper and other IDEs -
Oracle 9 table names are not case sensitive
Sorry about the trivial question, but I noticed that when I am creating table in Oracle their names is always upper case.
Example:
CREATE TABLE MyTable (i NUMBER(5))
CREATE TABLE MYTable (i NUMBER(5))
CREATE TABLE MyTABLE (i NUMBER(5))
CREATE TABLE MyTablE (i NUMBER(5))
it is the same table. Is it true that Oracle cannot create tables with names case sensitive, or I am doing something wrong.
Any helpYou can create case sensitive table with table names enclosed in quotes.
SQL> create table sample(id number);
Table created.
SQL> select table_name from user_tables where upper(table_name)='SAMPLE';
TABLE_NAME
SAMPLE
SQL> create table "sample"(id number);
Table created.
SQL> select table_name from user_tables where upper(table_name)='SAMPLE';
TABLE_NAME
SAMPLE
sample
SQL> -
Case Sensitivity of MySql Table Names
I am using a MySql 5 db successfully transferred from MsSql
with the MySql migration kit. It works just fine with my CF 8
application, except for having to match the case of table names in
all <cfquery> tags. My online host runs Linux for MySql.
I have installed MySql on my local Windows development
machine but notice that it has no such table name case sensitivity
-- a problem since that means I cannot test locally.
I have tried putting lower_case_table_names=0 in the MySql
my.ini file but it has not effect.
Any suggestions as to how to set up windows/CF 8? Is this
something that the built in CF server can be modified to do?
Thanks.Ortho wrote:
> I have tried putting lower_case_table_names=0 in the
MySql my.ini file but it
> has not effect.
regarding the lower_case_table_names setting, here's a quote
from
http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html
" If you are using MySQL on only one platform, you don't
normally have
to change the lower_case_table_names variable. However, you
may
encounter difficulties if you want to transfer tables
between platforms
that differ in filesystem case sensitivity. For example, on
Unix, you
can have two different tables named my_table and MY_TABLE,
but on
Windows these two names are considered identical. To avoid
data transfer
problems stemming from lettercase of database or table
names, you have
two options:
* Use lower_case_table_names=1 on all systems. The main
disadvantage with this is that when you use SHOW TABLES or
SHOW
DATABASES, you don't see the names in their original
lettercase.]
* Use lower_case_table_names=0 on Unix and
lower_case_table_names=2
on Windows. This preserves the lettercase of database and
table names.
The disadvantage of this is that you must ensure that your
statements
always refer to your database and table names with the
correct
lettercase on Windows. If you transfer your statements to
Unix, where
lettercase is significant, they do not work if the
lettercase is incorrect.
Exception: If you are using InnoDB tables and you are trying
to
avoid these data transfer problems, you should set
lower_case_table_names to 1 on all platforms to force names
to be
converted to lowercase.
Note that if you plan to set the lower_case_table_names
system variable
to 1 on Unix, you must first convert your old database and
table names
to lowercase before restarting mysqld with the new variable
setting. "
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
Schematool mysql metadata case-sensitive
Not really a question, more an observation unless anyone thinks I am doing
something out of the ordinary.
Using mysql, connectorJ on windows I tried running "schematool -a build -f
script.sql" and kept getting a bunch of errors like
47781 WARN [main] kodo.jdbc.Schema - Existing column "VOYAGE_NUMBER" on
table "vessel" is incompatible with the same column in the given schema
definition.
Existing column:
Full Name: vessel.VOYAGE_NUMBER
Type: VARCHAR
Size: 10
Default: null
Not Null: false
Given column:
Full Name: VESSEL.VOYAGE_NUMBER
Type: VARCHAR
Size: 255
Default: null
Not Null: false
So there was a case sensitivity issue with the metadata in mysql. I had
to add the following to the connectionUrl in kodo.properties
capitalizeTypeNames=true
http://dev.mysql.com/doc/connector/j/en/cj-configuration-properties.html
All tables are lowercase for Windows
http://dev.mysql.com/doc/mysql/en/name-case-sensitivity.html
Doesn't matter on queries and the like but the schematool seemed to need
the extra connection property.Kevin-
What version of the MySQL server and driver are you using? In our
experience, MySQL always capitalized schema names, but it is possible
that this has changed in some version.
Note that another solution would be to set the DBDictionary's
"schemaCase" property to "lower" or "preserve" (instead of the
MySQLDictionary default of "upper"), with the property:
kodo.jdbc.DBDictionary: mysql(SchemaCase=preserve)
We'd be interested to know if that solution works for you.
In article <db8se6$uq0$[email protected]>, Kevin Keefe wrote:
Not really a question, more an observation unless anyone thinks I am doing
something out of the ordinary.
Using mysql, connectorJ on windows I tried running "schematool -a build -f
script.sql" and kept getting a bunch of errors like
47781 WARN [main] kodo.jdbc.Schema - Existing column "VOYAGE_NUMBER" on
table "vessel" is incompatible with the same column in the given schema
definition.
Existing column:
Full Name: vessel.VOYAGE_NUMBER
Type: VARCHAR
Size: 10
Default: null
Not Null: false
Given column:
Full Name: VESSEL.VOYAGE_NUMBER
Type: VARCHAR
Size: 255
Default: null
Not Null: false
So there was a case sensitivity issue with the metadata in mysql. I had
to add the following to the connectionUrl in kodo.properties
capitalizeTypeNames=true
http://dev.mysql.com/doc/connector/j/en/cj-configuration-properties.html
All tables are lowercase for Windows
http://dev.mysql.com/doc/mysql/en/name-case-sensitivity.html
Doesn't matter on queries and the like but the schematool seemed to need
the extra connection property.
Marc Prud'hommeaux
SolarMetric Inc. -
Is Oracle9iAS Relase 2 case sensitive????
Hi all,
I am new to oracle9iAS. I wolud like to know whether oracle9iAS is case sensitive towards the JSP names accessed. If so, is there any option to make it insensitive.
Thankx in advance
kishorRight. And for resource names, case sensitivity depends on operating system used. That's why it's better to use case sensitive system like Unix* than insensitive like Windows*. It cannot happen one resource has many different names and thus, your JSP compilations (you mentioned in another topic) will get always the same name.
Daniel. -
Making user account logins case sensitive?
Hi, just a quick question. Is it possible to make a user account login name case sensitive? Currently I can log on using upper or lower case for the login name however I would rather only the exact login name could be used.
ThanksI had already answered with example.
Re: Making user account logins/passwords case sensitive? -
Create directory / object name must NOT be case sensitive
SQL Dev. 2.1 - the wizard, chosen from the left side navigator, submits a wrong create statement in which the object name becomes case-sensitive. This should not be so! Even if you write the new object name in small letters , the object name must end up in the data dictionary with capitals. kind regards Inger ([email protected])
Which wizard? If I use a create table wizard, for example, and enter the table in lower case, this is indeed stored in the DB as upper case, as you require.
Please provide more detail for your problem.
Sue -
Case sensitive sql - table and field names
I have a weird problem.
I have a client which works with MS SQL SERVER 2000.
database collation name is: Turkish_CI_AS
at the beginning I have this sql statement:
"select value from [OWNER].setting"
but because this table exists in database as "SETTING", I get java.sql.SQLException -
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'setting'.
while I change the sql statement to:
"select VALUE from [OWNER].SETTING"
it works ok.
I uses also other databases, but it works ok with small letters.
How can avoid this problem? should I change all the sql statements to
upper case?
I will appreciate any help.
Thanks.I am not sure about case sensitivity of tables, but as a convention, I always use table names in UpperCase separated only by _.
I don't remember this to be a problem with Oracle or Sybase.
***Annie*** -
How to retrieve column names in a query in a case sensitive way
Given a query, I want to extract all the column names/aliases in the query in a case-sensitive way.
When I use dbms_sql.describe_columns() or java.sql.ResultSetMetaData classes getColumnName() or getColumnLabel()
it returns the columns name ONLY in Upper case.
My application needs to extract the column names in the same case as it appears in the query string.
Is there any API to get this without parsing the SQL query string?
Thanks
PS: The dbms_sql.describe_columns() returns the column name in upper case.
declare
IS
l_column_recs DBMS_SQL.DESC_TAB;
l_cur NUMBER;
l_column_count NUMBER;
BEGIN
l_cur := dbms_sql.open_cursor;
dbms_sql.parse(l_cur, 'select target_type from targets', dbms_sql.NATIVE);
dbms_sql.describe_columns(l_cur, l_column_count, l_column_recs);
FOR i IN l_column_recs.FIRST..l_column_recs.LAST
LOOP
dbms_output.put_line(l_column_recs(i).col_name);
end loop;
end;
/As far as the result set is concerned, though, the column name is in all upper case. If you query the data dictionary, you would see that the TARGET_TYPE column in the TARGETS table is stored in upper case.
The way Oracle works is that column names that are not enclosed in double-quotes are converted to upper case in the data dictionary and elsewhere and then Oracle looks for the column name in the table definition. That is what allows Oracle to have case-insensitive identifiers unless a user specifies case-sensitive identifiers by enclosing the identifier in double quotes.
If you changed the query to be
SELECT target_type as "target_type"
FROM targetsOracle should report the alias in a case sensitive fashion because you've now indicated that the alias should be treated as case sensitive.
Justin -
I registered with a web site and used the name Kostas as the log on name. Entered a question and recieved replies
When I later tried to log onto the web site to say thankyou ,and enter Kostas in the log on box a reminder appears created by Firefox of kostas, I ignore this, move to the password box and firefox changes the log on name to kostas with small k. The register is case sensitive so for quite a while I could not understand what was going wrong? I eventually managed to log on by using a rival system
My previous experience is that if you use a different log on name it is recorded and then you choose the correct one to use? But in this case I am given no choice
How can I correct this please
Probably no connection but
I registerd with another site and recieved an e-mail in which I had to click on web address to confirm registration and came up with an error message, tried a few times and same thing happened?? The webmaster of this site had no record of my registration details?
Finally I had a phone call from a company called NERD-I.com
offering to solve various computor problems at a fee. I did not take up their offer, but hope they do not have anything to do with my current problems??
Many thanksHi Corel
Thank you for your reply
However I need the lower case version for some sites and the upper case version for the site in question? To make matters worse this site does not allow you to change your log on name unless it is in the form of an e-mail address
So what I need is Kostas for this site and kostas saved for other sites and allow me to choose which one I want to use
How do I do this please
I have no bother with this on Win Internet Explorer but I like Firefox
Mind it may be as simple as deleting The appropriate entry and resetting with Kostas instead of kostas?
But I would appreciate knowing the correct solution from an expert -
Problem in XI - JDBC (oracle) Scenario, case sensitive column name
I had a XI -> JDBC scenario, connecting to a SQL server, where the query was being generated using Message Mapping (XML SQL Format),
now the database has been migrated from SQL server to Oracle, and we are using the same XI scenario, but now the problem is, the query generated using message mapping doesnt work because it seems the query (UPDATE statement) requires the field name as having All capital letters, i mean the Column name in query to Oracle has become case sensitive,
can u help me outHi
Oracle doesnt have restriction that Query has to be in uppercase for any column. But it is good go use Upper case for the Query.
Use oracle editor to do the query if it is working fine and then use XML SQL in XI
Check this thread SAP has given some
http://help.sap.com/saphelp_nw04s/helpdata/en/43/68a541a1166153e10000000a1553f6/frameset.htm
Check FAQ on the JDBC adapter, see SAP Note 831162
always useful Note
Thanks
Gaurav -
Case sensitive table names and column names in 8i or 9i databases
Hi everybody,
I've got a couple of business-side colleagues who insist that Oracle table and column names are case sensitive. That is, there is a setting in the set up of a database that lets you pick if table and column names are case sensitive. For example, this would mean that there could be a table named EMP in a given schema schema plus a table named emp in that same schema.
Can this be true? I'd be surprised of course, but I've been surprised before.
Thanks for any direction.
-- Bill LogginsYou can do it, but I would avoid it like the plague.
SQL> create table "a" (b date);
Table created.
SQL> create table "A" (b date);
Table created.
I think I would refuse to work on a database where this has been used ! -
Hi friends
I have a question, is it possible to transfer case sensitive tag names into xml structure ? for exemple, I want to transfer Tag name "DateCreated" . I did a test but start tag names is "DataCreated" and it is Translated in "DATACREATED" and this is a problem.
Thanks
SergioSergio,
Usually what ever you have given in your xsd or message type you will have the same. So please check it. I just tested this and it seems to be the same as defined in your xsd or message type.
Regards,
---Satish -
Case sensitive Tab/Col Names
Hi every one,
I'm having a problem with my Mixed case Table names and column names,when my precompiled application try to query those tables.
I have Table names like "ImmunTypeFollowUp" in Uper and Lower case letters. In my application I have Table names in Uper and Lower case letters "ImmuntypeFollowup". Now my querys are not working because
"ImmunTypeFollowUp" != "ImmuntypeFollowup"
But if I change the table name to "IMMUNTYPEFOLLOWUP" it works.
"IMMUNTYPEFOLLOWUP" == "ImmuntypeFollowup"
So is there any server side parameter to force even my table names are in diferent cases, consider them as UPPER case.
Any help will save droping/recreating my entire DB.
Thanks.
Nandana
nullBy default, Oracle will create the names/columns of objects in upper case (provided the name/components of the object are not in mixed case and quoted). For example: CREATE TABLE "MiXeD_Up_TbL"... will create the table MiXeD_Up_TbL, and the statement CREATE TABLE MiXeD_Up_Tbl... will create the table MIXED_UP_TBL.
There is no setting I'm aware of to turn this off - generally it's not a problem. If you plan to migrate your product to another database, it would probably be better to follow the Oracle "standard" of all upper-cased object names.
Instead of dropping the database, determine what the real name of the tables/columns are : SELECT TABLE_NAME FROM ALL TABLES... or SELECT TABLE_NAME, COLUMN_NAME FROM ALL_TAB_COLUMNS... I suspect all the tables and columns as created on the database (under the schema your queries run under) are all upper case. Change the code to look for upper case names by either coding them that way or using UPPER(TABLE_NAME) = UPPER(&table_var_name) in your queries. NOTE: This may bypass index usage depending on what your objects/indexes look like.
Hope this helps.
null
Maybe you are looking for
-
I love my Apple TV and am thinking about getting one for the bedroom. How many Apple tv's will iTunes recognize? If iTunes does recognize more than one, am I able to stream to both at the same time?
-
2011 MacBook Pro (panic cpu) during a hangout video call
Hello, i tried today to make 2 video calls on hangout and i had both of the times, panic cpu. here is my report Anonymous UUID: C0B67227-8E9C-33FD-8221-F5D97B30233D Sat Nov 30 19:19:40 2013 panic(cpu 0 caller 0xffffff800f633bc4): "Spinlock acqu
-
ITunes Setup Assistant runs every time I start iTunes 7.3.1.3
The past 2 iterations of iTunes have had the same problem for me - even though the program is installed already, it doesn't save my settings and runs the setup assistant every time I start the application. I've gone through the assistant twice and pu
-
Order related Proforma Invoice
Hi All, I have a sales order with two line items. I want to create the order related proforma invoice for one line item. Means for the same sales order while creating proforma invoice only one line item should dispaly and not two line items. Means
-
Losing precision coming from Oracle to Java
30.20969963 is becoming 30. The field is an Oracle Number datatype and I am using a Number in Java. Obviously that isn't right - what data type in Java will preserve all of the decimal places the database has? Thanks!!