Database Navigation
Hi,
Im looking to have my users navigate a database of people by clicking the name then moving to the record, by using a dynamic jump/menu. using the basic navigation like next , previous etc. takes to long especialy when they have to update only a few records and have to keep clicking next, which takes a long time.
if anybody has any ideas.
thanks
ken
This may help.
http://www.adobe.com/support/dreamweaver/building/master_detail_php/
Similar Messages
-
JDev 11g Pr3 Not able to switch schema on database navigator
I have a schema called FACETSEDI that is used to access a schema named FACETS.
When I connect to the DB using the FACETSEDI login, I can run queries against the FACETS tables, but I can't browse them, since the navigator is pointing at the FACETSEDI schema.
Is there some custom JDBC URL I can use to cause the connection to force a switch on the session (simulate a ALTER SESSION SET current_schema = facets) ?Absolutely:
1. Start JDeveloper
2. Go to the database navigator
3. Create a connection to the database
username: facetsedi
password: mypassword
driver: thin
hostname: facets
SID: facets1
4. Connect to the database
5. Expand the Tables node - and all I see are tables in the FACETSEDI schema
What I need is to be able to see the tables in the FACETS schema.
Can't find a way to specify this with a custom JDBC setting (like with SQL server I could specify a parameter in the URL to connect to the correct database schema).
There used to be a "show all schemas" setting on the IDE that let you pick which schema you wanted to see. -
I have Oracle 10g in my machine and tried to connect through Database Navigator (JDeveloper 11g), but throws the following error. What could be wrong?
I used scott/tiger as username and password. It works in SQL*Plus. Thanks in advance.
Test failed: Io exception: The Network Adapter could not establish the connectionHi,
if you are running XE locally start a command prompt and type:
tnsping XE
It should give you something like this:
#tnsping XE
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-NOV-2
008 15:05:22
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = DLX04)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (30 msec)
#From the response you can see all the details needed to connect (host, port, sid or service name)
Brenden -
I have down loaded jDeveloper 11g. ( 11.1.1.0.0 - Build JDEVADF_MAIN.DROP5_GENERIC_071218.2321.4796 )
When attempting to create a database connection from the "Database Navigator", the dialog box aka [Create Database Connection wizard ] does not open.
Therefore, I can not enter any connection variables.
Any help would be appreciated.
Thank youI couldn't reproduce it...
I was starting from the cmd console with these settings
set JDEV_USER_HOME=c:\jdevinstance
cd c:\oracle\jdeveloper\11tp\jdev\bin
jdev
You should at least get an output stating:
construct
That's what Shay is looking for.
BTW, you could try to create a database connection from the Resource Palette, Connections, too.
--olaf -
I have a problem with displaying records from my database where I wish to navigate through the records.
I use a framset where I gather the search data in a form on the left side of the page and display the database results in a frame on the right hand side of the page.
The website I have displays 1 record at a time in a table format. There's no problem getting records from the database - if I try to display 1 record on the page its Ok, if I disply X records on the page its fine - the problem comes where I display 1 record and then use hyperlinks to move to the next record in data set.
The code is set so the navigation links only appear where there is more than 1 matching record so I know I'm not trying to call records that do not exist.
The error only appears when I try to navigate through the records to display te 2nd record returned by any search, it appears to be something to do with the RecordCount.
Any help appreciated.
For Reference the next/prev record is adapated from here - http://tutorial20.easycfm.com/#
The error is:
[quote]
Element RECORDCOUNT is undefined in GETDATABASESEARCHRESULT.
The error occurred in *****/testquery.cfm: line 36
34 :
35 : <CFSET end=Start + disp>
36 : <CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount>
37 : <CFSET end=999>
38 : <CFELSE>
[/quote]
The website code is:
[quote]
<!--- Start is the default starting row for the output.
Disp determines how many records to display at a time --->
<!--- Start displaying with record 1 if not specified via url --->
<CFPARAM name="start" default="1" />
<!--- Number of records to display on a page --->
<CFPARAM name="disp" default="1" />
<!--- Holds variables passed from form on prev page when this page is called.--->
<CFPARAM Name="Form.Forename" Default="">
<CFPARAM Name="Form.Surname" Default="">
<CFPARAM Name="Form.Battalion" Default="">
<HTML>
<HEAD>
</HEAD>
<BODY>
<!--- query the database table. Cache the result set for 15 minutes. --->
<CFIF #Form.Battalion# IS "Sixth" >
<CFQUERY NAME="GetDatabaseSearchResult" DATASOURCE="durhamli_durhamli"
CACHEDWITHIN="#CreateTimeSpan(0,0,15,0)#">
SELECT Surname,Forename, Pre1917ServiceNumber, Post1917ServiceNumber, Battalion, YearOfBirth, DateEnlisted, PlaceEnlisted, DateOverseas, Notes
FROM SixthDLI
WHERE Forename LIKE '%#Form.Forename#%' AND Surname LIKE '%#Form.Surname#%'
</CFQUERY>
</CFIF>
<CFSET end=Start + disp>
<CFIF start + disp GREATER THAN GetDatabaseSearchResult.RecordCount>
<CFSET end=999>
<CFELSE>
<CFSET end=disp>
</CFIF>
<!--- Output the range of records displayed on the page as well as the total
number of records in the result set --->
<CFOUTPUT query="GetDatabaseSearchResult" startrow="#start#" maxrows="#end#">
<table border="2" cellpadding="5" cellspacing="2" width="90%" cols="5">
<th>Surname</th>
<th>Forename</th>
<th>Pre1917 No.</th>
<th>Post1917 No.</th>
<th>Battalion</th>
<tr>
<td>
#GetDatabaseSearchResult.Surname#
</td>
<td>
#GetDatabaseSearchResult.Forename#
</td>
<td>
#GetDatabaseSearchResult.Pre1917ServiceNumber#
</td>
<td>
#GetDatabaseSearchResult.Post1917ServiceNumber#
</td>
<td>
#GetDatabaseSearchResult.Battalion# Battalion
</td>
</tr>
<th>Year Born</th>
<th>Date Enlisted</th>
<th colspan="2">Place</th>
<th>Posted Overseas</th>
<tr>
<td>
#GetDatabaseSearchResult.YearOfBirth#
</td>
<td>
#GetDatabaseSearchResult.DateEnlisted#
</td>
<td colspan="2">
#GetDatabaseSearchResult.PlaceEnlisted#
</td>
<td>
#GetDatabaseSearchResult.DateOverseas#
</td>
</tr>
<th colspan="5" align="left">Notes</th>
<tr>
<td colspan="5">
#GetDatabaseSearchResult.Notes#
</td>
<tr>
</table>
Record Number : #CurrentRow# of #GetDatabaseSearchResult.RecordCount#
</CFOUTPUT>
<!--- displays the navigation hyperlinks for the required recordset --->
<CFOUTPUT>
<table border="0" cellpadding="10">
<tr>
<!--- Display prev link --->
<CFIF start NOT EQUAL 1>
<CFIF start GTE disp>
<CFSET prev=disp />
<CFSET prevrec=start - disp />
<CFELSE>
<CFSET prev=start - 1 />
<CFSET prevrec=1 />
</CFIF>
<!--- only displays link if more than 1 record returned--->
<CFIF #GetDatabaseSearchResult.RecordCount# GT 1>
<td><font face="wingdings">ç</font> <a href="testquery.cfm?start=#prevrec#"> Previous #prev# record</a></td>
<CFELSE>
</CFIF>
</CFIF>
<!--- Display next link --->
<CFIF end LT GetDatabaseSearchResult.RecordCount>
<CFIF start + disp * 2 GTE GetDatabaseSearchResult.RecordCount>
<CFSET next=GetDatabaseSearchResult.RecordCount - start - disp + 1 />
<CFELSE>
<CFSET next=disp />
</CFIF>
<!--- only displays link if more than 1 record returned--->
<CFIF #GetDatabaseSearchResult.RecordCount# GT 1>
<a href="testquery.cfm?start=#Evaluate("start + disp")#">Next record</a> <font face="wingdings"></td>
<CFELSE>
</CFIF>
</cfif>
</tr>
</table>
</CFOUTPUT>
</BODY>
</HTML>
[/quote]Thanks, you've nailed it.
I hadn't set a default parameter for form.battalion (although I presumed it would retain the parameter passed from the form to the query when I initially create the datbase query) and it now seems to work for now. It must clear the form variables every tim the page refreshes as it changes record.
I'm not sure how it'll work when I add the 4 extra tables - 'Fifth', 'Seventh', 'Eigth' and 'Ninth' if it clears the value passed from the form each time the page refreshes I suspect it's going to default to the value set on the CFPARAM tag each time but I'll deal with that at the time. -
CRM database navigation from COMM_PRODUCT to IBIN.
I'm writing a CRM conversion program to load components UNDER an existing equipment in an IBase.
From the input file I'm able to navigate to table COMM_PRODUCT via the incoming equipment number (family 0401). However, I need to get to the exact IBIN record (IBase Components) for this equipment because I need IBIN-IBASE and IBIN-INSTANCE in order to utilize CRM_ICSS_CREATE_COMPONENT.
Thanks
LenModerator message - Moved to the correct forum
Total Questions: 12 (12 unresolved)
You might want to consider cleaning up your old posts as well.
Rob -
TP4 / offline database / select in navigator failed
Select in navigator from pl/sql editor failed to find the edited object into the navigator (from where it was opened).
I just opened a pl/sql from offline database navigator.
Do some edits in the editor. Save many times. Compile many times.
Suddenly (no idea why), the context menu Select in navigator don't find the object anymore.
This is only for package body. I don't have this problem with package specification.
Same package body may be accessed without any problem at same time through outgoing subversion pending changes.
The error message is PackageName was not found in Navigator.
The window title bar context is correct.
I have more than one schema in my navigator.
I have two application workspaces and both have same project names.
I have subversion to manage both workspaces.
Hope this help. -
Problem with database connection in Jdev 11
Hello,
my jdev version is 11 and i want do really simple task create new database connection to my oracle db.
I open database navigator and click new connection. i want jdbc connection but after i fill this form i pressed test connection button and get this error msg:
Test failed: 4
i think i have correct information but i tried this, i opened my older jdev 10 and copy jdbc url from my old db connection.
In jdev 11 i checked Enter Custom JDBS Url and pasted url from jdev 10 and i get:
Test failed: 4
What is wrong?
Thanks for your advice.
J.I add new information:
i cant connect to oracle db 8, but i try another db in my company which is 10 and its working fine.
I write java class and try connect to db 8 via jdbc manually:
String url = "jdbc:oracle:thin:@SERVER:1525:SID";
String user = "user1";
String password = "aaa";
Class.forName("oracle.jdbc.driver.OracleDriver");
// DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(url, user, password);
and i get this:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 4
at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:468)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:339)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:621)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:501)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at project1.Class1.main(Class1.java:31)
i hope this will be more usefull and i know i write this info about db's version little bit late.
J. -
How to set the default value of a database column to NULL
Hello,
I want to set the default value of a column (VARCHAR2(20) to NULL, nut I cannot figure out to do this. I tried the following editing the offline table with JDeveloper:
Default Value : <empty> -> On database NULL
Default Value: '' -> On database ''
When I create a new column, there is no default value on the database side and when I open the tabe properties in the database navigator I can see that the default value is (null). This is what I want to see in the other column as well. I don't know why sometimes a default value is visible on the database side (when generating form offline tables to database tables) and sometimes not.
Perhaps sombody can bring some light in this issue.
Thanks ThomasHello Shay,
I have the impression that you don't understand my problem. So here step by step:
1. Create a offline Table TEST with one column TEST: VARCHAR2(20). nullable=true, no default value.
2. Generate the table to the database
3. When you look at the table properties (columns) with the database navigator the following information is displayed (sorry for the formatting):
Column Name | Data Type | Nullable | Data Default | COLUMN ID| Primary Key | COMMENTS
TEST | VARCHAR2(20 BYTE | Yes | (null) | 1 | (null) | (null)
4. Now set the default value for the column TEST in the offline table for example to 'Test'
5. Generate the table to the database.
6. When you have a look at the database table, the default value is now 'Test' (as expected)
7. Now remove the default value of the column TEST in the offline table
8. Generate the table to the database
9. When you have a look at the database table, the default value is now NULL (in uppercase letters without parenthesis)
And this is where the problem starts!
When you generate the table again with the options "Alter/Manual Reconcile" the default value of the column test is considered to be different! But in fact it should'nt be different because nothing has been changed.
Best regards Thomas
Edited by: thmayr on May 28, 2009 9:05 AM
Edited by: thmayr on May 28, 2009 9:31 AM -
Getting errors after changing the Database
Previously I was using a different database connection for my adf application.Now i have changed the database connection through project properties->business components. I also deleted the details of the previous connection from connection.xml file. But still i'm getting the error about the previous connection.
Please share your opinion to get rid of this problem.Try this.
1. Menu->View->Database->Database Navigator
2. Find your application specific connection.
3. Check properties of the connection, update/recreate, test the connection using Test button.
4. Menu->Build->Clean All -
Drag and dropping database objects in Jdev
I evaluated Visual Cafe and deciding wheather to go with VC or JDev. One of the cool things I noticed in VC is that one can drag and drop database objects in the form using DBNavigator. I haven't seen anything similar in JDev 3.1. Does this or something similar exist in JDev?
Regards,
MarkMark,
Yes, the DB Navigator in Visual Cafe may provide a nice simple look at the database Tables - but so does JDeveloper's Database Navigator - VC may excel in the Drag and Drop functionality - but this is not the real objective. Let me explain...
When creating a real enterprise level application in Visual Cafe, you begin to discover that DB Navigator along with it's nifty Drag & Drop is no match for JDeveloper's unprecedented level of database integration. JDeveloper's Database related integration includes (but not limited to):
- JDevelopers Database Navigator
- Integrated SQLJ environment
- Tight Business Components for Java (BC4J) integration
- Wizard driven Form generation (thin & thick)
- DAC Controls / InfoSwing components
- Named Connections / Connection Manager
- WebBeans / JSP Element Wizard
The closest thing in JDeveloper to what you are referring to in VC is JDeveloper's support for the Design mode which allows you to design both graphical and non-graphical elements. In particular, JDeveloper allows you to design your InfoSwing and InfoProducer components using the Designer - by selecting the component (JavaBean) from the Component Palette and then [Dragging Optional] Dropping it on either the Design Canvas or the Structure pane (lower pane of Navigator window).
For non-visual elements (such as InfoProducer elements), the Structure pane allows for Creation via Drag & Drop and allows for property setting by using the Property Inspector (Since it is a JavaBean...).
There are many reasons why JDeveloper provides a much richer and more productive development environment than Visual Cafe. Most have to do with seeking a complete enterprise level solution. JDeveloper adresses the enterprise level application developers needs directly with integration of elements from Tools & Wizards to the integration of a complete application development framework - Oracle Business Components for Java - No other tool can provide you with such a rich and productive development environment.
John - JDeveloper Team
null -
Database Adapter with sql server connection cannot import user tables
Hi,
In jdeveloper 11g, I tried to create a sql server database connection, i could create the connection, i could see the tables and navigate through the data in
Database navigator section. But while trying to import the tables in the Database adapter to do polling operation, It displays only the system tables like this
syscolumns (dbo)
syscomments (dbo)
sysdepends (dbo)
sysfilegroups (dbo)
sysfiles (dbo)
sysforeignkeys (dbo)
sysfulltextcatalogs (dbo)
sysindexes (dbo)
sysindexkeys (dbo)
sysmembers (dbo)
sysobjects (dbo)
syspermissions (dbo)
sysprotects (dbo)
sysreferences (dbo)
systypes (dbo)
sysusers (dbo)
I am not understanding this wierd bahaviour of jdeveloper.
please advise.
-Chaitu
Edited by: chaitu123 on May 13, 2010 9:16 AMThis is NOT related solely to the SOA Suite. The same behavior appears in the Connections Navigator.
IMHO, this is related to how JDeveloper is parsing the .getMetaData() response.
Scott
Edited by: user8951683 on May 21, 2010 8:08 AM -
Create Database connection in TP3
Hi,
I'm trying to create a DB connection via New->General->Connections->Database connections. However when I click Ok nothing happens. I have tried for other types of connections (eg URL, BAM) and a wizard appears. Anyone got any ideas as to what may be going wrong?Frank,
I've tried you suggestion of View -> database navigator but still nothing happens. I have gone back to 10g and all works fine there.
I'm rather new to the world of Java so I'm trying only the basics..... and seem to be running into brick walls all over the place.
Cheers,
Tim. -
ER: Disconnect database session
Need to add functionality available in SQLDeveloper to disconnect an open JDeveloper database session. I am using the new Oracle JDeveloper 11g preview. I found it!! So you cannot right click on resource pallette and discount but you can from database navigator. Thanks!!
Message was edited by:
KeithWilliamsThanks Brian. I added to my original post, but it didn;t show up as a second post. So I found the functionality after the original post. Thanks for the reply, 11g looks VERY good!
-
Any Guidance on Java-to-Database Programming?
Hello, 2-15-2003
As a beginner in Java, I have succeeded, with
the help of this Forum, some books, tutorial,
SUN Web Site, etc. -- to write fairly sophisti-
cated Java programs. I have used/setup CLASSES,
Packages, access to System Commands, etc. Basically
what I can do in REXX, PL/1, etc. I can now do
in Java.
My next task for myself is to do a Java to
database system connect, database READ, WRITE,
Query, etc. I am planning on Oracle & DB2,
because those are the most common Databases that
you see in the market,... therefore, demands for
skills.
QUESTION: Any guidance any body can give me?
Where do I start. What should I
read up on ? What's the class
package in Java to do such database
navigation/manipulation work?
MY THOUGHTS ON JAVA:
1. Not bad. A sophisticated language.
2. I like the idea of packages: AWT, etc.
3. A bit slow compare to other 3rd gen. languages
such as PL/1, REXX.
4. Java is a definite MUST KNOW, because of
the opportunity for work out there.
5. Java and Object Oriented stuff is here to
stay, because of the many advantages.
6. Java is not a difficult language. It is
very very powerful, allows you to do very
complex systems, engaging in ALL modern
applications, ex. Web, Graphics, High Math.
Thanks every one,... and I am still a beginner.
-- gte99te , New York.http://java.sun.com/docs/books/tutorial/jdbc/index.html
Maybe you are looking for
-
Graphic Card Upgrade for a HP Q815
HP is telling me that a NVIDIA GeForce 9600M GS is recomended for an upgrade on my IQ815 desktop touchscreen. But it only has 512MB of memory. i would like to put a NVIDIA GeForce 9600M GT has 1024MB of RAM on it or 1 dollar more. Could I put this o
-
How do I get my bridge web gallery to actually work in my photoshop website
Hi Can anyone explain to me in simple english (please - as I'm just a learner) how I get my web gallery (created in bridge) to work with my photoshop website. This is what I have done so far:- (1) I've created my root folder called 'test'. It has 3 s
-
Hi SAP Gurus, Currently we are using KOB3 report to analyse Production Variance. However, when executed it is not bring in any data... even for a specific order also data is not being shown. It is simply says - NO DATA for the Selection. We have lot
-
Cannot open/unblock msi & exe files in .zip file
Trying to open .zip file but get security warning. Have tried to set unblock file but still issue still exists and the files cannot be opened. Is there a way to override this restriction?
-
When we do GRN for purchase order using MIGO, when GRN is posted system prints one copy of GR by default. is it possible to print two copies of GRN when GRN is posted Rg, kt