Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.243.989 Times

Template::Plugin::JavaSQL 0.4

  Date Added: October 03, 2010  |  Visits: 825

Template::Plugin::JavaSQL

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 downloads)



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

Requirements: No special requirements
Platforms: Linux
Keyword: Database End Java Javasql Libraries Perl Perl Module Programming Query Table Templatepluginjavasql
Users rating: 0/10

License: Freeware Size: 18.43 KB
USER REVIEWS
More Reviews or Write Review


TEMPLATE::PLUGIN::JAVASQL RELATED
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  Jifty::DBI::SchemaGenerator 0.29
Jifty::DBI::SchemaGenerator is a Perl module to generate table schemas from Jifty::DBI records. This module turns a Jifty::Record object into an SQL schema for your chosen database. At the moment, your choices are MySQL, SQLite, or PostgreSQL....
99.33 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Template::Plugin::Java 0.4
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. SYNOPSIS From an xml file such as: value2 10<...
18.43 KB  
Libraries  -  Parse::Java 0.01
Parse::Java is a Perl module that acts like a parser for Java code. SYNOPSIS use Parse::Java; my $ast = Parse::Java->parse_file(MyClass.java); Parse::Java parses Java code into an Abstract Syntax Tree which can be used for many things like...
18.43 KB  
Libraries  -  Java::Import 0.03
Java::Import is Perl module to use Java classes in Perl. SYNOPSIS use Java::Import qw( some.package.SomeClass ); my $instance = new some.package.SomeClass(); $instance->someMethod(); my $ret_val =...
28.67 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Java::SJ::Classpath 0.01
Java::SJ::Classpath Perl module is a Java classpath generator. This module is used by Java::SJ::Config when generating complete classpaths. This module allows you to very easily run Java services that rely on complex configuration at the VM...
18.43 KB  
Libraries  -  Java::SJ::VirtualMachine 0.01
Java::SJ::VirtualMachine Perl module is a Java virtual machine. This module is used by Java::SJ::Config when generating virtual machine representations. This module allows you to very easily run Java services that rely on complex configuration...
18.43 KB  
Libraries  -  Tk::PerlMethodList 0.05
Tk::PerlMethodList is a Perl module to query the Symbol-table for methods (subroutines) defined in a class (package) and its parents. SYNOPSIS require Tk::PerlMethodList; my $instance = $main_window->PerlMethodList(); Tk::PerlMethodList is...
6.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB