Help!! Database Schemas
I'm a newbie in Oracle and OracleAS Portal, i'm doing my professional practices and i need a guidence.
I have a lot of questions but I'll start with this:
I don't completely understand what are the database schemas, I created one and I create tables in that schema and added data to those tables, bur I can use them...
so by creating an schema did I create sort of a database or not?
why do i have trouble connecting to that schema? like i tried to create a database link but this error came out:
The database link was created successfully, however, connection to the remote database using the link TRY2 cannot be established. (WWV-17135)
ORA-12154: TNS:could not resolve the connect identifier specified (WWV-11230)
Failed to parse as PRUEBA - Select 'Passed' from dual@TRY2 (WWV-08300)
or when i try to connect using SQL throws this error:
Connection wasn't stablished. [Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: desarrollo06:1521:PRUEBA ]
DunkelBlume
Dunkel,
A database can contain many schemas. If you created a schema in Portal, you will not have created a new database. You do have a private space in the Portal database that you can use to create tables, as you have found out.
From elsewhere within Portal you don't need to create a database link. You can refer to the tables you created using the syntax SCHEMA_NAME.TABLE_NAME
You will have to grant access privileges to the tables to the user you are using to access them.
The easiest way to build a portal application is to create a database provider that is based on the schema you have created (if the schema is in the Portal database). Then all your tables are instantly available to any portal objects you care to create.
If your schema exists on a remote database server, then you will have to create a database link. My preferred way to do this is to create a schema on the Portal application server to contain the database link. I then create synonyms of the remote database tables, which effectively fools Portal into thinking they are local objects. The only exception to this are tables with LOB columns (BLOB, CLOB, etc) which won't work across a database link.
Hope this helps,
Patrick.
Similar Messages
-
Help me to fix the error while running DBMaintain Against the Database Schema in ASE.
Hi All,
I am trying to install sybase mobiliser platform 5.1 SP 03.I am referring the following guide
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
Now I have configured the ASE database server with default settings and now it is running fine.
Now my concerns are as follows:
1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
How do I check the created database schema and user with default name 'mobr5'?
2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
database.userName=mobr5
database.schemaNames=mobr5
database.password=paybox
#Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
#e.g. /path/to/driver.jar
#database.driverLocation=/path/to/jconnect.jar
database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
When I execute the script archives ,
java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
I get the following error:
So please help me to resolve the issues.Hi All,
Issue is resolved and database has been updated successfully..
Error was in database .url field of dbmaintain.properties.ase file.
I have changed the database.url field from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
to database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance. -
Installation stuck at Create database schema Phase 13 of 27
Hi
I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
INFO 2009-03-12 16:52:00.443 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP\saplog.
INFO 2009-03-12 16:52:00.474 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory E:\sapdb\NSP\sapdata.
INFO 2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
File sapdb.inf does exist. Will use the commands in file sapdb.inf.
INFO 2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
Also see log browser from the installation window............................
Please see below as it is geeting stuck at
component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component current="true"><![CDATA[Create users for SAP system]]></component><component current="true"><![CDATA[Install common system files]]></component><component current="true"><![CDATA[Unpack SAP archives]]></component><component current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
<button sid="btPREV" default="false" enabled="false" >
vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component CDATA[Prepare database schema for ABAP]]></component><component current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:39 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
Mar 12, 2009 5:43:59 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:08:17 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:30:31 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Thanks in advance
VikasGuess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
Do see the last step create DB schema....... The previos log was from sapinst_dev.log
Oliver I have a doubt could it be becuase of the host name.
The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
the prerequisite page shows
"For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
Can this be the reason???
Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ... services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
INFO 2009-03-12 17:12:35.412
Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:35.726
Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:37.718
Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:38.722
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0 -
Hi,
VS2013, SQL Server 2012 Express LocalDB, EF 6.0, VB, desktop application with an end user database
What is a reliable method to follow when there is a schema change for an end user database used by a deployed application? In other words, each end user has their own private data, but the database needs to be expanded for additional features, etc.
I list here the steps it seems I must consider. If I've missed any, please also inform:
(1) From the first time the application is installed, it should have already moved all downloaded database files to a separate known location, most likely some sub-folder in <user>\App Data.
(2) When there's a schema change, the new database file(s) must also be moved into the location in item (1) above.
(3) The application must check to see if the new database file(s) have been loaded, and if not, transfer the data from the old database file(s) to the new database file(s).
(4) Then the application can operate using the new schema.
This may seem basic, but for those of us who haven't done it, it seems pretty complicated. Item (3) seems to be the operative issue for database schema changes. Existing user data needs to be preserved, but using the new schema. I'd like
to understand the various ways it can be done, if there are specific tools created to handle this process, and which method is considered best practice.
(1) Should we handle the transfer in a 'one-time use' application method, i.e. do it in application code.
(2) Should we handle the transfer using some type of 'one-time use' SQL query. If this is the best way, can you provide some guidance if there are different alternatives for how to perform this in SQL, and where to learn/see examples?
(3) Some other method?
Thanks.
Best Regards,
AlanHi Uri,
Thank you kindly for your response. Also thanks to Kalman Toth for showing the right forum for such questions.
To clarify the scenario, I did not mean to imply the end user 'owns' the schema. I was trying to communicate that in my scenario, an end user will have loaded their own private data into the database file originally delivered with the application.
If the schema needs to be updated for new application features, the end user's data will of course need to be preserved during the application upgrade if that upgrade includes a database schema change.
Although I listed step 3 as transferring the data, I should have made more clear I was trying to express my limited understanding of how this process "might work", since at the present time I am not an expert with this. I suspected my thinking
is limited and someone would correct me.
This is basically the reason for my post; I am hoping an expert can point me to what I need to learn about to handle database schema changes when application upgrades are deployed. For example, if an SQL script needs to be created and deployed
then I need to learn how to do that. What's the best practice, or most reliable/efficient way to make sure the end user's database is changed to the new schema after the upgraded application is deployed? Correct me if I'm wrong on this,
but updating the end user database will have to be handled totally within the deployment tool or the upgraded application when it first starts up.
If it makes a difference, I'll be deploying application upgrades initially using Click Once from Visual Studio, and eventually I may also use Windows Installer or Wix.
Again, thanks for your help.
Best Regards,
Alan -
Database schema SCM does not contain the associated database objects
I am getting the following error when i am trying to migrate the form to apex using application migration.
"*Database schema SCM does not contain the associated database objects for the project, aafs.*
*Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
Actully i am having one schema which i named as SCM, and i have defined one table TT.
I created one form test.fmb in which i used TT table.its compiled successfully.
Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
Project creattion is working fine.but when i m trying to create application,it is showing me above error.
can any one help in solving this problem.Hi Hilary,
Thanks for your response/feedback.
1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
Ans:
Yes it does contain the objects (See results from SQL query Commands below):
SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
ORDER BY MWRA_CONTRACT_NO
000000569 551TA
000000570 553TA
000000575 560TA
000000576 561TA
000107888 502TA
000108498 500TA
000108502 503TA
2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
-> delete the buttons before generating the XML
-> delete the button tags from the XML
-> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
Ans
yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
- <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
<Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
</Item>
- <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
<Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
</Item>
- <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
Workspace: contract4
username: [email protected] (my email)
Password: contract4
Comments:
For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
Do we know when the fix 4.0.1 patch release will be available?
Thanks for your help.
Indra -
How to change database schema of data source in OWB?
Hi,
Could someone give me hint about my questions:
I select many database schema in TOAD. like "My Shema" and "All Schema".
If I create a Oracle Data Source in OWB 10.2. All tables/viewsI can see only from "My Schema" (I think it is default), However, I need to connect "All Scema". There are lots of prod tables/views. I don't know how to set/change/config in OWB even reading guide.
Thanks a lot
LanLan,
You can ONE of the following:
1. Dbl click the src/target module and go to metadata location tab and select a location that has the details pointing to the different schema (If you do not have this location created, you may have to create one).
2. Create synonyms in "My Schema" to objects from other schema. Then try to import the tables again. This time you will be able to see the other tables (the icon will be different for synonyms.)
Hope That Helps.
Kaushik. -
New User Database schema and table name
When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful.
WebCenter (and WebCenter spaces) uses an 'identity store' instead of database schema for storing user information - in an 'out of the box' installation, users are maintained through an embedded WebLogic LDAP store.
See the Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter, p. 34-2.
At the end of section 34.4.1:
WebCenter Spaces supports self-registration. When new WebCenter users
self-register, they create their own login and password and a new user account is
created in the identity store. See also, Section 34.4, "Allowing Self-Registration".
user9097357 wrote:
When i create a new user in Oracle Webcenter Spaces 11g, I am not able to get the name of the database schema and table, where it is stored. Any insight on this will be very helpful. -
Problem adding database schema , eroor : not connected
Thank you for reading my post
I download the demo sample from oracle soa web site . and i am trying to follow the tutorial to
create the database schema, to make this step complete
I create oracle_home and oracle_SID variables (Windows OS )
then
I open an sqlplus session (sys/pass as sysdba) and to make sure that i am
connected i execute
select * from V$database ;
it works
then i execute :
select * from hr.jobx
it works file.
it mean that i am connected to database.
but when i execute @build.sql i get the following errors , can some one help me ?
i should say that after i execute the @build.sql i can not execute any command because it says that SP2-0640:Not connected
SQL> @build.sql
old 1: DROP USER &&1 CASCADE
new 1: DROP USER SOADEMO CASCADE
DROP USER SOADEMO CASCADE
ERROR at line 1:
ORA-01918: user 'SOADEMO' does not exist
SP2-0734: unknown command beginning "DEFAULT TA..." - rest of line ignored.
SP2-0734: unknown command beginning "TEMPORARY ..." - rest of line ignored.
SP2-0734: unknown command beginning "QUOTA UNLI..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0734: unknown command beginning ", create p..." - rest of line ignored.
SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", create v..." - rest of line ignored.
SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
SP2-0734: unknown command beginning ", alter se..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", create m..." - rest of line ignored.
SP2-0734: unknown command beginning ", query re..." - rest of line ignored.
SP2-0734: unknown command beginning ", create d..." - rest of line ignored.
SP2-0734: unknown command beginning ", create a..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", alter us..." - rest of line ignored.
SP2-0734: unknown command beginning ", resumabl..." - rest of line ignored.
SP2-0734: unknown command beginning ", ALTER AN..." - rest of line ignored.
SP2-0734: unknown command beginning ", DROP ANY..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", LOCK ANY..." - rest of line ignored.
SP2-0734: unknown command beginning ", CREATE A..." - rest of line ignored.
SP2-0734: unknown command beginning ", SELECT A..." - rest of line ignored.
SP2-0042: unknown command "TO &&1" - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", execute_..." - rest of line ignored.
SP2-0042: unknown command "TO &&1" - rest of line ignored.
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
drop table 'ITEMS'
SP2-0640: Not connected
drop table 'ADDRESS'
SP2-0640: Not connected
drop table 'CUSTOMER'
SP2-0640: Not connected
drop table 'ORDERS'
SP2-0640: Not connected
drop table 'PRODUCT'
SP2-0640: Not connected
drop table 'CUSTOMER_ADDRESS'
SP2-0640: Not connected
drop sequence 'EJB_SEQ_ID_GEN'
SP2-0640: Not connected
drop sequence 'ADDRESS_EJB_SEQ_ID_GEN'
SP2-0640: Not connected
drop sequence 'ORDER_SEQ_ID_GEN'
SP2-0640: Not connected
drop table 'SSN'
SP2-0640: Not connected
SP2-0640: Not connected
create table 'ITEMS'
SP2-0640: Not connected
create table 'ADDRESS'
SP2-0640: Not connected
create table 'CUSTOMER'
SP2-0640: Not connected
create table 'CUSTOMER_ADDRESS'
SP2-0640: Not connected
create table 'ORDERS'
SP2-0640: Not connected
create table 'PRODUCT'
SP2-0640: Not connected
create primary key constraint on 'ITEMS'
SP2-0640: Not connected
create primary key constraint on 'ADDRESS'
SP2-0640: Not connected
create primary key constraint on 'CUSTOMER'
SP2-0640: Not connected
create primary key constraint on 'ORDERS'
SP2-0640: Not connected
create primary key constraint on 'PRODUCT'
SP2-0640: Not connected
create foreign key constraint on 'ITEMS'
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
create foreign key constraint on 'ORDERS'
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
What OBJECTS were created?
SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
SP2-0734: unknown command beginning "from user..." - rest of line ignored.
SP2-0734: unknown command beginning "order by 1..." - rest of line ignored.
Are there any INVALID OBJECTS?
SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
SP2-0734: unknown command beginning "from user..." - rest of line ignored.
SP2-0734: unknown command beginning "where sta..." - rest of line ignored.Hi
I almost resolved the issue but i do not know whether it is a correct path that i used or not.
i have made some changes in build.sql as follow :
-i changed the schema name to HR , and its pass to HR_PASS
-i comment schema creation command
now it successfully executed.
but i can not understand what was the problem.
Thanks -
Prime Infrastructure 2.0: Open Database Schema Support available?
Hello,
I searched the forum for an Open Database Schema Support for PI.
I only found Open Database Schemas for the Cisco Works LAN Managemet Solutions and Cisco Prime LAN Managemet Solutions.
Exists an open Database Schema Support for Prime Infrastructure 2.0 as it exists for the older LAN Managemet Solutions ?
Thanks.
BastianProgrammatic interface to Prime Infrastructure is done via the the REST API vs. any open database schema.
There are published reference guides here. For the most up to date information, please see your PI server itself. In Lifecycle view, the help menu has a link to the server-based API information: -
VS2013 suddenly unable to read database schema on Azure server
Hi,
I have 2 databases on an azure server. Everything worked well until yesteday: VS2013 is now unable to read any database schema on this Azure server (same operations on an SQL EXPRESS instance are performed without problem).
When I try to open any table definition, I have "the designer encountered an error while loading the table definition"
When I try to rebuild after update the model (EF6) from database (I added a stored procedure), I have:
"The target database schema could not be retrieved. Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. " (note that when I launched "update
model from database", I had no problem. The fuss happens during the build).
But I still can read data and execute procedure from Azure using VS 2013. I did not alter any credential. Using the same credentials, I still can create/update tables/procédures from Azure portal.
I am a very basic user of VS2013 and Azure, I did not install or create anything weird on it.
I emphisize same operations on an SQL EXPRESS instance are performed without problem.
Thanks for help.
OlivierHello Olivier,
Sorry for the inconvenience because of the above issue.
Could you please try the new SSDT (preview) tool and check if you are able to get the table definition or not.
http://blogs.msdn.com/b/ssdt/archive/2014/12/18/sql-server-database-tooling-preview-release-for-the-latest-azure-sql-database-update-v12-preview.aspx
Download link : http://www.microsoft.com/en-us/download/details.aspx?id=45319
Thanks,
Mukesh -
Creating new database schema in jdev
can I create new database schema in jdev.If yes how?
I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
Please help..I have checked many links but they are telling how to create connection to an existing database but not to create new databse?
Database is required to be installed and a database instance created.
Oracle Database Software Downloads | Oracle Technology Network | Oracle </title><meta name="Title" co… -
How can I use a mySQL database schema with numeric auto increment primary key instead of GUID?
Hello!
I'm using the TestStand "MySQL Insert (NI)" database schema with GUID as primary key. So everything works fine.
But I prever using numeric values as primary key, because the database is in conjunction with another database which uses numeric values as primary key.
Is this possible?
Has anyone an idea how I can modify the "Generic Recordset (NI)" for use with MySQL?
Thanks!
Configuration:
Microsoft Windows XP
TestStand 3.1
MySQL 4.1.12a
MySQL ODBC 3.51 Driver
BrosigAdam -
The TestStand Database Logging feature does not allow you to run a separate SQL command after executing the command for a statement(table), so I do not think that you can use an auto incrementing column for the tables. There is just no way to get it back in a generic way. One option that I tried is something similar to the Oracle schema where you call a store procedure to return a sequence ID for each record that you want to add.
So you would have to create the following sequence table in MySQL:
CREATE TABLE sequence (id INT NOT NULL);
INSERT INTO sequence VALUES (0);
Then create a stored procedure as shown below that will increment the sequence value and return it in a recordset:
CREATE PROCEDURE `getseqid`()
BEGIN
UPDATE sequence SET id=LAST_INSERT_ID(id+1);
SELECT LAST_INSERT_ID();
END
Then update the MySQL tables to use INT primary and foreign key values, so the TestStand MySQL SQL file to create all tables would have text like this:
CREATE TABLE UUT_RESULT
ID INT PRIMARY KEY,
~
CREATE TABLE STEP_RESULT
ID INT PRIMARY KEY,
UUT_RESULT INT NOT NULL,
~
Then update the schema primary and foreign key columns in the TestStand Database Options dialog box to be INT to match the table. For the primary key columns, you will have to set the Primary Key Type to "Get Value from Recordset" and set the Primary Key Command Text to "call getseqid()". This will call the stored procedure to determine the next value to use as the ID value.
Hope this helps...
Scott Richardson
National Instruments -
LMS 4.0.1 cannot access rmeng database via Open Database Schema Support
Hi,
we are running LMS 3.2 and I am using Open Database Schema Support to transfer the data from cmf, ani and rmeng databases.
We now want to migrate to LMS 4.0.1 and I am trying to use the same scripts to do the same. I am using iAnyWhere JDBC Access Method, the same one I use successfully with LMS 3.2. Can access the tables in cmf and ani databases, but cannot the tables in rmeng database. I do not think my scripts are wrong, I more think enabling access to databases does not work correctly.
I tried to run dbaccess.pl in debug mode and can see there are errors for example while enabling access to the table NETWORK_DEVICES in rmeng, please see the log below.
We tried to restart LMS and also the whole server ( it is MS Windows 2008 R2 on VMware ), but this did not help.
Appreciate if anyone has an idea what could be wrong.
Thanks,
Vlad
D:\BAT>%cwbin%perl %cwbin%dbaccess.pl install debug
Enter new Password for database view user [lmsdatafeed]:
Re-enter new Password:
Executing on cmf...
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatafeed' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
Executing on ani...
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatafeed' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
Executing on dfmFh...
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatafeed' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
Executing on rmeng...
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatafeed' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: User ID 'lmsdatagrp' does not exist (DBD: execute failed).
WARN: Table 'SYSLOG_TODAY' not found (DBD: execute failed).
WARN: Table 'SYSLOG_LASTDAY' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: External login for server 'CMFSA' could not be found (DBD: execute fail
ed).
WARN: Remote server 'CMFSA' could not be found (DBD: execute failed).
WARN: Unable to connect to server 'CMFSA': [Microsoft][ODBC Driver Manager] T
he specified DSN contains an architecture mismatch between the Driver and Applic
ation (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'Network_devices' not found (DBD: execute failed).
WARN: Table 'NETWORK_DEVICES' not found (DBD: execute failed).
WARN: Table 'DEVICE_INVENTORY' not found (DBD: execute failed).
WARN: Table 'MEMORY_INVENTORY' not found (DBD: execute failed).
WARN: Table 'DEVICE_CREDENTIAL_STATUS' not found (DBD: execute failed).
WARN: Table 'PROCESSOR_INVENTORY' not found (DBD: execute failed).
WARN: Table 'DEVICE_INVENTORY_COLLECTION_STATUS' not found (DBD: execute fail
ed).
WARN: Table 'DEVICE_CONFIG_ARCHIVE_STATUS' not found (DBD: execute failed).
WARN: Table 'CHANGE_AUDIT_HISTORY' not found (DBD: execute failed).
WARN: Table 'MODULE_INVENTORY' not found (DBD: execute failed).
WARN: Table 'PORT_INVENTORY' not found (DBD: execute failed).
WARN: Table 'DEVICE_ENERGYWISE' not found (DBD: execute failed).
WARN: Table 'PORT_ENERGYWISE' not found (DBD: execute failed).
WARN: Table 'SYSLOG_TODAY' not found (DBD: execute failed).
WARN: Table 'SYSLOG_LASTDAY' not found (DBD: execute failed).Hello Joseph,
thanks for the reply. I was confused because I am not getting any such errors on LMS 3.2 server.
I am using many Java programs that work well with LMS3.2, but let me mention one that is probably the best to demonstrate the issue I have with the new version. It works well on LMS3.2 with all databases. On LMS4.0.1 it works well with cmf and ani, but cannot dig any data from rmeng.
Here is the batch I run on the LMS 4.0.1 server ( it is not the whole file as it is much larger ):
=================================================================================
@echo *************************************
@echo Starting Creating MySQL Mirror file
@echo *************************************
set classpath=d:\progra~2\CSCOpx\lib\classpath\;d:\bat\
@echo Common Services db, Network_Device view
java CW_Java_CreateSQL cmf password Network_Devices CW_Network_Devices CW_Network_Devices.txt Device_Id Device_Display_Name Management_IpAddress Host_Name Domain_Name sysObjectID Device_Category Device_Series Device_Model UDF0 UDF1 UDF2 UDF3 UDF4 UDF5 UDF6 UDF7 UDF8 UDF9 UDF10 UDF11 UDF12 UDF13 UDF14 UDF15
goto jv1_%errorlevel%
:jv1_0
@echo Campus Manager db, End Hosts view
java CW_Java_CreateSQL ani password End_Hosts CW_End_Hosts CW_End_Hosts.txt HostName UserName IPAddress SubnetMask MACAddress DeviceName Device LastSeen Port VLAN Subnet Notes PrefixLength PortDuplex VTPDomain VlanId PortName IPv6Address dot1xEnabled associatedRouters
goto jv2_%errorlevel%
:jv2_0
@echo Resource Manager Essentials db, Device_Inventory view
java CW_Java_CreateSQL rmeng password Device_Inventory CW_Device_Inventory CW_Device_Inventory.txt Device_Id Device_Display_Name Device_Description Device_Location Device_Contact Device_SW_Version User_Defined_Serial_Number
goto jv3_%errorlevel%
:jv3_0
@echo Resource Manager Essentials db, Module_Inventory view
java CW_Java_CreateSQL rmeng password Module_Inventory CW_Module_Inventory CW_Module_Inventory.txt Device_Id Device_Display_Name Module_Name Vendor_Type SW_Version FW_Version Slot_Number Oper_Status Admin_Status
goto jv4_%errorlevel%
:jv4_0
@echo Resource Manager Essentials db, Port_Inventory view
java CW_Java_CreateSQL rmeng password Port_Inventory CW_Port_Inventory CW_Port_Inventory.txt Device_Id Device_Display_Name Port_Name Port_Desc Port_Type Port_Admin_Status Port_Oper_Status Port_Speed Port_Duplex_Mode Is_Link_Port Is_Access_Port Is_Trunk_Port Is_Port_Channel Vlan_Name VlanId VTPDomain Neighbour_Type
goto jv5_%errorlevel%
:jv5_0
@echo Resource Manager Essentials db, Processor_Inventory view
java CW_Java_CreateSQL rmeng password Processor_Inventory CW_Processor_Inventory CW_Processor_Inventory.txt Device_Id Device_Display_Name Processor_model_name Processor_vendor_type Processor_manufacturer serialnumber
goto jv6_%errorlevel%
:jv6_0
@echo *************************************
@echo Finished Creating MySQL Mirror file
@echo *************************************
=================================================================================
Here is the log:
=================================================================================
Starting Creating MySQL Mirror file
D:\BAT>set classpath=d:\progra~2\CSCOpx\lib\classpath\;d:\bat\
Common Services db, Network_Device view
D:\BAT>java CW_Java_CreateSQL cmf password Network_Devices CW_Network_Devices CW_Ne
twork_Devices.txt Device_Id Device_Display_Name Management_IpAddress Host_Name D
omain_Name sysObjectID Device_Category Device_Series Device_Model UDF0 UDF1 UDF2
UDF3 UDF4 UDF5 UDF6 UDF7 UDF8 UDF9 UDF10 UDF11 UDF12 UDF13 UDF14 UDF15
D:\BAT>goto jv1_0
Campus Manager db, End Hosts view
D:\BAT>java CW_Java_CreateSQL ani password End_Hosts CW_End_Hosts CW_End_Hosts.txt
HostName UserName IPAddress SubnetMask MACAddress DeviceName Device LastSeen Por
t VLAN Subnet Notes PrefixLength PortDuplex VTPDomain VlanId PortName IPv6Addres
s dot1xEnabled associatedRouters
D:\BAT>goto jv2_0
Resource Manager Essentials db, Device_Inventory view
D:\BAT>java CW_Java_CreateSQL rmeng password Device_Inventory CW_Device_Inventory C
W_Device_Inventory.txt Device_Id Device_Display_Name Device_Description Device_L
ocation Device_Contact Device_SW_Version User_Defined_Serial_Number
Exception in thread "main" java.sql.SQLException: [Sybase][ODBC Driver][SQL Anyw
here]Table 'Device_Inventory' not found
at ianywhere.ml.jdbcodbc.IIStatement.executeQuery(Native Method)
at ianywhere.ml.jdbcodbc.IStatement.executeQuery(IStatement.java:201)
at CW_Java_CreateSQL.main(CW_Java_CreateSQL.java:102)
D:\BAT>goto jv3_1
Error Creating MySQL Mirror file
=================================================================================
The line 102 in Java program is this line:
rs = stmt.executeQuery(query);
Attached is the full Java program - CW_Java_CreateSQL.java
Thank you,
Vlad -
Mapping UML Model to Database Schema
Hi All,
Is it possible to map UML business object model on database schema using Mapping Workbenck? I've done the mapping with imported java classes, but wodering if same could be done with the UML models. I couldn't find any documentation about it either. This feature may be very useful in cases where you want to incorporate TopLink in the design stages of a project.
Any help will be highly appreciated. Thanks.Hi Sharad,
I agree that incorporating design time practices into this tool might be useful, but is not supported as you described.
From the perspective of application development, I find it useful to first develop the object model in an IDE such as JDeveloper which supports UML (Which will automatically allow you to deploy the .class files of the project). I point my MW project to the output location of my .class files which seems to work great as I can make changes to the object model in the IDE and easily refresh the contents in the MW.
I hope this helps.
Darren -
How to create a database schema
could any one help me with database schema I need create one
thanks!I am told that I am connected to an idle instance...not sure what this means It means the database is down. Because you connected AS SYSDBA your connection did not fail; if you had attempted to connect as any other user you would have got the ORA-01034 immediately. So all you need to do is startup the database:
SQL> startupBy the way it is considered bad form to resurrect old threads, especially when (as in this case) your issue is not really germane to the original post.
Also, if you're going to tool around in a database as SYSDBA you really ought to familiarize yourself with the documentation: start with the Concepts Guide and the the two-day DBA manual.
Cheers, APC
Blog : http://radiofreetooting.blogspot.com/
Maybe you are looking for
-
How do you create action sets in PSE9?
I'm trying to figure out how to create my own automated action sets in PSE9. When I go into the Action Player section in the right hand panel, there is a "Tip" that states the following: "Tip: Photoshop Elements includes some action sets for you. You
-
My passed exam is missing from MCP Recent Passed Exam List
As the topic, I passed MCSA 2008 exam 073-642, 646, 640, but only two of them (073-640 & 073 - 642) are listed on my exam history. I have scan PDF file to prove it. How can I add it in my exam history? Looking forward to your timely response. Regards
-
Ok so I have the lacie rugged 5400rpm drive which I thought was 7200 when I bought it but oh well. But I noticed when I do a aja system test I still get like 50mb/sec read / write. Isn't that good enough for video, nevermind the speed?
-
Passing data to table control in screen exit - IW33 (IWO000018)
Hi Experts, I am stuck in middle of a screen exit. Request your kind help on this. Requirement scenario: - To add an additional tab named "Estimated Costs" in transaction IW31, IW32, IW33. This tab will include a table control with 4 columns: - Opera
-
URGENT,,Form Run time problem
Hi all, I just wondering whether you can assist me with the problem I have with running a form. When I try to Program Run Form, IE page opens and I have this error msg: "Bad Gateway The following error occurred: The IP address was not found during th