Main > Programming > Libraries >

SQLizer 1.1

SQLizer 1.1

Sponsored Links

SQLizer 1.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.006 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 821
Date added: 2007-07-26
Publisher: Dmitri Priimak

SQLizer 1.1 description

SQLizer is a Java utility library intended for generating sql from the search input.

Synopsis:

import stanford.netdb.utils.*;

String sql_1 = Feild2SQL.parseField(type,table, column, input_str, field_display_name, post_filter);

String sql_2 = Feild2SQL.parseStringField(table, column, input_str, field_display_name);

String sql_3 = Feild2SQL.parseIntField(table, column, line, field_display_name);

Given an input string it builds SQL select statement. It supports two types of inputs, numeric and string. The catch is that this library allows usage of operators in the input string. Supported operators are and, or and not. It also supports wildcards *, %, ? and _ in string searches. In case of numeric searches no wildcards are supported.

To accommodate searches by strings, which have wildcards in them, backslashes can be used to escape appropriate characters. Obviously to search for it needs to be escaped as well. Strings with spaces needs to be enclosed in double quotes. The other possibility is to do a regex search, which is accomplished by enclosing string in forward slashes. The resulting SQL is targeted toward Oracle regex expressions. For example, following input strings will be appropriately evaluated.

a or b
-> ( ( select id from Record where name = a ) UNION ( select id from Record where name = b ) )

not a and not b
-> ( ( select id from Record MINUS ( select id from Record where name = a ) ) INTERSECT ( select id from Record MINUS ( select id from Record where name = b ) ) )

"a b c" or a\*
-> ( ( select id from Record where name = a b c ) UNION ( select id from Record where name LIKE a\% ESCAPE ) )

/^.*[[:digit:]]$/
-> ( select id from Record where REGEXP_LIKE(name, ^.*[[:digit:]]$, i) )

We use unions and intersects in order to accomodate searches for objects with multi-value attributes.

SQLizer 1.1 Screenshot

Advertisements

SQLizer 1.1 Keywords

Bookmark SQLizer 1.1

Hyperlink code:
Link for forum:

SQLizer 1.1 Copyright

WareSeeker periodically updates pricing and software information of SQLizer 1.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SQLizer 1.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Version History
Related Software
SQLayer is a Perl interface to DB. Free Download
sqlitewrapped is a C++ wrapper for the Sqlite database C application programming interface. Free Download
G.O.SQL is a Web-based data management tool for Oracle. Free Download
sql++ is an easily configurable, feature-rich, portable command-line SQL tool. Free Download
SQL::Tidy is a Perl module to tidy up SQL statements. Free Download
SQLitepp is a multilanguage object oriented wrapper to the sqlite library. Free Download
SQL::Schema is a Perl module to convert a data dictionary into SQL statements. Free Download
MySQL wrapped is a very small collection of classes that hides the MySQL C API. Free Download