Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by laffreuxthomas

  1. laffreuxthomas

    Basic question

    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
  2. laffreuxthomas

    SELF JOIN query

    thanks a lot ! --- A free GUI for your database: www.sashipamelba.com
  3. laffreuxthomas

    SELF JOIN query

    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
  4. laffreuxthomas

    SELF JOIN query

    I think it's impossible with SQL only. You can do that with a program. Thomas --- A free GUI for your database: www.sashipamelba.com
  5. laffreuxthomas

    JDBC-ODBC - problems with connecting to SQL Server..

    yes i know this bug --- A free GUI for your database: www.sashipamelba.com
  6. laffreuxthomas

    JDBC-ODBC - problems with connecting to SQL Server..

    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
  7. laffreuxthomas

    A total newbie here with some questions.. please help!

    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...
  8. laffreuxthomas

    Classpath

    from the command prompt : try : set Thomas --- A free GUI for your database: www.sashipamelba.com
  9. laffreuxthomas

    sort decreasing by id?

    select * from whatever order by id desc; Thomas --- A free GUI for your database: www.sashipamelba.com
  10. laffreuxthomas

    Need tips on helpful resources for Database Programmers

    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
  11. laffreuxthomas

    Getting a TEXT field from the database

    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 <=...
  12. laffreuxthomas

    How to print report with a self-made report format in Java?

    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 &quot;print&quot; of a class that extends &quot;java.awt.print.Printable&quot;. Then here is the...
  13. laffreuxthomas

    Hi, I'm trying to create a timer

    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()...
  14. laffreuxthomas

    Problem to display characters under Linux

    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...
  15. laffreuxthomas

    Problem to display characters under Linux

    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...

Part and Inventory Search

Back
Top