Oracle.sql.DATE documentation also missing
Thanks for the documentation of jbo.domain.Date, but it was not enough.
I need to know how to use the toDate method, but it seen to be described in the superclass
oracle.sql.DATE that was also missing in documentation.
I have searched at OTN docs, but it's also missing there.
There is some place where this documentation is stored in OTN, since could be others classes missing.
Thanks for the support.
I'm trying to set a date value and keep getting a ClassCastException:
rsaDemandException is a ScrollableRowsetAccess object
"StartDate" is a valid Date type column in the DemandException view object
newDate is a Date object of the various types I have tried below
The line that causes an exception to be thrown:
rsaDemandException.setColumnValue("StartDate", newDate);
I've tried the following objects for newDate
java.util.Date;
java.sql.Date;
java.sql.Timestamp;
oracle.sql.DATE;
oracle.jbo.domain.Date;
None of them work. They all throw a class cast exception.
Any hints on what I need to do? Or is this some bug?
null
Similar Messages
-
Fail to convert to internal representation: oracle.sql.DATE
I'm using the oracle 8.1.7 jdbc driver against oracle 8.1.7 running on NT, and I get the exception message below when I attempt to insert an jpub object structure into a prepared statement.
All date objects have been constructed from a timestamp object, using the oracle.sql.DATE Timestamp constructor. So I'm surprised to get this error given the timestamp object was successfully constructed.
I've tried session date formats of 'yyyy-mm-dd hh24:mi:ss' and 'mm/dd/yyyy hh24:mi:ss', with no success.
I can call stringValue on oracle.sql.DATE and it returns a valid date.
Can someone confirm that they have been able to use the oracle.sql.DATE class to insert a date correctly into the database? Its seems a silly question to ask but you have to start somewhere!
Exception : Fail to convert to internal representation: oracle.sql.DATE@3c144e8a
Stack trace : java.sql.SQLException: Fail to convert to internal representation: oracle.sql.DATE@3c144e8a
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:829)
at oracle.jdbc.oracore.OracleTypeADT.toDatum(OracleTypeADT.java:261)
at oracle.sql.StructDescriptor.toOracleArray(StructDescriptor.java:385)
at oracle.sql.StructDescriptor.toArray(StructDescriptor.java:560)
at oracle.sql.STRUCT.<init>(STRUCT.java:95)
at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:65)
nullThe JPub/JDBC runtime is converting your Java object into Oracle-specific representation (all data is put in oracle.sql.XXXX format). The top level object is an oracle.sql.STRUCT, the attributes of which are represented as an array of oracle.sql.Datum objects - in your case an oracle.sql.NUMBER and an oracle.sql.DATE. However, the error does occur in the StructDescriptor which describes the SQL type and the shape of the object. Is the error dependent on the data values? Might null values not be dealt with, correctly?
One thing to try to do is create such an oracle.sql.STRUCT object from scratch with the same attribute values and insert/manipulate that using SQL.
I have not dealt with TAR's. If you send me a self-contained test case, I'll check it against the current development version of JDBC. (At least you'll know if the next JDBC release fixes this issue :-) I might also file a bug. -
Oracle SQL Data Modeler -COMPARE/MERGE
Hi all,
I am trying to compare/merge or just trying to merge a relation model with another in Oracle SQL Developer DATA MODELER.
Scenario:
I have tried to import from data dictionary the hr schema into 3 parts.
Table employee is alone imported in one design model's relational model(say DataModelerDesign1- DMD1).
Table Departments,Locations and Countries in another design model's relational model(say DMD2).
Table Job_history,Jobs and Regions in another design model's relational model(say DMD3).
Now, I tried to merge all this into one design model's relational model, here into DMD3.
Requirement:
I want all of this relational model's tables to get merged with exact mappings as if it is in HR schema all connected to each other. But they are all getting merged as separate entities not conencted to each other when taken from Compare/merge option. How should i do this task?
Issues:
1) I can never see anything in the compare model when i try to click on view compare mapping. Can anytime we see any data here?
2) In realtime scenario, when will we try to merge a table into another or split it. Because some foriegn key violations are happening here. Is it ever possible to succeed our requirement while merging itself instead of creating relationships between entities manually in main relationship model DMD3 in example here.I have found on occasions the diagram pdf would be missing a few relationship lines. Usually it happens after I have been doing a lot of work in the tool or printing a bunch of diagrams. Seems to be a memory leak of some sort. If I close Data Modeler, re-open it, then print to PDF, the diagram is fine.
-
Oracle SQL- Date/Time Help
Hi I have a query that generates a roster report.
The issue I am having is how do I create a query the runs off the start and end time.
What I mean by this is, no matter what time of the day it is, I want the query to run based off of the between time of start and end, if that makes sense.
Below is an example, notice the double entry, (and yes it is correct) the issue is that both these records get picked up, I would like my query to be based off what the time of day is.
If it is 12PM, to send 1st record, if its 1:46 pm, to send 2nd record, not both.
Any help... please
Employee ID First Last Unit Abr Staffing Start Dt Staffing End DT wstat_name_ch wstat_type_no_in
'015428' Jason Xi 'P23' '2012-09-10 11:45:00.000' '2012-09-11 11:45:00.000' 'Regular Duty' 3
'015428' Jason Xi 'P77' '2012-09-10 13:45:00.000' '2012-09-11 11:45:00.000' 'Regular Duty' 1
--My query for above statement.
SELECT DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch,
DBA.Resource_Master_Tbl.RscMaster_FName_Ch, DBA.Resource_Master_Tbl.RscMaster_LName_Ch, DBA.unit_tbl.unit_abrv_ch,
DBA.staffing_tbl.staffing_start_dt, DBA.staffing_tbl.staffing_end_dt, DBA.wstat_cde_tbl.wstat_name_ch, DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.wstat_cde_tbl.wstat_type_no_in
FROM DBA.resource_tbl, DBA.Resource_Master_Tbl, DBA.staffing_tbl, DBA.wstat_cde_tbl, DBA.position_tbl, DBA.unit_tbl
WHERE DBA.resource_tbl.RscMaster_No_In = DBA.Resource_Master_Tbl.RscMaster_No_In AND DBA.resource_tbl.rsc_no_in = DBA.staffing_tbl.rsc_no_in AND
DBA.staffing_tbl.wstat_no_in = DBA.wstat_cde_tbl.wstat_no_in AND DBA.staffing_tbl.pos_no_in = DBA.position_tbl.pos_no_in AND
DBA.position_tbl.unit_no_in = DBA.unit_tbl.unit_no_in AND (DBA.staffing_tbl.staffing_start_dt <= NOW()) AND
(DBA.staffing_tbl.staffing_end_dt >= NOW()) AND (DBA.wstat_cde_tbl.wstat_type_no_in = 1 OR
DBA.wstat_cde_tbl.wstat_type_no_in = 3)
GROUP BY DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch, DBA.Resource_Master_Tbl.RscMaster_FName_Ch,
DBA.Resource_Master_Tbl.RscMaster_LName_Ch, DBA.unit_tbl.unit_abrv_ch, DBA.wstat_cde_tbl.wstat_name_ch, DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.staffing_tbl.staffing_start_dt, DBA.staffing_tbl.staffing_end_dt, DBA.wstat_cde_tbl.wstat_type_no_in
ORDER BY DBA.Resource_Master_Tbl.RscMaster_FName_Ch958211 wrote:
Hi I have a query that generates a roster report.
The issue I am having is how do I create a query the runs off the start and end time.
What I mean by this is, no matter what time of the day it is, I want the query to run based off of the between time of start and end, if that makes sense.
Below is an example, notice the double entry, (and yes it is correct) the issue is that both these records get picked up, I would like my query to be based off what the time of day is.
If it is 12PM, to send 1st record, if its 1:46 pm, to send 2nd record, not both.
Any help... please
Employee ID First Last Unit Abr Staffing Start Dt Staffing End DT wstat_name_ch wstat_type_no_in
'015428' Jason Xi 'P23' '2012-09-10 11:45:00.000' '2012-09-11 11:45:00.000' 'Regular Duty' 3
'015428' Jason Xi 'P77' '2012-09-10 13:45:00.000' '2012-09-11 11:45:00.000' 'Regular Duty' 1
--My query for above statement.
SELECT DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch,
DBA.Resource_Master_Tbl.RscMaster_FName_Ch, DBA.Resource_Master_Tbl.RscMaster_LName_Ch, DBA.unit_tbl.unit_abrv_ch,
DBA.staffing_tbl.staffing_start_dt, DBA.staffing_tbl.staffing_end_dt, DBA.wstat_cde_tbl.wstat_name_ch, DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.wstat_cde_tbl.wstat_type_no_in
FROM DBA.resource_tbl, DBA.Resource_Master_Tbl, DBA.staffing_tbl, DBA.wstat_cde_tbl, DBA.position_tbl, DBA.unit_tbl
WHERE DBA.resource_tbl.RscMaster_No_In = DBA.Resource_Master_Tbl.RscMaster_No_In AND DBA.resource_tbl.rsc_no_in = DBA.staffing_tbl.rsc_no_in AND
DBA.staffing_tbl.wstat_no_in = DBA.wstat_cde_tbl.wstat_no_in AND DBA.staffing_tbl.pos_no_in = DBA.position_tbl.pos_no_in AND
DBA.position_tbl.unit_no_in = DBA.unit_tbl.unit_no_in AND (DBA.staffing_tbl.staffing_start_dt <= NOW()) AND
(DBA.staffing_tbl.staffing_end_dt >= NOW()) AND (DBA.wstat_cde_tbl.wstat_type_no_in = 1 OR
DBA.wstat_cde_tbl.wstat_type_no_in = 3)
GROUP BY DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch, DBA.Resource_Master_Tbl.RscMaster_FName_Ch,
DBA.Resource_Master_Tbl.RscMaster_LName_Ch, DBA.unit_tbl.unit_abrv_ch, DBA.wstat_cde_tbl.wstat_name_ch, DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.staffing_tbl.staffing_start_dt, DBA.staffing_tbl.staffing_end_dt, DBA.wstat_cde_tbl.wstat_type_no_in
ORDER BY DBA.Resource_Master_Tbl.RscMaster_FName_ChFor your own sanity, you should learn to format your code. For the sanity of those of whom you are requesting assistance, you should preserve that formatting with the use of the code tags
SELECT
DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch,
DBA.Resource_Master_Tbl.RscMaster_FName_Ch,
DBA.Resource_Master_Tbl.RscMaster_LName_Ch,
DBA.unit_tbl.unit_abrv_ch,
DBA.staffing_tbl.staffing_start_dt,
DBA.staffing_tbl.staffing_end_dt,
DBA.wstat_cde_tbl.wstat_name_ch,
DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.wstat_cde_tbl.wstat_type_no_in
FROM
DBA.resource_tbl,
DBA.Resource_Master_Tbl,
DBA.staffing_tbl,
DBA.wstat_cde_tbl,
DBA.position_tbl,
DBA.unit_tbl
WHERE
DBA.resource_tbl.RscMaster_No_In = DBA.Resource_Master_Tbl.RscMaster_No_In
AND DBA.resource_tbl.rsc_no_in = DBA.staffing_tbl.rsc_no_in
AND DBA.staffing_tbl.wstat_no_in = DBA.wstat_cde_tbl.wstat_no_in
AND DBA.staffing_tbl.pos_no_in = DBA.position_tbl.pos_no_in
AND DBA.position_tbl.unit_no_in = DBA.unit_tbl.unit_no_in
AND (DBA.staffing_tbl.staffing_start_dt <= NOW())
AND (DBA.staffing_tbl.staffing_end_dt >= NOW())
AND (DBA.wstat_cde_tbl.wstat_type_no_in = 1
OR
DBA.wstat_cde_tbl.wstat_type_no_in = 3)
GROUP BY
DBA.Resource_Master_Tbl.RscMaster_EmployeeID_Ch,
DBA.Resource_Master_Tbl.RscMaster_FName_Ch,
DBA.Resource_Master_Tbl.RscMaster_LName_Ch,
DBA.unit_tbl.unit_abrv_ch,
DBA.wstat_cde_tbl.wstat_name_ch,
DBA.wstat_cde_tbl.wstat_abrv_ch,
DBA.staffing_tbl.staffing_start_dt,
DBA.staffing_tbl.staffing_end_dt,
DBA.wstat_cde_tbl.wstat_type_no_in
ORDER BY
DBA.Resource_Master_Tbl.RscMaster_FName_ChI'm not sure the above is even legal Oracle SQL. Are you sure you aren't taking code from some other rdbms? -
Hi, could anybody give me documentation to the Oracle.jbo.Domain.Date class ?
Why this is not documented?
why give this class with the same name than java.util.Date ? it really turns coding hard:
oracle.jbo.Domain.Date d1 = getMyDate();
java.util.Date d2 = d1.toDate();
it's really disgusting.
nullThere is a bug logged regarding the missing javadoc in JDev 3.1. There was documentation for the Date in JDev 3.0. Apparently we missed it somehow. Below is the javadoc from JDev 3.0. Sorry for the long post, but I hope it helps.
oracle.jbo.domain
Class Date
java.lang.Object
|
+--oracle.sql.Datum
|
+--oracle.sql.DATE
|
+--oracle.jbo.domain.Date
public class Date
extends oracle.sql.DATE
implements DomainInterface, oracle.sql.CustomDatum, java.io.Serializable
An encapsulation of Oracle SQL DATE objects as immutable Domain objects.
Date objects consist of data (a byte array) and a Domain type code. Domain dates extend SQL dates by being convertable to and from JDBC values.
Since:
JDevloper 3.0
See Also:
Serialized Form
Fields inherited from class oracle.sql.DATE
BDA, BDAL, BDT, BHR, BHRL, BMN, BMNL, BMO, BMOL, BSC, BSCL, BYR, BYRL, HRZER0, MIZERO, MSD, SEZERO, YR0
Constructor Summary
Date()
Creates a default Date Domain object.
Date(byte[] value)
Internal: Applications should not invoke this method.
Date(Date value)
Creates a Date identical to an existing Date.
Date(java.sql.Date value)
Creates a Date Domain object from a JDBC Date.
Date(oracle.sql.DATE value)
Creates a Date Domain object from an Oracle SQL DATE.
Date(java.lang.Object value)
Creates a Date Domain object from a JDBC Object.
Date(java.lang.String value)
Creates a Date Domain object from a Java String.
Date(java.sql.Time value)
Creates a Date Domain object from a JDBC Time object.
Date(java.sql.Timestamp value)
Creates a Date Domain object from a JDBC Timestamp object.
Method Summary
oracle.sql.DATE addJulianDays(int julianDay, int julianSec)
oracle.sql.DATE addMonths(int months)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
Number diffInMonths(Date date)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
oracle.sql.NUMBER diffInMonths(oracle.sql.DATE date)
boolean equals(java.lang.Object other)
Tests this for equality with another object.
static oracle.sql.DATE fromJulianDays(int julianDay, int julianSec)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
static oracle.sql.DATE fromText(java.lang.String datestr, java.lang.String fmt, java.lang.String lang)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
static oracle.sql.DATE getCurrentDate()
Overrides the Oracle SQL method of the same name to return a Date Domain object.
static oracle.sql.CustomDatumFactory getCustomDatumFactory()
Internal: Applications should not invoke this method.
java.lang.Object getData()
Converts this to a JDBC Timestamp object.
int hashCode()
Computes a hash code for this.
oracle.sql.DATE lastDayOfMonth()
Overrides the Oracle SQL method of the same name to return a Date Domain object.
static void main(java.lang.String[] argv)
Internal: Applications should not invoke this method.
oracle.sql.DATE round(java.lang.String prec)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
oracle.sql.DATE setDayOfWeek(int day)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
oracle.sql.Datum toDatum(oracle.jdbc.driver.OracleConnection conn)
Internal: Applications should not invoke this method.
oracle.sql.NUMBER toNumber()
java.lang.String toString()
Converts this to a textual representation.
oracle.sql.DATE truncate(java.lang.String prec)
Methods inherited from class oracle.sql.DATE
checkValidity, compareTo, dateValue, diffInJulianDays, isConvertibleTo, makeJdbcArray, numberToJulianDays, stringValue, timestampValue, timeValue, toBytes, toBytes, toBytes, toBytes, toBytes, toDate, toJdbc, toJulianDays, toString, toText, toTime, toTimestamp
Methods inherited from class oracle.sql.Datum
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, doubleValue, floatValue, getBytes, getLength, getStream, intValue, longValue, setBytes, setShareBytes, shareBytes
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
Date
public Date()
Creates a default Date Domain object.
This constructor does not create a null date: use one of the NullValue() constructors.
Date
public Date(byte[] value)
Internal: Applications should not invoke this method.
Creates a Date Domain object from the given byte array.
Parameters:
value - a value returned by a previous call to getBytes() on an SQL object compatable with Date.
Date
public Date(oracle.sql.DATE value)
Creates a Date Domain object from an Oracle SQL DATE.
Parameters:
value - a DATE SQL object.
Date
public Date(Date value)
Creates a Date identical to an existing Date.
Parameters:
value - a Date Domain object.
Date
public Date(java.sql.Date value)
Creates a Date Domain object from a JDBC Date.
Parameters:
value - a DATE SQL object.
Date
public Date(java.sql.Time value)
Creates a Date Domain object from a JDBC Time object.
Parameters:
value - a Time SQL object.
Date
public Date(java.sql.Timestamp value)
Creates a Date Domain object from a JDBC Timestamp object.
Parameters:
value - a Time SQL object.
Date
public Date(java.lang.Object value)
throws java.sql.SQLException
Creates a Date Domain object from a JDBC Object.
Parameters:
value - an Object that is an instance of Date, Time, Timestamp, or String.
Throws:
java.sql.SQLException - if the object is not of one of the recognized classes.
Date
public Date(java.lang.String value)
Creates a Date Domain object from a Java String.
Parameters:
value - a textual representation of a Date.
Method Detail
getCustomDatumFactory
public static oracle.sql.CustomDatumFactory getCustomDatumFactory()
Internal: Applications should not invoke this method.
Initializes the Date Domain.
This method is invoked when JBO is initialized. Applications should not call this method directly.
Returns:
the CustomDatumFactory for the Date Domain.
toDatum
public oracle.sql.Datum toDatum(oracle.jdbc.driver.OracleConnection conn)
throws java.sql.SQLException
Internal: Applications should not invoke this method.
Converts this Date Domain object back into an SQL DATE object.
Specified by:
toDatum in interface oracle.sql.CustomDatum
Parameters:
conn - Not used.
Returns:
A Datum containing DATE object.
Throws:
SQLException - Never.
getData
public java.lang.Object getData()
Converts this to a JDBC Timestamp object.
Specified by:
getData in interface DomainInterface
Tags copied from interface: DomainInterface
Returns:
a formatted value object.
toString
public java.lang.String toString()
Converts this to a textual representation.
Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
Tests this for equality with another object. The argument is converted to a Date object, if necessary.
Overrides:
equals in class oracle.sql.Datum
Parameters:
other - an arbitrary Object.
Returns:
true if conversion was successful and the converted argument is identical to this.
hashCode
public int hashCode()
Computes a hash code for this.
Overrides:
hashCode in class java.lang.Object
Returns:
the hash code of this.
addJulianDays
public oracle.sql.DATE addJulianDays(int julianDay,
int julianSec)
Overrides:
addJulianDays in class oracle.sql.DATE
Returns:
a Date Domain object.
addMonths
public oracle.sql.DATE addMonths(int months)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
Overrides:
addMonths in class oracle.sql.DATE
See Also:
"oracle.sql.DATE"
diffInMonths
public Number diffInMonths(Date date)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
See Also:
"oracle.sql.DATE"
diffInMonths
public oracle.sql.NUMBER diffInMonths(oracle.sql.DATE date)
Overrides:
diffInMonths in class oracle.sql.DATE
getCurrentDate
public static oracle.sql.DATE getCurrentDate()
Overrides the Oracle SQL method of the same name to return a Date Domain object.
See Also:
"oracle.sql.DATE"
fromJulianDays
public static oracle.sql.DATE fromJulianDays(int julianDay,
int julianSec)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
See Also:
"oracle.sql.DATE"
fromText
public static oracle.sql.DATE fromText(java.lang.String datestr,
java.lang.String fmt,
java.lang.String lang)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
See Also:
"oracle.sql.DATE"
lastDayOfMonth
public oracle.sql.DATE lastDayOfMonth()
Overrides the Oracle SQL method of the same name to return a Date Domain object.
Overrides:
lastDayOfMonth in class oracle.sql.DATE
See Also:
"oracle.sql.DATE"
round
public oracle.sql.DATE round(java.lang.String prec)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
Overrides:
round in class oracle.sql.DATE
See Also:
"oracle.sql.DATE"
setDayOfWeek
public oracle.sql.DATE setDayOfWeek(int day)
Overrides the Oracle SQL method of the same name to return a Date Domain object.
Overrides:
setDayOfWeek in class oracle.sql.DATE
See Also:
"oracle.sql.DATE"
toNumber
public oracle.sql.NUMBER toNumber()
Overrides:
toNumber in class oracle.sql.DATE
Returns:
a Date Domain object.
truncate
public oracle.sql.DATE truncate(java.lang.String prec)
Overrides:
truncate in class oracle.sql.DATE
Returns:
a Date Domain object.
main
public static void main(java.lang.String[] argv)
throws java.sql.SQLException
Internal: Applications should not invoke this method.-- Brian -
Oracle SQL Developer Data Modeler start up error
Hi All,
I just downloaded Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009] by selecting the option "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE)"
After I installed the same and tried to run it by clicking datamodeler.exe, I get the following error message
"unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
On the same machine I can successfuly run the Oracle SQL Develper with no errors. My machine is having Windows XP Professional SP3.
Any ideas? If there was a problem with Java, than the Oracle SQL Developer should also not run. But as stated it runs with out any error but the Oracle SQL Developer Data Modeler gives the above error.
Regards,
JAA1491 - The above problem has nothing to do with the memmory. I tried on a 400 MB RAM, 900 MB RAM, 1.5 MB RAM & 2 MB RAM with the same arror.
"unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll"
http://i30.tinypic.com/9vkwf6.jpg
2 - There are two "datamodeler.exe: files
One is at D:\datamodeler\datamodeler.exe
2nd is at D:\datamodeler\bin\datamodeler.exe
The same error occurs with both the files.
3 - The Oracle SQL Developer Data Modeler version is "Oracle SQL Developer Data Modeler (2.0.0.57.0) [Released 1 July 2009]" and the file I downloaded is "Oracle SQL Developer Data Modeler for Windows (This zip file includes the JRE) - (57M)"
If I look in "D:\datamodeler\jdk\jre\README.txt" I find
"Java(TM) Platform, Standard Edition Runtime Environment Version 6"
If I run "D:\datamodeler\jdk\jre\bin\javacpl.exe" I get
http://i30.tinypic.com/mt8ocn.jpg
If I run "D:\datamodeler\jdk\jre\bin\jureg.exe" I get
http://i28.tinypic.com/30boiyo.jpg
If i check at the control panle add/remove program
http://i30.tinypic.com/1428tba.jpg
If I go to "http://www.java.com/en/download/manual.jsp" and download "jre-6u16-windows-i586-s.exe" and run it.
If I go to "C:\Program Files\Java\jre6" I find the same files as in "D:\datamodeler\jdk\jre"
I am able to run Oracle SQL Developer with out any kind of error let alone the above one. But with Oracle SQL Developer Data Modeler I get the above mentioned error no matter what I try.
As the error states "unable to create an instance of the Java virtual machine located at path:..\jdk\jre\bin\client\jvm.dll". The file "jvm.dll" is located at two places. One at "D:\datamodeler\jdk\jre\bin\client\jvm.dll" and the second at "D:\datamodeler\jdk\jre\bin\server\jvm.dll"
A similiar problem occurs with JDeveloper with the fllowing solution
http://forums.oracle.com/forums/thread.jspa?threadID=506339&start=0&tstart=0
Which states the following
"hello!
in the problem with JDeveloper i have a solution. The jdk have a file jvm.dll in the path: jdk/jre/bin/client/jvm.dll this is the problem ... now in the path:jdk/jre/bin/client/ojvm has a file with the same name if you copy and paste this file to the another path, now its works fine your Jdeveloper.
Jdeveloper use two files to jvm.dll to work one in the folder /client and other in /server copy the same file to the two locations for precaution
for me work fine thanks..."
I tried to do the same (Copy from client folder to server folder)
D:\datamodeler\jdk\jre\bin\client\jvm.dll
COPIED THIS FILE TO
D:\datamodeler\jdk\jre\bin\server\jvm.dll
Nada. So I reversed it (copied from server folder to client folder)
D:\datamodeler\jdk\jre\bin\server\jvm.dll
COPIED THIS FILE TO
D:\datamodeler\jdk\jre\bin\client\jvm.dll
Does not work. So I tried another solution stated at the same forum entry
"Well,
i solved the problem by this way :
<SQLDEVELOPER>/jdev/bin/ide.conf
In this file, change this line :
AddVMOption -Xmx512M
by
AddVMOption -Xmx256M
Now, the executable is lauching correctly. No more errors with Java Virtual Machine.
But is it a good thing to solve it like that ?"
But the ide.conf file is only at "D:\sqldeveloper\ide\bin\ide.conf" which is for the SQL Developer and not the SQl Developer Data Modeler
Correct me if I am wrong but
JRE = Java Run Time Envoirment
JDK = Java Development Kit
And Oracle SQL Developer Data Modeler needs JRE and not JDK. In any case I download JDK
jdk-6u14-javafx-1_2-windows-i586.exe (121,306 KB) and installed it but no succcess.
I tried every thing except completely re-install my whole PC.
Any help will be much appreciated.
Cordially,
Jawad -
Domain.Date / Documentation Bug??
Hi,
The documentation for addMonths() in domain.Date states that the method overrides addMonths() in sql.Date to return a domain.Date.
It doesn't. It still returns a sql.Date.
Am i wrong??
Enjoy!!Hi
The domain.Date:
addMonths
public DATE addMonths(int months)Adds months to a date. Overrides the oracle.sql.DATE method of the same name to return a Date Domain object.
Returns:
new Date object initialized to the Date value added to months. Months can be negative to perform month subtraction.
See Also:
"oracle.sql.DATE"
package mypackage1;
import oracle.jbo.domain.Date;
public class Class1
public Class1()
public static void main(String[] args)
Date date1 = null;
Date date2 = new Date();
date1 = date2.addMonths(1);
Error(16,28): incompatible types; found: oracle.sql.DATE, required: oracle.jbo.domain.Date
What am i doing wrong?? -
Oracle SQL Developer needs some work
I just downloaded a copy today (1557) for Oracle 9.2i / Windows XP Pro
Oracle SQL Developer has a few glitches...
A compiled and working package (compiled in SQL*Plus and TOAD) opens and shows 2 errors in a SQL Query involving a CASE statement. Invalid CASE clause on an ELSE and unexpected token on an alias at the end of the case.
Compiling a package should display a message saying successfully compiled and the state of a package should always be on display!
Opened an SQL script but could not execute it as the icon's didn't become active.
Couldn't then run the script.
These basic problems would put any serious developer off using Oracle SQL Developer.
Also background color scheme should be gray and NOT white. White is hard on the eyes. This is just basic UI stuff.
Oracle, you need more senoir developers!Justified to the top left of the sql window, you see the execute buttons. On the top right, you will see a drop down list box. After opening a file, this drop down list box is not selected. Select your connection and the execute buttons on the top left will enable.
For PL/SQL use a slash / at the end for it to execute. -
Open Toad Data Modeler diagram with SQL Data Modeler
hi, I've made a diagram with TOAD Data Modeler in Windows. Now I'm working with Linux, so I need a portable application to work with. Oracle SQL Data Modeler seems to be the solution to my problems, but I can't open/import my TOAD's diagrams into SQL Data Modeler.
Anyone knows how to do it?
Thanks in advance,
Neuquino
Edited by: Neuquino2 on Nov 1, 2010 1:30 PMHi Neuquino,
there is no import from TOAD Data Modeler. You can generate DDL script with TOAD DM and import that script.
Philip -
Background
1. Weblogic 10.3.6.0 running on Oracle Linux 6.5 with Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)
2. Oracle Apex 4.2.1
3. Apex Listener 1.1.3
4. Apex and Apex Listener running on the Weblogic box above
5. SQL Developer 4.0.2 running on Windows 7 64 bit / Java 1.7.0_55
Updated Apex to 4.2.5 via p17966818_425_Generic.zip patchset. Apex environment running fine as do all applications via Listener 1.1.3
Updated Oracle Listener to the latest version of Oracle REST Data Services 2.0.7
Current Status
Apex Applications and RESTful services are running fine.
Problem
Unable to connect SQL Developer 4.0.2 to Oracle REST Data Services 2.0.7
Error message in SQL Developer - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
Additional Information
Steps followed -
1. The oracle users APEX_LISTENER and APEX_REST_PUBLIC_USER did not exist, so I ran apex_rest_config.sql from the APEX 2.4.1 patchset whilst connected sys as sysdba and provided the same password as APEX_PUBLIC_USER for both users.
2. I also ran
grant insert, delete on APEX_040200.wwv_flow_rt$privilege_groups to APEX_LISTENER;
alter session set current_schema = APEX_LISTENER;
create or replace synonym wwv_flow_rt$privilege_groups for APEX_040200.wwv_flow_rt$privilege_groups;
as per Oracle SQL Developer User's Guide Release 4.0
3. copied ords.war to apex.war
4. java -jar apex.war configdir /u01/app/oracle/admin/apex/devdomain1/
5. java -jar apex.war
Jun 5, 2014 5:15:31 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
Enter the name of the database server [localhost]:dbservername
Enter the database listen port [1521]:
Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
Enter the database service name:dbservicename
Enter the database user name [APEX_PUBLIC_USER]:
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:2
Jun 5, 2014 5:16:52 PM oracle.dbtools.common.config.file.ConfigurationFiles update
INFO: Updated configurations: defaults, apex, apex_al, apex_rt
Enter 1 if you wish to start in standalone mode or 2 to exit [1]:2
6. java -jar apex.war user adminlistener "Listener Administrator"
Jun 5, 2014 5:18:52 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: /u01/app/oracle/admin/apex/devdomain1/apex
Enter a password for user adminlistener:
Confirm password for user adminlistener:
Jun 6, 2014 5:19:12 PM AM oracle.dbtools.standalone.ModifyUser execute
INFO: Created user: adminlistener in file: /u01/app/oracle/admin/apex/devdomain1/apex/credentials
7. Updated the defaults.xml file
Added
<entry key="apex.security.user.roles">RESTful Services</entry>
<entry key="apex.security.developer.roles">OAuth2 Client Developer, SQL Developer</entry>
as per Oracle SQL Developer User's Guide Release 4.0
Changed
<entry key="debug.printDebugToScreen">false</entry>
to
<entry key="debug.printDebugToScreen">true</entry>
for RESTful debugging
Added
<entry key="security.verifySSL">false</entry>
to use OAuth2 in Non HTTPS Environment as per Oracle® REST Data Services Installation and Configuration Guide, Release 2.0
8. Deleted the Admin and Manager Roles within the apex application deployment which were part of the Apex Listener 1.1.3 install
9. Deployed the apex.war in weblogic
10. Stopped and started the weblogic server to which apex.war was deployed
11. In SQL Developer, View, RESTful Services. In the RESTful services windows hit connect, Create a new connection,
Connection Name DEV
Username adminlistener
selected http protocol
Hostname weblogicservername
Port 7250
Server Path /apex
Workspace (blank)
On the Authentication dialog
Username adminlistener
Password passwordsuppliedabove in step 6
Response is a dialog box titled Authentication Failed
message - Cannot connect to DEV. HTTP/1.1 403 Target service not allowed
NOTHING UNUSUAL IN ANY OF THE WEBLOGIC LOG FILES, EXCEPT THAT IT STATES
'Oracle REST Data Services version : 2.0.6.27.18.06' when I've installed 2.0.7.
Any help much appreciatedFurther to the above post, I thought I'd simplify my Apex Listener install just to see if I can connect to it via SQL Developer
So downloaded the latest version 2.0.8 and decided to configure and run the Listener on my pc whilst still connecting to the same database.
Operating system : Window 7 Pro 64 bit
Oracle Apex Listener 2.0.8
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
Went through the configuration as above, once started I tried again to access the listener via SQL Developer. This time I received this output from the listener:
INFO: Error: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found, occurred during execution of: [CALL, insert into wwv_flow_rt$approvals (user_name,status,client_id,security_group_id,created_by,created_on,updated_by,updated_on) values(/*in:user_id*/?,/*in:status*/?,/*in:client_id*/?,/*in:tenant_id*/?,upper(/*in:user_id*/?),/*in:created*/?,upper(/*in:user_id*/?),/*in:created*/?), [tenant_id, in, class java.math.BigInteger], [client_id, in, class java.math.BigInteger], [user_id, in, class java.lang.String], [status, in, class oracle.dbtools.rt.oauth.ApprovalRequest$Status], [created, in, class java.sql.Timestamp]]with values: [adminlistener, APPROVED, 3858401374580004, -1, adminlistener, 2014-06-23 12:19:18.785, adminlistener, 2014-06-23 12:19:18.785]
SQL Developer responded with an Authentication Failed titled dialog with the following displayed in the body of the dialog
Cannot connect to DEV.
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html>
<!--<![endif]-->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<style type="text/css" media="screen">html,body,div,span,h3,p,ol,ul,li,header,hgroup{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}header,hgroup{display:block}body{font:normal 12px/16px Arial,sans-serif;margin:0 auto;background:#6a9cda}header#xHeader{border-bottom:1px solid #8fa4c0;position:relative;z-index:10;background:none #000}header#xHeader hgroup{width:974px;margin:0 auto;position:relative;height:36px;background:none #000}header#xHeader a#uLogo{margin:8px 0;display:inline-block;font:bold 14px/20px Arial,sans-serif;color:#AAA;text-decoration:none}header#xHeader a#uLogo span.logo{color:#F00}.no-css3 div#xContentContainer div.xContent{padding-top:14px}.no-css3 div#xContentContainer div.xContent div.xMainLeft h2{margin-top:0}div#xWhiteContentContainer{margin-bottom:30px}div#xWhiteContentContainer.xContentWide{background:#FFF;margin-bottom:0}div#xWhiteContentContainer.xContentWide div.xWhiteContent{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}div#xWhiteContentContainer div.xWhiteContent{width:974px;margin:0 auto;padding:0 0 20px 0;background:#FFF;min-height:500px;-moz-border-radius:0 4px 4px 4px;-webkit-border-radius:0 4px 4px 4px;border-radius:0 4px 4px 4px;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.15);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.15);box-shadow:0 1px 2px rgba(0,0,0,0.15)}div#xContentHeaderContainer{background:#6a9cda;-moz-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset;box-shadow:0 -1px 0 rgba(0,0,0,0.15) inset}div#xContentHeaderContainer div.xContentHeader{width:974px;margin:0 auto;padding:30px 0 32px 0;position:relative;min-height:60px}div#xContentHeaderContainer div.xContentHeader h3{font:bold 24px/24px Arial,sans-serif;color:#fff;text-shadow:0 2px 1px rgba(0,0,0,0.25);margin:0 0 20px 0}div#xFooterContainer{min-height:200px;border-top:1px solid rgba(0,0,0,0.15);background:#6a9cda}body.errorPage div#xContentHeaderContainer div.xContentHeader{min-height:30px}body.errorPage div#xContentHeaderContainer div.xContentHeader h3{font:bold 30px/30px Arial,sans-serif;color:#FFF;text-shadow:0 1px 2px rgba(0,0,0,0.25);margin:0}div.errorPage p{font:normal 14px/20px Arial,sans-seri;color:#666;padding:0 0 10px 0}div.errorPage ul{list-style:disc outside;padding:0 10px 0;margin:0 0 20px 0}div.errorPage ul li{font:normal 12px/16px Arial,sans-serif;color:#666;margin:0 0 8px 10px}pre{font-family:Consolas,"Lucida Console","Courier New",Courier,monospace}
</style>
<script type="text/javascript" charset="utf-8">
'header hgroup'.replace(/\w+/g,
function(n) {
document.createElement(n)
</script>
<title>Internal Server Error</title>
</head>
<body class="errorPage">
<header id="xHeader">
<hgroup>
<a id="uLogo" href="./"><span class="logo">ORACLE</span>
REST DATA SERVICES</a>
</hgroup>
</header>
<div id="xContentHeaderContainer">
<div class="xContentHeader">
<h3>
<span class="statusCode">500</span> - <span
class="statusMessage">Internal Server Error</span>
</h3>
</div>
</div>
<div id="xWhiteContentContainer" class="xContentWide">
<div class="xWhiteContent">
<div class="errorPage">
<p>
<ul class="reasons">
</ul>
</p>
<p>
<pre>Request Path passes syntax validation
Mapping request to database pool: PoolMap [_failed=false, _lastUpdate=-1, _pattern=null, _poolName=apex, _regex=null, _type=REGEX, _workspaceIdentifier=null, _serviceName=null]
Applied database connection info
Attempting to process with PL/SQL Gateway
Not processed as PL/SQL Gateway request
Attempting to process as a RESTful Service
Choosing: oracle.dbtools.rt.oauth.TokenHandler as current candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true]
Determining if request can be dispatched as a Tenanted RESTful Service
Request path has one path segment, continuing processing
No Tenant Principal established yet, continuing processing
APEX_LISTENER pool exists, continuing processing
No matching tenant found for: oauth2, cannot dispatch
Chose oracle.dbtools.rt.oauth.TokenHandler as the final candidate with score: Score [handle=null, score=0, scope=SecurityConfig [constraint=secure, realm=OAUTH_CLIENT, logonConfig=NONE], originsAllowed=[], corsEnabled=true] for: POST oauth2/token
oauth2/token authorized as: p6xycV-2QceFnFHkWyJlnA..
</pre>
</p>
<p>
<pre>WebException [statusCode=500]
at oracle.dbtools.rt.web.WebException.webException(WebException.java:343)
at oracle.dbtools.rt.web.WebException.internalError(WebException.java:262)
at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:514)
at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApprovedRequest(JDBCOAuthDataAccess.java:181)
at oracle.dbtools.rt.oauth.OAuthAuthorization.resourceOwnerCredentials(OAuthAuthorization.java:654)
at oracle.dbtools.rt.oauth.OAuthAuthorization.tokenRequest(OAuthAuthorization.java:273)
at oracle.dbtools.rt.oauth.TokenHandler.post(TokenHandler.java:44)
at oracle.dbtools.rt.web.RequestHandler.response(RequestHandler.java:268)
at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:361)
at oracle.dbtools.rt.web.RequestHandler.dispatch(RequestHandler.java:85)
at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:93)
at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.doFilter(ServletAdapter.java:1059)
at com.sun.grizzly.http.servlet.ServletAdapter$FilterChainImpl.invokeFilterChain(ServletAdapter.java:999)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (APEX_040200.WWV_FLOW_RT$APPROVALS_SGID_FK) violated - parent key not found
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3713)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1378)
at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
at com.sun.proxy.$Proxy44.execute(Unknown Source)
at oracle.dbtools.common.jdbc.JDBCInsert.execute(JDBCInsert.java:58)
at oracle.dbtools.rt.oauth.jdbc.JDBCOAuthDataAccess.createApproval(JDBCOAuthDataAccess.java:487)
... 34 more
</pre>
</p>
</div>
</div>
</div>
<div id="xFooterContainer">
</div>
</body>
</html>
I am assuming this must be part of the problem I am seeing this the Weblogic deployment in my original post.
Does anyone have any suggestions on how best to tackle this?
Regards,
Derek -
Oracle SQL Developer Data Modeler Versus SQL Developer
Friends,
I'm trying to understand the differences between Oracle SQL Developer Data Modeler and the ability to use the Data Modeler in SQL Developer.
I've looked at both products home pages on OTN, http://www.oracle.com/technology/products/database/datamodeler/index.html & http://www.oracle.com/technology/products/database/sql_developer/index.html and would appreciate your comments on my findings so far
1) The Oracle SQL Developer Data Modeler is a stand-a-lone chargeable product whereas the use of the Data Modeler functionality of SQL Developer is free
2) The Data Modeler functionality within SQL Developer is basically a "viewer" I can create ERD's of my existing tables by dragging them into the modeler from the object navigator but that's about it. I can't save the diagram for later use or use it to change the structure of the table(s)
3) If I need to have "Oracle Designer" like ERD capabilities then I need to use Oracle SQL Developer Data Modeler (after purchase!)
4) Are there any other differences I have missed?
Thanks in advanceYou can open any diagram created in the stand-alone product in the SQL Developer Data Modeler Viewer and navigate through all property dialogs and the full navigator, just like you can in the stand-alone product, but with no update capabilities. This allows developers to fully review the model and all properties, without making changes.
Sue -
How to view execution history for any date in oracle SQL developer tool ?
hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.
sb92075 wrote:
943838 wrote:
hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
To the OP, there is a forum for SQL Developer
SQL Developer
And there's also a sticky on the forum for product enhancement requests
"Feature Requests, Extensions and General Collateral "
Cheers, -
Why does Oracle SQL query returning a date field without the time component
Hi,
I'm a novice SQL user & hv just installed Oracle SQL developer (Version 3.0.04, Build MAIN-04.34).
I made the same SQL query using "Oracle SQL developer" & "TOAD for Oracle 9.0.1" but I got 2 different format on the same date field:
On TOAD, I get the date field extracted as *04/26/2011 23:12:58*
On Oracle, I get the date field extracted as *26/APR/11*
Why is the Oracle result in a different format & missing the time component?
Is there any option/preference that I need to set in Oracle SQL developer to get the full date/time format displayed?
I've tried to set my the date format to DD/MON/RR HH12:MI:SSXFF AM under the preference -> database NLS but I still get the same format!
Plse help!hokim wrote:
Hi,
I'm a novice SQL user & hv just installed Oracle SQL developer (Version 3.0.04, Build MAIN-04.34).
I made the same SQL query using "Oracle SQL developer" & "TOAD for Oracle 9.0.1" but I got 2 different format on the same date field:
On TOAD, I get the date field extracted as *04/26/2011 23:12:58*
On Oracle, I get the date field extracted as *26/APR/11*
Why is the Oracle result in a different format & missing the time component?
Is there any option/preference that I need to set in Oracle SQL developer to get the full date/time format displayed?
I've tried to set my the date format to DD/MON/RR HH12:MI:SSXFF AM under the preference -> database NLS but I still get the same format!
Plse help!http://edstevensdba.wordpress.com/category/nls_date_format/ -
Oracle (SQL) support for Temporal / time period based data
Beyond standard SQL (DATE type etc. and <,>, LEAST, GREATEST, etc.) does Oracle offer anything to help handle time period based data? E.g. overlapping periods, joins when gaps in time periods from 2+ tables, period contiguity checks, etc. I've developed various SQL query techniques, but they're all rather cumbersome using standard SQL.
Oracle Spatial offers geo-location support - is there anything similar for temporal query support?
Any good books / docs on the subject?Check out Workspace manager for limited out of the box temporal support.
You may also want to have a read through this series of articles about temporal database systems. They aren't Oracle specific, but may help you with your temporal system design. -
Oracle 9i Data Guard Documentation
Hi,
I am trying to get documentation on Oracle 9i Data Guard.
When I am at this url: http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardOverview.html
I then activate the link on the right for "Oracle 9i Data Guard Documentation".
However, the link moves me to "Oracle 9i list of books", instead of where I want to be.
Can you please rectify this or send me the link to get this documentation.
Thanks,
Jason MetzkerHi
The response I received in regards to the links to the Oracle 9i Data Guard Documentation page is that the link is correct.
The Data Guard doc is part of the database documentation set which is why the Oracle 9i Data Guard Documentation links takes you to the list of books. The Data Guard Documentation is also listed in the list of books.
Thanks & Regards,
Chao
Maybe you are looking for
-
N8: Online flash videos like youtube not working.
My N8 used to play all the videos on youtube and other websites a couple of weeks ago, but now, it doesn't. When i open youtube or any other website in desktop mode in the default browser, instead of the video being played, there is a sign of "Flash"
-
Classic Scenario; SRM 5.0; R/3 46C Hi everyone, I am a true novice when it comes to troubleshooting issues related to Business Partners. My updated SRM Org Structure shows that there is a node w/ a business partner number 0000005409 under the Extend
-
Document database in Jdeveloper like Oracle designer
Hi, I want to know if there is some way to document the database (Mode diagramm, entities, all BD objects) in Oracle Jdeveloper like Oracle Designer Thanks.
-
Regadring export to unix in excel
Hi i want to Export a report output into a UNIX folder in excel format . i have done text file using pen date set but how to do it in excel format.Plese suggest Moderator Message: Duplicate post. Edited by: kishan P on Nov 12, 2010 9:37 AM
-
Images darker when added to slideshow
I've recently noticed that photos added to a new slideshow appear - within the slideshow interface and when exported - much, much darker than the original photo. It's as iff the black point for the image has been cranked way up and virtually all deta