Hi,
I am writing a Stored Procedure that must delete an entry from table A. However, Table A's key (A_id) is a foreign key in Table B.
Whats the best way to check if the value for A_id I am to find and delete from Table A, exists in Table B ?
I was thinking an EXISTS would work but that would...
Hi,
I'm trying to parse a string using coma as the delimeter...
public ParseInputString(String inputString)
{
java.util.StringTokenizer st = new java.util.StringTokenizer(inputString, ",");
parseParameter(st);
while (st.hasMoreTokens())
{...
I fixed it (at least it comppiles) :)
eventElement.setName(EventName.GPRS);
However, when I run it I now get the following...
java HelloXMLBeans.java
Exception in thread "main" java.lang.NoClassDefFoundError: HelloXMLBeans/java
ls of the current dir is...
ls
HelloXMLBeans.class...
Thats where the problem is.
I got some example code from dev2bea.bea.com and for setting the enumerated types it uses something like this.
I thought from their example that...
eventElement.setEventName(Event.EventName.GPRS);
was correct tp selct the <xs:enumeration value="GPRS"/>
When...
...possible to start with before moving onto a much more complex schema.
I can't get this to compile...
My java code is...
import org.apache.xmlbeans.*;
import noNamespace.*;
import java.io.*;
public class HelloXMLBeans
{
EventDocument eventDoc;
EventDocument.Event eventElement...
JontyMC,
I downloaded XMLSpy yesterday so am very new to it.
Could you give me some pointers as to how to go about this ?
Help would be much appreciated.
Brian.
Hi,
I have an XML Schema. I can create a XML doc using this schema.
What I need to do is figure out a way to populate my XML doc with random values. Is there any way to do this other than to write some process (C++ or Java) to parse the schema and generate an XML doc based on the schema.
I...
Hi,
I created a shared library a while ago and its been running fine for months. Now suddenly it has stopped working, but only on one machine (Sun Ultra 10) !
The C Shared Library is being called from some C++ code and had been working fine until tested on this one particular machine. Nothing...
...following error on compilation...
c++ -c -g -D__SOLARIS__ -I. -I../../include -o debug.o debug.C
debug.C: In function `void LogMessage(int, char *, ...)':
debug.C:117: `__builtin_va_alist' undeclared (first use this function)
debug.C:117: (Each undeclared identifier is reported only once...
Hi,
I was wondering if anyone knew what I need to do to read a Tape device used for backups ?
I'm using 'dd' to make the backup but must read the tape before each backup to forward the tape to the end of the last backup to make sure I don't overwrite any previous backups.
you're help would be...
I was using gnu gcc ver 3.0.3 and was just told that its not the best version ever so I got my hands on gnu gcc ver 2.95.3 and that seems to have solved the problem.
Very strange indeed.
Thanks for your help.
Cheer,
Brian.
yes and yes :)
its very strange alright as I can't get anything done with this stuff until I try and get it all to compile.
Any more ideas ?
Cheers,
Brian.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.