How to coonect developer with database
hi all
please help me with connect developer suite 10g with oracle database 10g
it gives me this error when i want to connect to a user
cannot connect TNS listener
Thanks
Hi,
Did you check the tnsnames.ora file contains the connection identifier in the folder *<dev_suite_home>\NETWORK\ADMIN*. And if it is not, then just copy the tnsnames.ora file from *<oracle_home>\db_1\NETWORK\ADMIN* to *<dev_suite_home>\NETWORK\ADMIN* and check.
Regards,
Manu.
If my response or the response of another was helpful or Correct, please mark it accordingly
Similar Messages
-
[b]How can i connect with database(oracle 9i) from form developer at runtim
Hi Friends,
My problem is as follows, please show me a way.
Let's asume, I have form (developed in 6i) which has database data block. Now, at form level a have assigned on_logon trigger and I have written the following PL/SQL statement in that trigger:
begin
null;
end;
So, when I run this form without connecting to database It does not prompt for a connection. Now I have button lebeled as "Connect" in this form, when user will click on it it will display a window having text boxes to enter user name, password and database name; once the user fill those text boxes and click on a button lebeled as "Ok" then the form runtime environment should be connected with database as per information provided by user. Here to mention that the user already been created, only the connection will be stablished. For example: I want to connect the form with database as "scott/tiger@oradata9i".
To do this, what PL/SQL command statement should i write in that "OK" button's "when_button_pressed" trigger?
If any of you know about this please help me.Hi
I've answered this question already. If I understand you right, you can use 'LOGON' built-in of Forms. Take a look into documentation. -
How synchronize EJB diagram with database
hi
i need synchronize EJBv3.0 entity diagram with database but when i click in diagram the connection of database is deactive.
in BC diagram e synchronize entity with database with not problem but ejb entity i not, why?
i work in Jdev 11.1.1.0.2.
best regardshi ...
i change the database table and i want to refresh the EJB entity, how do this?
best regards -
How to connect java with database without any dsn.
is there any way to connect java with database with out creating any dsn..like we do in ado in vb by providing provider.
Sure use a type 4 driver. No DSN.
-
Hi
Using SDDM 3.3.
How does one get to synchronise changes/differences in 'contexts' (defined in physical model - Oracle DB)?
I have tried to synchronize both ways, i.e. model to db and db to model, but never does it show the DDL necessary to create the missing context.
Yes, Context is selected/ticked under preferences for Oracle DB synchronization preferences.
Thank you & RegardsHi Philip
If I use the "generate DDL" option from the toolbar, it does generate DDL for the context I have in the physical model. I can select/deselect them in the DDL Generation Options window.
Why then would it not generate DDL when comparing the model with the database, i.e. using the "synchronise data dictionary to model" option? It successfully generates a 'patch'/change script for tables, views, packages, etc.?
Thank you & Regards
PS. I am asking for a way to get it to generate me a complete 'patch'/change script. -
How to use JTable with DataBase
Dear All,
how can i show a table in a frame that containes a data from a database, then can edit , add and delete some records in the database
thnx 4 allHi
I've used below codes for fetching data in JTable.
try{
DataRequest = Db.createStatement();
Results = DataRequest.executeQuery("SELECT * FROM Employee");
rm = Results.getMetaData();
col = rm.getColumnCount(); //getColumnCount and store it in integer variable col;
Vector colNames = new Vector();
for (int i = 1; i<= col; i++){
colNames.addElement(rm.getColumnName(i));
while(Results.next()){
Vector row = new Vector();
for(int i = 1; i <= col; i++){
row.addElement(Results.getObject(i));
data.addElement(row);
jDataTable.setModel(new DefaultTableModel(data,colNames));
jDataTable.revalidate();
Results.close();
catch (SQLException sql){
JOptionPane.showMessageDialog(this, "Cannot connect to Database"+sql,"Error", JOptionPane.WARNING_MESSAGE);
}Hope you satisfied with this code. -
How to share things with aplication express?
The most important thing for using a database is sharing things, but why I grant even all of one of my table to one user, but she even cannot use it, just say: error; userxxx don't have the right to access the content?
Very strange, and the Synonm is also no good, I create one for another user's table, like create synonm XXX for username.tablename.
but when I want to : Select x,x.x, from xxx, it doesn't work!!!
how to share things with Database?Better to give you some photos that can let you see
the problem , but that can not happen here.Actually, you can use pictures. Do a screen capture where you're having the problem, upload it to http://tinypic.com and then put the link to the picture here in your posting.
Please be noticed all , me and the users don't know
much about SQL, I know some. So everything has to be
done in the GUI interface.Well, the GUI isn't always enough. If you want to do grants you really need to use the SQL command window - and learn the proper syntax for the grant operation.
I(A) grant select , update, insert on A.xx to user
B,
but they see onthing in ther Application Express, how
can they do insert and all works just like I do ? What is the parsing schema for your application? Is it set to the schema where your data lives?
Earl -
How Middle Tier connect to Database Tier?
Desktop tier never directly interact with Database tier. It is the Application tier which is also called Middle tier that connect to Database tier to fullfill the end user request.
My question is how Application tier interact with Database tier under the hood?
I know Middle tier consist of Forms Server, Report Server, Concurrent Server, Web Server, Administration Server.
Let's say I want to know how Concurrent Server connects to Database tier? which file or connection does it use?
Similery how does Forms Server, Reports Server, Web Server interact?
Any overall/broad picture of this whole structure?
Thanks,Refer to [Oracle Applications R12 Concepts|http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120oacg.pdf] and [Oracle Applications 11i Concepts |http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] manuals, it is explained properly there.
-
How to get start to develop Oracle database applications with NetBeans?
Dear Ladies and gentlemen,
I am new to NetBeans. And I know nothing about Oracle. I have installed the
NetBeans 6.8, and I want to learn Oracle database application development
with NetBeans. I don't know how to get start. Give me some suggestions,
please. Thank you very much.
Best Regards
Ma XiaoguangDownload Oracle Express Edition for educational purposes and start from there.
Download at:
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
Documentation at:
http://www.oracle.com/pls/xe102/homepage -
How to connect Developer 6i with third party Databases
How to connect Developer 6i with third party Databases
Hi,
Oracle Forms 6i comes with a Oracle Client Adaptor, OCA, that allows you to connect to 3rd party databases. Starting Forms 9i you use gateways.
Frank -
How do I run a database procedure that inserts data into a table from withi
How do I run a database procedure that inserts data into a table from within a Crystal report?
I'm using CR 2008 with an Oracle 10i database containing a number of database tables, procedures and packages that provide the data for the reports I'm developing for my department. However, I'd like to know when a particular report is run and by whom. To do this I have created a database table called Report_Log and an associated procedure called prc_Insert_Entry that inserts a new line in the table each time it's called. The procedure has 2 imput parameters (Report_Name & Username), the report name is just text and I'd like the username to be the account name of the person logged onto the PC. How can I call this procedure from within a report when it's run and provide it with the 2 parameters? I know the procedure works, I just can't figure out how to call it from with a report.
I'd be grateful for any help.
ColinHi Colin,
Just so I'm clear about what you want:
You have a Stored procedure in your report. When the report runs, you want that same procedure to write to a table called Report_Log.
If this is what you want the simple answer is cannot be done. Crystal's fundamental prupose is to read only, not write. That being said, there are ways around this.
One way is to have a trigger in your database that updates the Report_Log table when the Stored Procedure is executed. This would be the most efficient.
The other way would be to have an application run the report and manage the entry.
Good luck,
Brian -
FOD schema installation with tutorial Database Development with JDeveloper
I followed the instruction online at http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html to install FOD schema. Errors displayed when call "run ant target -> buildall" were below:
populateImages:
[java] 2010-9-26 14:56:01 oracle.as.jmx.framework.LoggerHelper log
[java] SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1895)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1851)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1831)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:207)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:215)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at java.lang.Class.newInstance0(Class.java:355)
[java] at java.lang.Class.newInstance(Class.java:308)
[java] at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:2061)
[java] at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:950)
[java] at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1692)
[java] at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1666)
[java] at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1962)
[java] at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:507)
[java] at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:470)
[java] at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:436)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
But still got message - "BUILD SUCCESSFUL" at the end. Does anyone know how to solve this problem?
My intention of performing FOD schema installation was to follow the tutorial "Database Development with JDeveloper" at http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/databasedevelopment/obe_%20databasedevmt.htm. But I stopped at the last topic "Creating and Debugging PL/SQL Objects in the Database" ->"Running a SQL Script to Create an Object Type" when trying to create a object using script on the page.
This is the script:
------------------------------------------------start
REM
REM Create object ORDER_ITEMS_REC
REM
CREATE or REPLACE type ORDER_ITEMS_REC as object
ORDER_ID NUMBER(15),
LINE_ITEM_ID NUMBER(3),
PRODUCT_ID NUMBER(15),
QUANTITY NUMBER(6),
UNIT_PRICE NUMBER(8,2),
CREATED_BY VARCHAR2(60),
CREATION_DATE DATE,
LAST_UPDATED_BY VARCHAR2(60),
LAST_UPDATE_DATE DATE,
OBJECT_VERSION_ID NUMBER(15)
show errors;
--------------------------------------------------end
and the error message I got was
------------------------------------------------start
Error report:
ORA-01031: insufficient privileges
01031. 00000 - "insufficient privileges"
------------------------------------------------end
I was wandering whether the error of FOD installation could cause the error of the tutorial?
Any response will be appreciated.1. you dont have to insall Oracle database at the BO machine side, you just need any database to hold the BO repository.
2. you cant connect directly using BO, only Crystal reports can connect directly to R3 database, you need to have a BW in between.
extract your data into the BW, and let BO connect to BW using the BO integration kit for SAP solutions.
3. no you dont have to have 3 different machines, using one BO machine you connect to them all, but you may need build a BO environment, (Development, Production servers)
good luck -
Database development with jdeveloper
Hi
Thank you for reading my post
is it possible to use Jdeveloper to develop Mysql databases ?
how i use its diagram <> database capabilities to forward a diagram to a mysql database ?
thanksHi,
For information on how connect MySQl to JDev, look in the Help for 'Working with Non-Oracle Databases' under 'Using Application Development Tools | Database Tools'.
And for Modeling Database Development with JDeveloper, you can find this tutorial useful :
http://www.oracle.com/technology/obe/obe1013jdev/dbdevelopment/obe_%20dbasedevmt.htm
Regards,
Sunil.. -
VB 2008, CR component and MS Acc: how to access with database(not user) pwd
These are the detail of the query:
1. MS Access 2003 and later database via OLE DB provide for entry of a u201Cdatabase passwordu201D to provide additional protection.
2. In VB 2005 and in VB2008 environment I have managed to establish a connection with a database password and open recordsets using ADO connection. See code below.
Note. stPassword is user password and stDBPassword is database password with the following code:
With cnn
'set connection string
.ConnectionString "Provider=Microsoft.Jet.OLEDB.4.0; Password=" & stPassword & ";Data Source=T:\CPI.mdb;User ID=" & stUser & ";Persist Security Info=False;" & "Jet OLEDB:System database=t:\cpi.mdw;Jet OLEDB:Database Password=" & stDBPassword
.Open()
End With
3. When using Crystal Reports component supplied with VS 2008 I can only provide USER NAME and USER PASSWORD. No information is available how and where to enter DATABASE PASSWORD to the Crystal Reports component. As a result, Crystal Reports Viewer starts to run. Obviously access is denied because no DATABASE PASSWORD has been provided to the component. A common dialog comes up to enter database password.
4. User does not necessarily need know the DATABASE password and I am not interested in providing the database password to every user who runs reports. In this project database password serves as a form of protection from tampering with the database structure and contents through the use MS Access to access the database.
5. Here is the code to demonstrate logon via Crystal Component described above:
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
And then in a sub:
Dim cnnInfo As ConnectionInfo = New ConnectionInfo()
'cnnInfo.DatabaseName = cnn.DefaultDatabase
cnnInfo.UserID = stUser
cnnInfo.Password = stPassword
No place to input DATABASE password!!!
Does anyone know how can I input database password or provide a connection string or maybe ADO connection object which is opened within the project code.It seems like it is not possible to set the DB level password with the CR Visual Studio bundled version (as stated in the following KB c2010267). You would need to use the full version, and use the code below:
Symptom
A VB .NET application uses Crystal Reports for Visual Studio .NET as the reporting development tool.
A report is created that connects to a password protected Microsoft Access Database.
How do you pass a password (for database level security) or a password and user ID (for user level security) at runtime using the different connection methods(Native/ODBC/OLEDB)?
Resolution
To pass the database level password or a user level
userid/password at runtime, use the following code
sample:
'Add the following namespaces to the top of the code
'page
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Dim crReportDocument As New ReportDocument()
Dim crConnectionInfo as New ConnectionInfo
Dim crtableLogoninfo As New TableLogOnInfo()
Dim CrTables As Tables
Dim CrTable As Table
crReportDocument = New CrystalReport1()
With crConnectionInfo
<**Insert code from below depending on the type of
connection and the version of Crystal Reports you are
using**>
End With
CrTables = crReportDocument.Database.Tables
For Each crTable in crTables
crTableLogonInfo.ConnectionInfo =
crConnectionInfo
CrTable.ApplyLogOnInfo(crTableLogOnInfo)
Next
CrystalReportViewer1.ReportSource =
crReportDocument
Database Level Security
" For Native and ODBC connections, use the following
code:
.Password = "Password"
" For OLEDB connections, use the following code:
.Password = chr(10) + "Password"
====================
NOTE:
You cannot set a database level password when
using Crystal Reports for Visual Studio .NET 2002 or
2003.
====================
User Level Security
" For ODBC and OLEDB connections, use the following
code:
.Password = "Password"
.UserID = "UserID"
For ODBC connections, in the ODBC data source, you
have to point the system database to the appropriate
MDW file. In addition, click the 'Advanced' button and
specify the User ID and password.
====================
NOTE:
You cannot set a user level password when using
a native connection with Crystal Reports 9.2 and
Crystal Reports for Visual Studio .NET 2002 or 2003.
This KB is valid for:
CRYS REPORTS VS .NET.9.1
CR FOR VS .NET 2005
CR FOR VS .NET 2008 -
How i can associate my app user with database role
In my application (oracle forms application developed in-house - We are using Oracle Forms 11gR2 with WebLogic 10.3.5 ), i want to use "application user" instead of database user.
I have an application users table, actually, i have database users,and of course, menu application works with database roles (It was developed with oracle forms menu module), my question is, How i can associate my application user with database role, for reusing oracle forms menu funcionality?. It's possible?
Thanks,
Edwarduser8929172 wrote:
In my application (oracle forms application developed in-house - We are using Oracle Forms 11gR2 with WebLogic 10.3.5 ), i want to use "application user" instead of database user.
I have an application users table, actually, i have database users,and of course, menu application works with database roles (It was developed with oracle forms menu module), my question is, How i can associate my application user with database role, for reusing oracle forms menu funcionality?. It's possible?
Hi Edward
You can do this by assigning the role functionality to the application user. For example
create the table to enter user name.
create table to enter group name.
create table to assign user to group.
assign role to group.
assign functionality for the user by coding.
hope this helps
Maybe you are looking for
-
Hard Drive Upgrade on a Thinkpad A20m 2628-11U
I've got a Thinkpad A20m 2628-11U that has an IBM Travelstar 10gig Drive in it. After using the laptop for about half an hour, the drive warms up and gets to the point of someone using a hammer and chisel to store data. So I decided to purchase a W
-
How to replace the values in variable selection Screen urgent plz
Hi all, I am having a requirement. where the user need pass the value in the variable, Here v r having option like '1' and '2' which represent 'month' and 'ytd'. While selecting user view as 1,2 .Now my requirement is to replace the value 1=monthly a
-
Hi, I have a question about the multi monitor, screen saver setting for Windows 7. I'd like to know 2 questions. 1.) if I can set different screen saver settings on different monitors 2.) If I can do it, can I work on the external (or non-primay) mo
-
ECC 6.0 Webdynpro for ABAP development environment
Hello, We are currently running ECC 5.0 and ABAP stack is only available as of ECC 6.0. Is is possible to download and install just ECC 6.0 development environment? Thanks, Alex
-
Can't find program to burn DVDs
I used to burn and copy DVDs, XP OS. Now I cannot find the program to do that. Hope I explain myself ok Thank You not too techie minded