Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: Kate Albany
Forum: MS SQL May 29th, 2006
Replies: 3
Views: 9,197
Posted By Kate Albany
Hello,

I use Java & Oracle, not .NET & SQL Server. Nevertheless, unless I am missing something about .NET, you need a 'commit' after the update and before you close the connection. Otherwise after...
Forum: Java Apr 24th, 2006
Replies: 3
Views: 6,579
Posted By Kate Albany
uth,


You can create a new thread at any time. Then if you so desire, let the 'main' thread die by letting the 'public static main' function return. If the thread you created is a 'daemon'...
Forum: Oracle Feb 28th, 2006
Replies: 2
Views: 3,721
Posted By Kate Albany
Hi,

Use 'sysdate' - without the quotes.

example:

select sysdate from dual
/

Kate
Forum: MS SQL Feb 16th, 2006
Replies: 1
Views: 1,739
Posted By Kate Albany
campkev,

I don't have much experience with Microsoft SQL Server, I use Oracle. However this is how I would approch it in Oracle. The syntax may be different in SQL Server but the principal will be...
Forum: Java Feb 1st, 2006
Replies: 2
Views: 1,866
Posted By Kate Albany
Poornima,

This sample program is trying to use the OCI (Oracle Call Interface) JDBC driver. This is a platform dependant driver. I would strongly recommend researching how to use the Oracle Thin...
Forum: Shell Scripting Feb 1st, 2006
Replies: 2
Views: 1,812
Posted By Kate Albany
Hi,

Remove "#!/bin/csh" from your script. This instructs the shell to begin a new shell session to execute your script. This is why it does not change your 'current' directory. It is the 'new'...
Forum: Java Dec 5th, 2005
Replies: 9
Views: 2,210
Posted By Kate Albany
I know, I saw this problem myself. But it wasn't what you were asking for help with so I didn't address it, besides I wanted to see how far you could get with this by yourself. If you analyze the...
Forum: Java Dec 4th, 2005
Replies: 9
Views: 2,210
Posted By Kate Albany
Ghost,

First a rant, then I will help you and then maybe some more ranting.

You have not been forthcoming with the details of your problem and the things you have tried to solve it thus far....
Forum: Java Nov 16th, 2005
Replies: 17
Views: 13,222
Posted By Kate Albany
As I was editing an Ant build.xml file today at work it occurred to me that although it seems easy enough, it might in fact be more difficult for a beginner to get to grips with Ant then the standard...
Forum: Java Nov 16th, 2005
Replies: 17
Views: 13,222
Posted By Kate Albany
Iamthwee,

Netbeans uses the Apache Ant build tool to do it's compilation. The Ant build.xml file Netbeans uses should create a jar in a directory called 'dist' under the project folder.

As you...
Forum: Java Oct 23rd, 2005
Replies: 13
Views: 3,831
Posted By Kate Albany
Hi,

No, the -cp flag works just the same under Linux. This problem is not classpath related though.

Kate
Forum: Java Oct 23rd, 2005
Replies: 13
Views: 3,831
Posted By Kate Albany
Hello,

Background

The reason you are receiving the 'UnsupportedClassVersionError' is because the 'bash' shell is finding the default installed 'java' bundled with MDK (Mandrake) 10. You can...
Forum: Java Oct 15th, 2005
Replies: 6
Views: 1,840
Posted By Kate Albany
Hi,

There are still several problems in the code, please see comments below:

// You do not need to pass in the length, a String object already knows its own length
// Also you appear to be...
Forum: MySQL Oct 1st, 2005
Replies: 8
Views: 3,985
Posted By Kate Albany
It is an ugly solution I would not personally use in Oracle, though as you say you cannot use sub-querys, I know of on better method.

Also, in my example you do not need to use the 'distinct'...
Forum: MySQL Oct 1st, 2005
Replies: 8
Views: 3,985
Posted By Kate Albany
Hello,

The reason that your query does not work correctly is because by using <> in this manner you are creating a 'partial' Cartesian Join between the two tables. In doing so the query returns...
Forum: Java Sep 24th, 2005
Replies: 2
Views: 2,182
Posted By Kate Albany
source: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html

Please also see:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html...
Forum: Java Sep 21st, 2005
Replies: 7
Views: 16,484
Posted By Kate Albany
If you don't want duplicates, why not use a Set. Like the HashSet. A Set enforces no duplicates.

For further information on all Java Collections, please read:...
Forum: Java Sep 11th, 2005
Replies: 2
Views: 4,259
Posted By Kate Albany
This will help you with Set's/List's/Queue's/Map's (Collections) etc ...

http://java.sun.com/docs/books/tutorial/collections/index.html
Forum: C# Sep 10th, 2005
Replies: 6
Views: 18,547
Posted By Kate Albany
Is C# not an OO language, can you not just return an Object cantaining the two attributes. By returning a Class (Object) you have much more freedom.
Forum: Java Sep 10th, 2005
Replies: 8
Views: 7,902
Posted By Kate Albany
I may be wrong here but do you need to 'escape' the path deliminators, like this:

String imageFilePath = "C:\\MyDocuments\\MemoryGame\\woodTable.gif";
The '\\' is not a typo. The first '\'...
Forum: Database Design Sep 9th, 2005
Replies: 1
Views: 2,450
Posted By Kate Albany
http://www.catb.org/~esr/faqs/smart-questions.html
Forum: Java Aug 31st, 2005
Replies: 7
Views: 3,546
Posted By Kate Albany
If you are going to override the equals/hascode methods, please read the following artical first.

'How to avoid traps and correctly override methods from java.lang.Object'
...
Forum: Java Aug 29th, 2005
Replies: 9
Views: 1,588
Posted By Kate Albany
Hi Richard,


It is used as a path delimiter. Without it multiple specified paths would be parsed as one location.

For instance, to include two jars in the classpath to support your application...
Forum: Java Aug 29th, 2005
Replies: 9
Views: 1,588
Posted By Kate Albany
Hi Nate,

I understand what '.' and '..' represent. Did you not see the first line of my post:


----------------------

When I say:
Forum: Java Aug 28th, 2005
Replies: 9
Views: 1,588
Posted By Kate Albany
Hi,

You say you are running this code from the JProc folder. Why then include '.' in your classpath? as in this case '.' and 'C:\WINDOWS\Desktop\JProc\' will be one and the same thing. I am just...
Forum: Java Aug 24th, 2005
Replies: 11
Views: 2,672
Posted By Kate Albany
Another excellent editor is VIM (http://www.vim.org/about.php) (http://www.vim.org/about.php%29), think VI with buffers (multiple files) and syntax highlighting etc ... I couldn't be without it....
Forum: Java Aug 13th, 2005
Replies: 9
Views: 2,063
Posted By Kate Albany
Hi,

I think something has been overlooked here. I am curious as to what a 1GB 'Object' looks like? What is the structure of this 'Object'?

How would you instantiate it? What kind of...
Forum: Community Introductions Aug 13th, 2005
Replies: 8
Views: 1,793
Posted By Kate Albany
I am not sure I understand your question. What kind of scan?
Forum: Community Introductions Aug 12th, 2005
Replies: 8
Views: 1,793
Posted By Kate Albany
Hi Jerry,

Welcome to the community!

That lightning storm seems to have caused you some real problems :/ I hope you enjoy it here and can find what your looking for.

Kate
Forum: Java Aug 12th, 2005
Replies: 9
Views: 2,063
Posted By Kate Albany
Hi again,

I see this is also in another thread. I believe Jwenting has it right. I completly missed that you are not flushing the buffer, try:

while ((len = in.read(buffer1)) > 0) {
...
Forum: Java Aug 12th, 2005
Replies: 9
Views: 2,063
Posted By Kate Albany
Hi,

Have you tried increasing the JVM's Heap spaces? Research the '-Xms' & '-Xmx' command line parameters. Example:

Java -Xms65536k -Xmx65536k .....

Also '-XX:NewSize', '-XX:MaxNewSize',...
Forum: Java Aug 9th, 2005
Replies: 2
Views: 1,483
Posted By Kate Albany
Hi Richard,

Unfortunately I don't believe this is possible. You cannot output 9 bits to the Parallel Port using java.io.OutputStream.write(int b)


As you say, even using the overloaded byte[]...
Forum: Geeks' Lounge Jul 18th, 2005
Replies: 94
Views: 37,011
Posted By Kate Albany
Is anybody else having problems getting new Work Units from Stanford? It seems every other day or so it has to try many times to get a new WU for me. It is quite annoying.
Forum: Geeks' Lounge Jul 17th, 2005
Replies: 94
Views: 37,011
Posted By Kate Albany
It will take whatever amount of 'Free'/'Idle' CPU time your system has. If your system is using 5% CPU Folding@Home will take the remaining 95, if your system is using 70% CPU Folding@Home will take...
Forum: Java Jul 16th, 2005
Replies: 3
Views: 2,762
Posted By Kate Albany
Morning Richard,

Now that has me rather confused. You should never have seen the output from:

System.out.println("You have returned");
As this should be an 'Unreachable Statement'. The...
Forum: Database Design Jul 16th, 2005
Replies: 4
Views: 2,733
Posted By Kate Albany
server_crash,

It depends on more than just the number of rows you are going to store, like the complexity of the querys, the number of concurrent users the DB must service, performance metrics etc...
Forum: MS SQL Jul 16th, 2005
Replies: 8
Views: 32,230
Posted By Kate Albany
Well if you must do it in SQL and not the front-end, this is how I would do it in Oracle:


select 'Work', 'Work' from dual
union all
select 'Code', 'Nature' from dual
union all
select...
Forum: Java Jul 15th, 2005
Replies: 3
Views: 2,762
Posted By Kate Albany
Hi Richard,

The JOptionPane.showInputDialog should NOT return until the user closes the Dialog, I quote from the JOptionPane API Class documentation:


Have you tried doing a System.out.println...
Forum: Java Jul 15th, 2005
Replies: 4
Views: 8,296
Posted By Kate Albany
Thanks jwenting,

Yes I have set the 'eden' heap sizes, using the '-Xms' & '-Xmx' arguments:

-Xms16384k
-Xmx16384k

I have also reduced the 'new' heap sizes:

-XX:NewSize=12288k
Forum: MS SQL Jul 15th, 2005
Replies: 6
Views: 8,615
Posted By Kate Albany
sqlchopper,

If this SP can be run by something other than the web app, then why not create a batch file which uses 'sqlplus' to connect to the DB to run the SP. This can be scheduled to run...
Showing results 1 to 40 of 71

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC