Hi !
J2SDK 1.4 has an XML parser, is better for printing, is different for the management of swing focus, has a regular expression library, ...
But I think that most of changes are in J2EE, with EJB 2.0
Thomas ---
A free GUI for your database: www.sashipamelba.com
Hi Chris,
I'm interested to see how to do the problem in a single SQL statement for Oracle. Can you show me on your table Employees ?
Thomas ---
A free GUI for your database: www.sashipamelba.com
you can specify the user and password as parameters of the connection object. I think user and password in the DSN are ignored.
Trusted connection is for Windows only. So, I think it's not possible to work with it in Java.
Thomas ---
A free GUI for your database: www.sashipamelba.com
2 -> You have to choose: you can access mysql through ODBC with MyODBC. You can access mysql with a JDBC driver. I think the name of the official jdbc driver is "ConnectorJ". It's a jar file, that you have just to reference in the classpath.
3 -> Yes, with many limitations. See the...
For creating quickly User Interfaces for your relational database: mine, of course ! It's a free software.
Here: www.sashipamelba.com
Thomas ---
A free GUI for your database: www.sashipamelba.com
Hello !
I don't know for CachedRowSet, but this code works with TEXT fields of MySQL 3.23 + MyODBC + the bridge odbc-jdbc
ResultSet rs = myPreparedStatement.executeQuery();
int columnCount = rs.getMetaData().getColumnCount();
while (rs.next()) {
for(int i=1; i <=...
Hi !
Perhap's it's existing libraries that can do that. You can do this with the standard API, too, but it's a lot of work :
You have to build a picture with the java.awt package, in the method "print" of a class that extends "java.awt.print.Printable".
Then here is the...
Hi
The instruction new getDate() creates a Date instance that contains the current date.
You have to save the starting date when your program start. For example, in the constructor:
this.startDate = new Date();
Then , in your event, something like this:
Date today = new Date()...
Thanks for your code !
I write characters into a file, then i open the output file with a non-Java editor... And it's working !
So there is a problem of JDK configuration ???
static private void testCharactersInFile() {
StringBuffer sb = new StringBuffer();
for (int i=110; i < 200...
Thanks a lot for your answer.
I have tried with :
* ISO-8859-1
* UTF8
but the result is similar : now it is not '?' but a square for characters upper than 127... I think i have a problem in my Linux configuration. But why non-java applications havn't any problem ?
You say that:
- I don't...
Hi !
I've just installed a Debian, but Java programs cannot display french characters...
This program :
for (int i=0; i < 1000; i++) {
System.out.println(i + " " + (char) i);
}
display the first 127 characters, and then '?' for number upper to 127 :
...
123 {...
Hi !
I've just installed a Debian, but Java programs cannot display french characters...
This program :
for (int i=0; i < 1000; i++) {
System.out.println(i + " " + (char) i);
}
display the first 127 characters, and then '?' for number upper to 127 :
...
123 {...
ok
Yes, with a PreparedStatement, you're right :)
Do you you know if it is possible to access Firebird by JDBC or ODBC ? Can i use the same drivers?
I'm working on an free open-sources software for creating database GUI. I'll finished to internationalize it next november (It's still a french...
Thanks.
Yes, but i work with Java, not with Delphi. I've done with my JDBC driver. It's quite complex, but it's working now.
Thank you for your response !
Thomas
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.