[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Some future directions  XML
Forum Index » Jisql
Author Message
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 750
Location: Superior, CO, USA
Online

I've received a few requests for some future directions of Jisql and wanted to post them here so there there are no duplicates. These are in no particular order.

  • addition of a batch mode (no pretty output)
  • a column separator can be choosen in batch mode
  • addition of the JConnect6 shortcut
  • HTML/XML output
  • CSV output
  • Any character that cannot be printed with the current charcter set should print with the unicode code


If anyone has anything else let me know.

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
DGPickett

Newbie

Joined: 01/04/2006 10:24:00
Messages: 3
Offline

Taking my cue from text handling products like MS ODBC Text, J-Stels, HXTT:

There should be an option for Header supression: yes/no

The delimiter choice should support escapes allowing any charater or string of characters. You should be able to set it whether you are generating delimited or rectangular output.

When making a delimited file, there should be no underlining or overlining and, optionally, one or no header line of column names. If names are requested, any blank labels should be populated with default values like COL_#.

The leading and trailing row column delimiters never appealed to me, although I guess they form a pretty box. Maybe they could be optional.

Padding the column delimiters with spaces never appealed to me, although I guess they give extra visual separation. Maybe they could be optional.

Headings on longvarchar are currently right justified, should probably be right for integers, centered for scalar and float presentations, left for char types.

Always but especially when generating delimited output, the user should be able to control NULL handling, by optionally supplying a desired string for NULL presentation in lieu of empty, by optionally asking for trimming, by optionally ensuring no char column is trimmed to empty when blank when empty is the NULL presentation.

BTW, columns are being truncated to 15 positions for varchar(-1), even with -w 50. Also with longvarchar(20), even with -w 50, but that's a bit less your problem.

Best regards,

David
[Email]
stdunbar

Newbie
[Avatar]

Joined: 06/22/2005 14:51:37
Messages: 750
Location: Superior, CO, USA
Online

David,
Thanks for the ideas. I'm working on getting these and some other suggestions implemented and hope to have something pretty soon. If you come up with any other ideas please feel free to post them.

Thanks!

Thanks for using the forums at hotjoe.com
[WWW] [Yahoo!] [ICQ]
sleavitt

Newbie

Joined: 01/23/2007 10:49:14
Messages: 2
Offline

Hi Scott,
I just found your Jisql utility, very nice.
In reference to the jisql future features, is this one available yet?

addition of a batch mode (no pretty output)

I'd like to be able to execute a java command to start Jisql with parameters to:
1) read an input text file (sql script)
2) write an output text file (sql output)
Then automatically quit, setting the DOS errorlevel with nonzero if the SQL returned errors.

What I'm trying to do is repeatedly check for a database table to be emptied by the application under test, then use that condition to tell the application under test to load the table with more data.

i.e.


When this returns zero rows, I'll issue a command to the app under test to load more data.

Thanks,
Scott Leavitt
VMware
sleavitt

Newbie

Joined: 01/23/2007 10:49:14
Messages: 2
Offline

Uh... so maybe I should read the home page more closely

I got it working by inserting the argument in my batch file (carriage returns added to wrap this long command line).



Thanks Scott for including this feature!

Scott
 
Forum Index » Jisql
Go to:   
Powered by JForum 2.1.8 © JForum Team
This site built by Scott Dunbar of Xigole Systems. © 2005-2010 - Scott Dunbar
Java and the Java Get Powered logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.
hotjoe.com and xigole.com have no affiliation with Sun Microsystems, Inc.