Problem Using Relational Operators !!
The code given under is not working corretly. The problem is stated as comments in the program.
if(result.next())
String temp_no=t_no.getText();
String temp_nm=t_name.getText();
String temp_result1= result.getString(2);
String temp_result2= result.getString(3);
if(temp_no!=temp_result1) // The condition is always true.Even if i give the same no & name as in database!! Why is it so?
JOptionPane.showMessageDialog(cdFrame, new String("There Is No Disc With The Specified Number !!"));
else
if(temp_nm!=temp_result2)
JOptionPane.showMessageDialog(cdFrame, new String("There Is No Disc With The Specified Name !!"));
else
upd.executeUpdate();
JOptionPane.showMessageDialog(cdFrame, new String("DATA HAS BEEN UPDATED !!"));
else
JOptionPane.showMessageDialog(cdFrame, new String("There Is No Such Disc As Stated In Old Data !!"));
} The Program compiles properly and gives no runtime error. What's the problem!!
yes dude, u can't use relational operators for objects.. its works only on simple data types..
Similar Messages
-
Problem in using relational operators in Data Templates
Hi All,
I have a query like following in data template type of Data set but I am not getting any data if I use simple < operator. Same query shows data in the database. Is there any other specific way of using relational operators in Data templates ? Please help in this regard
<dataTemplate name="REVIEW_DATE" dataSourceRef="MY_DB">
<dataQuery>
<sqlStatement name="REVIEW_DATE">
<![CDATA[
SELECT
TABLE1.REVIEW_DATE
FROM TABLE1 TABLE1 , TABLE2 TABLE2
WHERE
TABLE1.COLUMN1 = TABLE2.COLUMN2
AND TABLE1.REVIEW_DATE < TABLE2.CURRENT_DATE]]></sqlStatement>
</dataQuery>
<dataStructure>
<group name="REVIEW_DATE" source="REVIEW_DATE">
<element name="REVIEW_DATE" value="REVIEW_DATE"/>
</group>
</dataStructure>
</dataTemplate>Thanks a lot !
-Sookiesolved after watching www.youtube.com/watch?v=FCujba8euWc
thanks to all -
Problem using relative sizes on a HTMLtext
Hi
I have a problem using relative sizes on a HTMLtext on Flash
ActionsScript
2.0
Something like:
htmltext= '<font size="+5">TITLE</font>Text
Praragraph...'
(+5 in normal HTML means is 5 points bigger than the standard
text.)
I create the the textArea i set the size and everything if I
do it by
actionscript everything works fine except when i setup the
htmltext, the
text disspears so I need to re-set the embeded font with:
myTextFormat.font = Varfont;
textBox.embedFonts = true;
textBox.setTextFormat(myTextFormat);
But using this lines I lose the previous size. that i
assigned before when i
created the textarea. And goes to a standard size... dont
know why, i am
using a different TextFormat.....
And If i want to use the size i was using , all the text
becomes the same
size (but is the size that I want)...
If I create the text area manually using the gui, it works
well.
¬_¬
>-------------------------------------------------------------------------------------<
The main problem is... why the the text dissapears when i set
a new html
text???
>-------------------------------------------------------------------------------------<
Thanks.1. Really there are a few functions that i skiped yesterday:
3. The font is linked and embeded in library.
public function setHTMLText(texto:String):Void {
textBox.html = true;
textBox.htmlText = texto;
public function setEmbedFont(__font) {
_font = __font;
_embed = true;
setTextStyle(__font);
public function setTextStyle(__font:String, __bold:Boolean,
__underline:Boolean, __italic:Boolean) {
var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = _font;
textBox.setTextFormat(myTextFormat);
public function setTextSize(__size:Number) {
var myTextSize:TextFormat = new TextFormat();
myTextSize.size = _size;
textBox.setTextFormat(myTextSize);
Kind of constructor:
autotext_txt.setTextSize(20);
//1 if I activate this one the text will dissapear after
asigning a new
text. And I will need to apply the embed font again.
autotext_txt.setEmbedFont("Arial2");
autotext_txt.setHTMLText(This is a text (big text) | <font
size="-5"
color="#dddddd"> Small Text</font>');
autotext_txt.setEmbedFont("Arial2");
Why dont u have a try?
Thanks,
J
"kglad" <[email protected]> escribió en
el mensaje
news:elo6bk$pu3$[email protected]..
> 1. where's Varfont defined?
> 2. htmtext should be htmlText.
> 3. have you defined a linkage id for a library font? -
Problem Using XQuery Operators
I have been able to use every XPath function in the "fn" namespace so far with no problem. Unfortunately, when I tried to use an XQuery operator from the "op" namespace, I get an error. I am trying to use "op:date-equals(xs:date, xs:date)" and I get the following error message:
com.sleepycat.dbxml.XmlException: Error: Function 'date-equal' in namespace 'http://www.w3.org/2005/04/xpath-functions' with 2 argument is undefined [err:XPST0017], errcode = XPATH_PARSER_ERROR
The actual XQuery is: "/ld:library/book[date-equal(2006-11-28, year)]". year is a direct child of book. I've tried putting "./" before year, but I get the same error.Hi Brian,
When reading the XQuery Functions and Operators specification, functions in the "op" namespace are merely used to describe functionality - they are not available to a user of XQuery.
Note also that XQuery does not allow you to write an xs:date as a literal - you will have to cast a string to an xs:date.
In order to compare items as a date, you should first cast the items to an xs:date, and then use the "=" or "eq" operators:
/ld:library/book[xs:date(year) = xs:date("2006-11-28")]John -
How to use relational operator in JSF EL
Hi,
I am trying to set the insert allowed property for the subtab based if the no.of records in the sub tab is less than 2. So i tried the following expressions in the insert allowed property
1. #{bindings.OvrBrowseTypesIterator.estimatedRowCount < 2} which leads to compilation errors - no start tag found etc..
2. #{bindings.OvrBrowseTypesIterator.estimatedRowCount ls 2} which leads to runtime error - encountered "ls" at line 1 col 1752 when expecting one of the following "(" , "<" , ">" etc....
Please advise if any one has used relational operators in the EL.
Thanks, PradeepI found the mistake. I should use "lt" instead of "ls" for less than.
#{bindings.OvrBrowseTypesIterator.estimatedRowCount lt 2} works fine. -
Use realational operators in an SQL query??????
does any one knows how to use realational operators in an SQL query??????
i wud like to do something like
select decode(2<3,sysdate,sydate +1) from dual
but i know decode does not supports relational operators......
thanx and Regards
amytYou can use a CASE statement which does support relational operators, or if you must use DECODE, then you can use something like:
SELECT DECODE(SIGN(2 - 3),-1,sysdate,sysdate - 1)
FROM dual;The SIGN function returns -1 if the expression is < 0, 1 if the expression is > 0 and 0 if the expression is 0. This works for numeric comparisions. You can use the GREATEST or LEAST functions in a similar fashion for character comparisions.
TTFN
John -
SAP Crystal Reports data source connection problem using sap business one
Hi,
I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
I am trying to create a Crystal report but when I try to configure a new connection it does not work.
I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
Our Current SAP related software details are as follows:
OS: Windows Server 2008
SAP B1 Version: SAP B1 9 (902001) Patch 9
SAP Crystal Report Version: 14.0.4.738 RTM
Database: MS SQL Server 2008 R2
I have also added some screenshots of the issues.
Please have a look and let me know if you have any questions or any further clarifications.
I m eagerly waiting for a quick and positive reply.Hi,
There is problem with SAP Business One date source.
I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
So, try to use OLEDB.
Regards,
Amrut Sabnis. -
Could not complete the command because of a problem using the Adobe Color Engine
Hi all
This bizarrely started this morning - completely out of the blue - and I've no idea why.
Setup: Mac 10.8.2 / Creative Suite Premium PhotoShop CS5 extended (patched to 12.04)
Am working on images exported from LightRoom 4 (16bit A3 Pro Photo RGB PSDs) in PhotoShop CS5.
As part of my image grading process I have a PhotoShop Action that does the following: copy layer to new document (document respects all of copied layer settings) > Image > Adjustments > HDR toning > apply a certain HDR preset > copy to resultant image back to original doc > set opacity as 40%.
Totally out of the blue, after having this action for about 2 months, this morning I start getting a warning dialog of "Could not complete the command because of a problem using the Adobe Color Engine" and the action fails. The failure seems to take place at the 'make document' part of the action and seems to somehow be related to the contents of the clipboard.
I've tried trashing and re-creating the action. It works first time out fine and then - on the next image - errors again.
At present I can only safely carry out the work 'manually' by completing all the actions myself.
I can think of no settings that have changed and the OS hasn't been updated in a while.
I have found one other thread on a similar problem in PhotoShop Elements, but no definitive solution.
Any help appreciated as I have a shedload of stuff to process.
Best wishes
TPOK: trash of prefs didn't work. Tried thrice. Re-created orig action. same problem.
BUT!
Your 'Image > Duplicate' suggestion does seem to work. If I use that in a new action as the method for creating the HDR version doc (instead of 'Select > Copy > New > Paste), it seems to work.
Will try that out this afternoon, but for now: WIN!
Many thanks for the suggestion!
TP -
Problem using myfaces on webLogic
I run into the problem using myfaces on webLogic 9.1.
That is... a managedBean's instance is created twice in one page.
That page is consisted with one <h:inputText> and <h:commandButton>.
After some tests, we found out that the problems happens in a JSP which has <h:inputText>...
This problem didn't happen on Tomcat or JDeveloper.
We tried with another application.
And oh my goodness, it didn't happen.
It worked collect with no problems at all.
The difference between two application is,
the former managedBean extends abstract class,
and the latter doesn't.
Pls help me.....It was a program bag rather than weblogic's problem.
In the program, it deleted all the objects in the session scope.
So, after JSF render the next JSP, it re-create a managed bean.
But, I'm still wonder why the same things didn't happen in Tomcat.
WebLogic put managed bean into the session soon after JSF
creates it.
On the otherhand, Tomcat does that after managedbean's action
is completed???
Considering the JSF specification, i think weblogic is right.
Cos,JSF put all the components and related managed bean
into session, in the rendering phase.
Thanks for asking anyway. -
This problem is related also with chrome, opera and explorer. I reinstalled java but nothing changed
To avoid confusion:
*http://kb.mozillazine.org/JavaScript_is_not_Java
Note the javascript: void(0); is often use as a placeholder URL to indicate that an onclick event is tied to the link to do the actual action.<br />
If JavaScript is blocked for some reason then this javascript: void(0); links comes into view.
Make sure that you do not block JavaScript.
*http://kb.mozillazine.org/JavaScript
Also make sure that your security software isn't blocking JavaScript if it happens in other browsers as well.
You can try these steps in case of issues with web pages:
Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Hold down the Shift key and left-click the Reload button
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (Mac)
Clear the cache and cookies only from websites that cause problems.
"Clear the Cache":
*Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Can't use relative paths in jsp pages or javabeans
Hi everyone,
Can someone please help me with this little problem.
When I want to use in a JSP page the object 'FileReadInput' to read in a file, it can't find when I only give the filename. The target file and source file are in the same directory so I would expect if I only give the filename, it will automatically search in the current directory. But when I give the complete absolute path, everything works fine. Is it possible to use relative paths in a jsp or javabean file?
By the way, I am working with JDeveloper from Oracle. (maybe that has something to do with my problem)
Can someone help me???
ThxMy dear friend,
It will not work at all. coz, for any jsp file, ur application server will create a .java file and then .class file in a directory other than the directory where ur .jsp file present. that's why, ur file to be read can't be found. that's why use the following.
String path=getServletConfig().getServletContext().getRealPath("/")+File.seperator+"yourfilename"; -
Problems using FW-7344 with Fire Wire Video Cameras
Is it a bad idea to use the FW-7344 with other devices on the same fire wire bus?
We are trying to use an FW-7344 with a fire wire video camera but we tend to get packet errors that force a reset of the controller. We suspect that the problem is related with the camera and controller being on the same fire wire bus.
We instantly see problems when we connect two FW7344s and one video camera on the same fire wire card.The NIMax program reads Packet Error. I can't recall the first error that our program reads, but I think it typically says something about not being able to communicate return values from the controller to the host computer.
This makes me think that the NI driver on the host does not retry after failing to get return data from the controller. This assumption may be valid with the PCI version, but probably is not with the FireWire version.
It only takes one camera for this problem to happen, but the problem is intermittent. -
Though I found LabVIEW very interesting , still some of its basic fundamentals are not clear, like using comparison operators (>,<,..) for solving different
mathematical expressions. Please give example showing how to use such operators in advanced mathematical problems.
Best Regards,
Allawiallawi1 wrote:
What I am looking for is how to use such functions in selecting different mathematical expressions i.e..(working like logical if statement).
You need to be more specific. A comparison operation IS like a logical IF statement and the result is either TRUE or FALSE.
What do you mean by a "mathematical expression"? What do you mean by "different"? Can you give an illustrative example?
If two alternative mathematical expressions should depend on the comparison, wire the comparison output to a case structure and place the two different expressions in their own case, for example.
LabVIEW Champion . Do more with less code and in less time . -
Hi,
I have a question on using EJB / or RMI servers with CORBA clients using
RMI-IIOP transport, which in theory should work, but in practice has few
glitches.
Basically, I have implemented a very simple server, StockTreader, which
looks up for a symbol and returns a 'Stock' object. In the first example, I
simplified the 'Stock' object to be a mere java.lang.String, so that lookup
would simply return the 'synbol'.
Then I have implemented the above, as an RMI-IIOP server (case 1) and a
CORBA server (case 2) with respective clients, and the pair of
client-servers work fine as long as they are CORBA-to-CORBA and RMI-to-RMI.
But the problem arises when I tried using the RMI server (via IIOP) with the
CORBA client, when the client tries to narrow the object ref obtained from
the naming service into the CORBA idl defined type (StockTrader) it ends up
with a class cast exception.
This is what I did to achieve the above results:
[1] Define an RMI interface StockTrader.java (extending java.rmi.Remote)
with the method,
public String lookup( String symbol) throws RMIException;
[2] Implement the StorckTrader interface (on a PortableRemoteObject derived
class, to make it IIOP compliant), and then the server to register the stock
trader with COS Naming service as follows:
String homeName =....
StockTraderImpl trader =new StockTraderImpl();
System.out.println("binding obj <" homeName ">...");
java.util.Hashtable ht =new java.util.Hashtable();
ht.put("java.naming.factory.initial", args[2]);
ht.put("java.naming.provider.url", args[3]);
Context ctx =new InitialContext(ht);
ctx.rebind(homeName, trader);
[3] Generate the RMI-IIOP skeletons for the Implementation class,
rmic -iiop stock.StockTraderImpl
[4] generate the IDL for the RMI interface,
rmic -idl stock.StockTraderImpl
[5] Generate IDL stubs for the CORBA client,
idlj -v -fclient -emitAll StockTraderImpl.idl
[6] Write the client to use the IDL-defined stock trader,
String serverName =args[0];
String symList =args[1];
StockClient client =new StockClient();
System.out.println("init orb...");
ORB orb =ORB.init(args, null);
System.out.println("resolve init name service...");
org.omg.CORBA.Object objRef
=orb.resolve_initial_references("NameService");
NamingContext naming =NamingContextHelper.narrow(objRef);
... define a naming component etc...
org.omg.CORBA.Object obj =naming.resolve(...);
System.out.println("narrow objRef: " obj.getClass() ": " +obj);
StockTrader trader =StockTraderHelper.narrow(obj);
[7] Compile all the classes using Java 1.2.2
[8] start tnameserv (naming service), then the server to register the RMI
server obj
[9] Run the CORBA client, passing it the COSNaming service ref name (with
which the server obj is registered)
The CORBA client successfully finds the server obj ref in the naming
service, the operation StockTraderHelper.narrow() fails in the segment
below, with a class cast exception:
org.omg.CORBA.Object obj =naming.resolve(...);
StockTrader trader =StockTraderHelper.narrow(obj);
The <obj> returned by naming service turns out to be of the type;
class com.sun.rmi.iiop.CDRInputStream$1
This is of the same type when stock trader object is registered in a CORBA
server (as opposed to an RMI server), but works correctly with no casting
excpetions..
Any ideas / hints very welcome.
thanks in advance,
-hariOn the contrary... all that is being said is that we needed to provide clearer examples/documentation in the 5.1.0 release. There will be no difference between the product as found in the service pack and the product found in the 5.1.1. That is, the only substantive will be that 5.1.1 will also
include the examples.
"<=one way=>" wrote:
With reference to your and other messages, it appears that one should not
expect that WLS RMI-IIOP will work in a complex real-life system, at least
not now. In other words, support for real-life CORBA clients is not an
option in the current release of WLS.
TIA
"Eduardo Ceballos" <[email protected]> wrote in message
news:[email protected]...
We currently publish an IDL example, even though the IDL programmingmodel in Java is completely non-functional, in anticipation of the support
needs for uses who need to use IDL to talk to the Weblogic server,
generically. This example illustrates the simplest connectivity; it does not
address how
to integrate CORBA and EJB, a broad topic, fraught with peril, imo. I'llnote in passing that, to my knowledge, none of the other vendors attempt
this topic either, a point which is telling if all the less happy to hear.
For the record then, what is missing from our distribution wrt RMI-IIOPare a RMI-IIOP example, an EJB-IIOP example, an EJB-C++. In this you are
correct; better examples are forth coming.
Still, I would not call our RMI-IIOP implementation fragile. I would saythat customers have an understandably hard time accepting that the IDL
programming model is busted; busted in the sense that there are no C++
libraries to support the EJB model, and busted in the sense that there is
simply no
support in Java for an IDL interface to an EJB. Weblogic has nothing to doit being busted, although we are trying to help our customers deal with it
in productive ways.
For the moment, what there is is a RMI (over IIOP) programming model, aninherently Java to Java programming model, and true to that, we accept and
dispatch IIOP request into RMI server objects. The way I look at it is this:
it's just a protocol, like HTTP, or JRMP; it's not IDL and it has
practically nothing to do with CORBA.
ST wrote:
Eduardo,
Can you give us more details about the comment below:
I fear that as soon as the call to narrow succeeds, the remainingapplication will fail to work correctly because it is too difficult ot
use an idl client in java to work.It seems to me that Weblogic's RMI-IIOP is a very fragile
implementation. We
don't need a "HelloWorld" example, we need a concrete serious example(fully
tested and seriously documented) that works so that we can get a betteridea
on how to integrate CORBA and EJB.
Thanks,
Said
"Eduardo Ceballos" <[email protected]> wrote in message
news:[email protected]...
Please post request to the news group...
As I said, you must separate the idl related classes (class files and
java
files) from the rmi classes... in the rmic step, you must set a newtarget
(as you did), emit the java files into that directory (it's not clearyou
did this), then remove all the rmi class files from the class path... ifyou
need to compile more classes at that point, copy the java files to theidl
directly is you must, but you can not share the types in any way.
I fear that as soon as the call to narrow succeeds, the remainingapplication will fail to work correctly because it is too difficult otuse
an idl client in java to work.
Harindra Rajapakshe wrote:
Hi Eduardo,
Thanks for the help. That is the way I compiled my CORBA client, by
separating the IDL-generated stubs from the RMI ones, but still I
get a
CORBA.BAD_PARAM upon narrowing the client proxy to the interfacetype.
Here's what I did;
+ Define the RMI interfaces, in this case a StockTrader interface.
+ Implement RMI interface by extendingjavax.rmi.PortableRemoteObject
making
it IIOP compliant
+ Implemnnt an RMI server, and compile using JDK1.2.2
+ use the RMI implementation to generate CORBA idl, using RMI-IIOPplugin
utility rmic;
rmic -idl -noValueMethods -always -d idl stock.StockTraderImpl
+ generate Java mappings to the IDL generated above, using RMI-IIOPplugin
util,
idlj -v -fclient -emitAll -tf src stocks\StockTrader.idl
This creates source for the package stock and also
org.omg.CORBA.*
package, presumably IIOP type marshalling
+ compile all classes generated above using JDK1.2.2
+ Implement client (CORBA) using the classes generated above, NOTthe
RMI
proxies.
+ start RMI server, with stockTrader server obj
+ start tnameserv
+ start CORBA client
Then the client errors when trying to narrow the obj ref from the
naming
service, into the CORBA IDL defined interface using,
org.omg.CORBA.Object obj =naming.resolve(nn);
StockTrader trader =StockTraderHelper.narrow(obj); // THIS
ERRORS..!!!
throwing a CORBA.BAD_PARAM exception.
any ideas..?
Thanks in advance,
-hari
----- Original Message -----
From: Eduardo Ceballos <[email protected]>
Newsgroups: weblogic.developer.interest.rmi-iiop
To: Hari Rajapakshe <[email protected]>
Sent: Wednesday, July 26, 2000 4:38 AM
Subject: Re: problem using CORBA clients with RMI/EJBservers..!!!???
Please see the post on june 26, re Errors compiling... somewherein
there,
I suspect, you are referring to the rmi class file when you are
obliged
to
completely segregate these from the idl class files.
Hari Rajapakshe wrote:
Hi,
I have a question on using EJB / or RMI servers with CORBA
clients
using
RMI-IIOP transport, which in theory should work, but in practice
has
few
glitches.
Basically, I have implemented a very simple server,
StockTreader,
which
looks up for a symbol and returns a 'Stock' object. In the firstexample, I
simplified the 'Stock' object to be a mere java.lang.String, so
that
lookup
would simply return the 'synbol'.
Then I have implemented the above, as an RMI-IIOP server (case
1)
and a
CORBA server (case 2) with respective clients, and the pair of
client-servers work fine as long as they are CORBA-to-CORBA andRMI-to-RMI.
But the problem arises when I tried using the RMI server (via
IIOP)
with
the
CORBA client, when the client tries to narrow the object ref
obtained
from
the naming service into the CORBA idl defined type (StockTrader)
it
ends
up
with a class cast exception.
This is what I did to achieve the above results:
[1] Define an RMI interface StockTrader.java (extending
java.rmi.Remote)
with the method,
public String lookup( String symbol) throws RMIException;
[2] Implement the StorckTrader interface (on a
PortableRemoteObject
derived
class, to make it IIOP compliant), and then the server to
register
the
stock
trader with COS Naming service as follows:
String homeName =....
StockTraderImpl trader =new StockTraderImpl();
System.out.println("binding obj <" homeName ">...");
java.util.Hashtable ht =new java.util.Hashtable();
ht.put("java.naming.factory.initial", args[2]);
ht.put("java.naming.provider.url", args[3]);
Context ctx =new InitialContext(ht);
ctx.rebind(homeName, trader);
[3] Generate the RMI-IIOP skeletons for the Implementation
class,
rmic -iiop stock.StockTraderImpl
[4] generate the IDL for the RMI interface,
rmic -idl stock.StockTraderImpl
[5] Generate IDL stubs for the CORBA client,
idlj -v -fclient -emitAll StockTraderImpl.idl
[6] Write the client to use the IDL-defined stock trader,
String serverName =args[0];
String symList =args[1];
StockClient client =new StockClient();
System.out.println("init orb...");
ORB orb =ORB.init(args, null);
System.out.println("resolve init name service...");
org.omg.CORBA.Object objRef
=orb.resolve_initial_references("NameService");
NamingContext naming=NamingContextHelper.narrow(objRef);
... define a naming component etc...
org.omg.CORBA.Object obj =naming.resolve(...);
System.out.println("narrow objRef: " obj.getClass() ":"
+obj);
StockTrader trader =StockTraderHelper.narrow(obj);
[7] Compile all the classes using Java 1.2.2
[8] start tnameserv (naming service), then the server to
register
the
RMI
server obj
[9] Run the CORBA client, passing it the COSNaming service ref
name
(with
which the server obj is registered)
The CORBA client successfully finds the server obj ref in the
naming
service, the operation StockTraderHelper.narrow() fails in thesegment
below, with a class cast exception:
org.omg.CORBA.Object obj =naming.resolve(...);
StockTrader trader =StockTraderHelper.narrow(obj);
The <obj> returned by naming service turns out to be of the
type;
class com.sun.rmi.iiop.CDRInputStream$1
This is of the same type when stock trader object is registeredin a
CORBA
server (as opposed to an RMI server), but works correctly with
no
casting
excpetions..
Any ideas / hints very welcome.
thanks in advance,
-hari -
Problem using auto-complete SQL Developer
Hi everyone ...
I'm having a problem using the SQL Developer 3.2.20.09 87 ... when I try to use auto-complete in a 'SELECT' clause at a specific table (EX: clients.cod_client), if I have more tables in my 'FROM' clause, the program shows all columns from all tables. Even if I have specified the table I want to show the columns (like the exemple: clients.<columns>) ...
I've tryed to change the properties at preferences->insight ... but there's no option to change it there.
So, if anyone have faced this problem and solved, please help me ;)Hi,
There is a specific forum for this kind of question which are not related to PL/SQL: {forum:id=260}
Please mark this question as answered and post your question there.
Regards.
Al
Maybe you are looking for
-
What is the better way to put a kernel badi in a Sap program?
I'm trying to put a kernel badi into transaction VA01. How can I put this new BAdi?, Inside a User Exit?
-
How can I select paper size while in print preview ?
I have a printer with four different paper trays, and each one is loaded with different size of paper: A3, A4, Legal, envelopes. When I use IE 11, I can easy go to print preview, click on page setup (little gear icon), select paper size , margins, et
-
Convert Text file encoding in perticular format(Unicode)
Hi Expert, I have requirement of transfering text file (encoding) in perticular file format to Application server ,by default SAP system generates in ANSI ,is it possible to convert it to Unicode format like UTF-8.If possible then how to generate the
-
Provisioning log is not available on Access request type Change Account
Hi, So I have and issue when I try to submit a request to add a role to a user and I'm trying to understand what could be the reason for it. Basically I have a workflow that works perfectly for a "Change Request". I can see that all the steps are e
-
How to copy iWeb blog to new iWeb site?
Hi Folks, I am able to successfully move, via drag and drop, my blog from an old iWeb site to a new one in iWeb. However, what I want to do is to preserve the old blog as a backup, and them start updating and chagging the blog contet in the new iWeb