Synchronize with Data Base' bug
JDeveloper Version : JDeveloper 11.1.1.1.0 , ADF BC
Use Case :
- we have DB Table with filed named "Flage" and type "Number"
- Create EO
- Change "Flage" ' data type from "Number" to "varchar2" in DB
- Use "Synchronize with Data Base" option for EO .
The result for "Flage" attribute is :
- Column Type : changed to "varchar2 " --- same as DB
- Attribute Type : still have old type "Number"
AND XML :
Name="Flage"
ColumnName="Flage"
SQLType="VARCHAR"
Type="oracle.jbo.domain.Number"
ColumnType="VARCHAR2"
TableName="Test"
IsNotNull="true"
Precision="200"
Error will raise if you try to insert Character into "Flage" field
and to fix problem we should change Attribute Type for EO to "Number" manually
so , it is function of "Synchronize with Data Base " to change
Column Type and not change Attribute Type ??? or there is some thing missing ??
Thanx
Wael No'man
Edited by: Wael No'man on Aug 16, 2009 11:05 PM
Hi,
Currently Jdev supports synchronizing the database column type & not the attribute type.
An Enhancement Request already exists for this.
Regards,
Shantala
Similar Messages
-
Hi all I am new in SUN Java Studio Creater and I having problem with
Data base can sombody help me how Can I create a data base.
I do not what I need to do that.
Is not come with Sun Java Studio or no.
if not which data base you think is the best to use with SUN java Studio
Creator.
Thanks alotFor a start, I guess you can explore the tutorial here:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp?cid=113303
To create database, I guess, it's better if you use the tool provided by the database. Which database? It can work with any databases provided that you can find the JDBC driver for the database.
JSC2 is a great product. Just give it a try! -
My daughters is getting her 748 Christmas card list ready and one of the fields will not conform to the font and color change from the menu.
It will indicate that it is size 18 but when viewed it is much smaller. All other fields conform to the selected size and color.
This problem is with the input layout as well as our Greeting cards layout.
We have been using this DB for over 10 years without problems. I have used many very large DB's in my business for years and have never seen this.
I took a copy of her DB home and tried it on my Mac and same problem.
Added note:
When I manually change the individual field in browse mode it will comform, but we don't want to manually change all 748 records.
Harold
17" Powerbk 1GB - 2 monitors Mac OS X (10.4.8) 3 external 500GB Lacie HD's / Lacie dual layer burner / iLife6Hi Harold,
Here's a workaround that could turn into a solution.
Make sure that you're working on a COPY of the database, as there is potential for an error to cause loss of data. The easiest way to create a copy is to do a Save as... and make a small change to the DB name. The newly named version will be the active version, preserving the "old" version from inadvertent changes.
In the "new" version:
Go Layout > Define Fields...
Define a new Calculation type field with the formula 'fieldname' , using the name of the recalcitrant field where I've used fieldname. Set the Display as button to Text (if appropriate).
Click OK, then Done. (This step is necessary to force the calculation of values for this field,)
Go Layout > Define fields... (again)
Click on the "new" field to select it.
Change its Type to Text (or to whatever type the "old" field was).
Click Modify, then Done.
Remove the "old" field from each layout where it appears, and replace it with the "new" field. Set the format in Layout for each occurence of the field.
Return to Browse, and Print a test page to check the results.
Regards,
Barry -
hi,
I am new with data bases in Java. I need to build a servlet that saves data in data base. I would like to use mySQL. I really don't know nothing about mySQL and JDBC, only that it is free and it uses SQL (which I knows).
What should I know and have in order to make this? what jars and what servers should I find? where can I find an example of how to create a data base and use it?
thanks, Naor.The JDBC tutorial....
http://java.sun.com/docs/books/tutorial/jdbc/index.html
The mysql site....
http://dev.mysql.com/
I suggest that the read the license carefully first. -
Active Data Guard-How to configure Auxiliary Data Base's Listener.
HI,
I am stuck in creating listener/tnsnames for auxiliary database as the problem happens because of the auxiliary instance has just started. It is now in NOMOUNT stage. The instance registration with the listener is performed by PMON process and to start the PMON process database need to be in mount stage. So, before the instance registration by PMON with the listener there is actually noting to register and hence the instance is BLOCKED.
http://www.oracle.com/technology/deploy/availability/pdf/oracle-openworld-2009/adg_hol_2009.pdf
I am following the above document.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JUL-2010 11:06:23
Uptime 0 days 0 hr. 11 min. 44 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u02/app/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.127.133)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.127.140)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "eagledb" has 1 instance(s).
Instance "eagledb1", status READY, has 1 handler(s) for this service...
Service "eagledbXDB" has 1 instance(s).
Instance "eagledb1", status READY, has 1 handler(s) for this service...
Service "eagledb_DGB" has 1 instance(s).
Instance "eagledb1", status READY, has 1 handler(s) for this service...
Service "nyc" has 1 instance(s).
Instance "nyc", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
I found some simillar solution on below link but it is aplicable for 10g or below.
http://arjudba.blogspot.com/2008/05/connection-to-auxilary-instance-failed.html
I am using enterprise linux with clusterware 11g rel 2 with data base 11f rel 2 on single machine.
Thanks
Anis
99826412
Muscat
Edited by: user12979506 on Jul 5, 2010 10:13 PMThe "auxiliary" is, I presume, actually a physical standby.
If so why is it in NOMOUNT? Why don't you start it?
alter database recover managed standby database cancel;
alter database open read only; -
Hi
i wolud like to interact with oracle database in atg so i created one ds file that is xml file after creation of ds file where i have to register that ds file in order to interact with data base in atgI believe you are referring to datasource xml. If you are on Weblogic you need to define the datasource from Weblogic console and it will create the corresponding xml in your domain's config/jdbc. If you are on JBoss you can create the datasource xml using an existing datasource xml which are already provided both in ATG and JBoss. Change the datasource name, driver, jdbc url and other parameters as per your setup and copy this datasource xml to your JBoss server's deploy directory. It will be loaded when you start that JBoss server. Then on ATG side, you will have to update /atg/dynamo/service/jdbc/JTDataSource component to provide it the same JNDI name that you specified in your datasource xml.
-
Connect to Data Base from Form Builder
I have installed Oracle Developer V.6 in the same machine with data base 8i . From Form Builder I can not connect to Data base with scott/tiger with the db_name in Data base 8i.
What should I do to connect it ?
Thanks ,
Nguyenyou need to define a sqlnet connection using the sqlnet easy configuration tool that comes with forms.
-
Sales order purchase order field is updated with dots in data base table
HI
we have problem in Production when sale order created
P O date is update with dots and these dots we are unable to see at screen and data base table
we go t change mode of the order and delete the P O field with back space (button) and saving the order
when we see the change log of the order
there it is sowing
Old value = " . . "
New Value = " 00.00.0000"
Can any one give the suggetions to come out of this problem
This is we have noticed with only two customers
Thanks and regards
Kishore
Edited by: DevarapalliKK on Oct 23, 2010 8:43 PM
Edited by: DevarapalliKK on Oct 23, 2010 8:44 PMHi Kishore,
Two things could have happened:
1) Since this is happening with only two customers - I am sure it has got to do with some custom code on your system which is causing this problem. I 'd suggest you to create a new order with all the fields
2) It could be a bug with SAP- might want to check relevant SAP Notes. ( But this could not be a reason, if yes should have had the same prob with all cusotmers)
regards
sadhu kishore -
Data Synchronization with laptop.
Hi All,
iam new to mobile programming.
iam sorry if iam posting this issue in a wrong forum.
my problem is.
my customer will have a laptop which has wireless connection with a network.
he connects to my application when the network is available and he performers normal insert,update or any such operations.
now he wants the same operations to be allowed when he is away from network i mean when his laptop is not connected. but it should store the information at the local database and once the connection is acquired then the data must get synchronize with my application.
this synchronization should happen automatic or on demand basis.
to put the problem more clearly.
we can take the analogy of microsoft out look mail client.
which allows us to draft mail even or when no connectivity and it will be in outbox as long as there is no connection(in case when there is no connection) once connection is acuired then the mail will be sent automatically.
please help me how can achieve the above.
if any body can provide me the example links or steps to performe then i can take care of the rest.
Thanks in advance
RaviYes, I installed Palm Desktop 4.1.4 successfully and brought in the application directly from Palm.com. The check mark is next to Local USB (when I right-click on blue and red HotSync icon). I cannot Sync.
What other settings do I need to 'look at' or 'confirm' within HotSync? Please advise!
Post relates to: Palm V
Post relates to: Palm V -
Char '¦' gets replaced with '|' in sp source when restoring a data base.
char '¦' gets replaced with '|' in sp source when restoring a data base. This makes the procedure put a character for separating a string different (|) from the espected one (¦). And this makes the application failed.
Can anyone help me out?
Thanks,
FrankI'll follow the thread in Data Base - General from now on.
In case u see this one first:
To ALL:
Thanks 355099, Joel, and Justin:
Oracle9i Enterprise Edition Release 9.2.0.4.0
Charset: ?? I'll will ask the data base guy. (we are preaty small). It is reported as a bug in my system, the thing is I usually do not program against this kind of bug. :)
Anyways, the usage is as follows, this guy uses an empty restore to install the database for application installation purposes.
instaed of running some scripts the test for the instalation is done as a restore.
import/export is the action being done here.
Again I use the ¦ char to separate a string array.
Something to consider is that the chars are:
124 | and 166 ¦
They are both ascii aren't they?
Why would the impor/export change the char ¦ for |?
if is a charset problem why isn't the changed char a ? or a # or a 9 or a non printable char, instead it changes for a |.
x_x
Frank -
can we with ligthroom have the sofware set up on multiples computer mac and mc and share the same dat base library?
No, a Lightroom catalog cannot be on a networked drive, and can only be accessed by a single user at a time.
-
Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.
I prefer to view in All contacts on a double page spread with details on the right page. Searching doesn't seem to work correctly in this view.
It's always the second search that is problematic.
I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
I've tried to use the x to clear the previous entry and then type the next search, same problem. The only way seems to be to move from "All Contacts" to "Groups". Then the searched name appears and I can return to All Contacts to see full details.
Surely three key press' are not the way it's supposed to work?
FYI
Processor 2.7 GHz Intel Core i7
Memory 8 GB 1333 MHz DDR3
Graphics Intel HD Graphics 3000 512 MB
Software Mac OS X Lion 10.7.3 (11D50d)
Address book Version 6.1 (1083)
MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7AddressBook experts are here:
https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386 -
Best Practice for SAP PI installation to share Data Base server with other
Hi All,
We are going for PI three tire installation but now I need some best practice document for PI installation should share Data base with other Non-SAP Application or not. I never see SAP PI install on Data base server which has other Application sharing. I do not know what is best practice but I am sure sharing data base server with other non-sap application doesnu2019t look good means not clean architecture, so I need some SAP document for best practice to get it approve from management. If somebody has any document link please let me know.
With regards
SunilYou should not mix different apps into one database.
If you have a standard database license provided by SAP, then this is not allowed. See these sap notes for details:
[581312 - Oracle database: licensing restrictions|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=581312]
[105047 - Support for Oracle functions in the SAP environment|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=105047] -> number 23
23. External data in the SAP database
Must be covered by an acquired database license (Note 581312).
Permitted for administration tools and monitoring tools.
In addition, we do not recommend to use an SAP database with non-SAP software, since this constellation has considerable disadvantages
Regards, Michael -
How to save data aquired with NI mydaq and save it in a data base using Labview?
i have developped with labview an interface that can control automatic irrigation station using two sensors ( humidity sesonr and temperature sensor) so i want to save data aquired during a year in a data base so i can compare these results in the next year please help me to do that in my interface labview and thanks
Attachments:
PFE.vi 223 KBThere is a database toolkit for LabVIEW. I don't think it is a free download however. With the Data Manipulation toolkit, you can integrate with most databases that use the ODBC protocol.
If you don;t need anything fancy, you can write the values out to file using the write/read spreadsheet VIs. If the file is [COMMA] or [TAB] delimited, you can import it into your database with ease.
Another approach is to format you output to a text file as SQL, and import the records that way.
INSERT INTO TEMP_HUM_TBL (Temperature, Humidity, Txn_Date)
VALUES (30, 95, 'Dec-24-2013');
Machine Vision, Robotics, Embedded Systems, Surveillance
www.movimed.com - Custom Imaging Solutions -
One application module with 3 differente data base connections
I have 3 different servers for data base connections. The main is "sys", the second "stanby" and the third: "bdbatch". In the old application,that i m re programating, uses a properties to read the connection. If the main is not available then goes to the stanby an then to the third. With this new application with adf i have to do the same. So how can i configure the application module to do this? do i have to make extra code? or just configure an xml file??
i faced this problem before in Dynamic JDBC Credentials topic solution provided by Steve Muench (to make your AM Databse Connection to be dynamic as you need).
http://smuenchadf.samplecode.oracle.com/samples/11gDynamicCredentials.zip
Note : Example Contains the Full JDBC Connection String in dynamic way
i finished this solution in my App and Successed.
Thanks
Maybe you are looking for
-
How do I Fix hangsup upon opening/closing a private window?
Firefox says I need to close an existing instance of the browser after closing an opened private browsing window, regardless of whether I browse the web in the window or not. Simply opening a private browsing window makes Firefox hang upon exiting.
-
Business agreement - Edit payment conditions in Customizing
Hi Guys, I am getting below error when i am trying to create business agreement from CRM IC. Error - Edit payment conditions in Customizing I have completed all the required setting in CRM as well as in ISU for business agreement creation as well as
-
Why can I not get my user ID to "stick" when visiting web sites that I am registered with?
Why can I not get my user ID to "stick" when visiting web sites that I am registered with?
-
Ws_upload # problem
hi, I am uploading a file using ws_upload, in my itab every field has extra # character. why this character is in the fields of itab. Regards, sohail
-
Oracle to informix data import
Hi all, I have an Oracle database from which one I want to push data into an Informix database. Is there any way to create a cron job that updates my informix table based on my oracle data ( I mean, push missing data from my Oracle db to my Informix