Template::Plugin::JavaSQL 0.4
Sponsored Links
Template::Plugin::JavaSQL 0.4 Ranking & Summary
File size:
0.018 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1087
Date added:
2006-11-01
Publisher:
Rafael Kitover
Template::Plugin::JavaSQL 0.4 description
Template::Plugin::JavaSQL is a Perl module to help generate Java from database schemas.
SYNOPSES
Within an XML file processed by the Java plugin:
< sql:
query="select foo as f, bar as b from some_table"
>
or
< sql:
table="some_table"
>
Via a template such as:
[% USE Java %]
[% Use JavaSQL %]
...
String query =
"select [% JavaSQL.columnNames.join(", ") %] from [% JavaSQL.tables.join(", ") %]";
[% IF JavaSQL.where %]
query += " where [% JavaSQL.where %] ";
[% ELSE %]
query += " where 0=0 ";
[% END %]
[% FOREACH JavaSQL.columns %]
if (${varName}Set) { query += " and $name = ?"; }
[% END %]
[% IF JavaSQL.order %]
query += "order by [% JavaSQL.order %]";
[% END %]
stmt = myConnection.prepareStatement(query);
Just use the DBClass.template from the distribution for fully functional database classes.
In addition to methods that refer to parts of a SQL query, any columns resultant from the query or table will be added as java variables to the variables hash, with close-as-possible mapped types.
SYNOPSES
Within an XML file processed by the Java plugin:
< sql:
query="select foo as f, bar as b from some_table"
>
or
< sql:
table="some_table"
>
Via a template such as:
[% USE Java %]
[% Use JavaSQL %]
...
String query =
"select [% JavaSQL.columnNames.join(", ") %] from [% JavaSQL.tables.join(", ") %]";
[% IF JavaSQL.where %]
query += " where [% JavaSQL.where %] ";
[% ELSE %]
query += " where 0=0 ";
[% END %]
[% FOREACH JavaSQL.columns %]
if (${varName}Set) { query += " and $name = ?"; }
[% END %]
[% IF JavaSQL.order %]
query += "order by [% JavaSQL.order %]";
[% END %]
stmt = myConnection.prepareStatement(query);
Just use the DBClass.template from the distribution for fully functional database classes.
In addition to methods that refer to parts of a SQL query, any columns resultant from the query or table will be added as java variables to the variables hash, with close-as-possible mapped types.
Template::Plugin::JavaSQL 0.4 Screenshot
Advertisements
Template::Plugin::JavaSQL 0.4 Keywords
JavaSQL
JavaSQL 0.4
to help
Perl module
Generate Java
database schemas
%
query
java
database
schemas
table
Template::Plugin::JavaSQL
TemplatePluginJavaSQL
Template::Plugin::JavaSQL 0.4
Libraries
Bookmark Template::Plugin::JavaSQL 0.4
Template::Plugin::JavaSQL 0.4 Copyright
WareSeeker periodically updates pricing and software information of Template::Plugin::JavaSQL 0.4 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 Template::Plugin::JavaSQL 0.4 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
query builder
query string
java sqlite
query server
javasqlite
query letter
query language
sql query
query george
what is a query
sample database schemas
perl modules
generate javascript
query optimization
georgia department of corrections inmate query
queryperformancecounter
query tool
generate javadoc
Related Software
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. Free Download
Template::Plugin::Java::Utils is a Perl module with utility functions for Template::Plugin::Java. Free Download
Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules. Free Download
Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values. Free Download
Template::Plugins is a Perl module with plugin provider module. Free Download
Template::Plugin::SSI is a plugin to use SSI in Template Toolkit (wrapper for CGI::SSI). Free Download
Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates. Free Download
Template::Plugin::AutoLink is a TT filter plugin to replace URL and e-mail address with hyperlink automatically. Free Download
Latest Software
Popular Software
Favourite Software