Xsl Template For Jdbc Code Generation

Supply an Xml file with the details of the table, and the Java Class to generate for dealing with that table. An XSL processor, is used to read the template and xml files, and output a Java source file.

There are many ways to arrange tables to store a set of data. This template does not attempt to cover all cases, but it requires that the database layout follow a pattern.

The Java classes generated follow a pattern where there is one Java object for each table and the object represents one row on that table. If the object is instantiated by passing the db key in the constructor it will query the db and populate its properties.

New rows are created by calling the no-args constructor, calling the misc set() methods, and then calling store(). Calling the store() method also calls the store() method on any linked objects. Deleting the row is done by callling delete(). Any linked tables are also deleted.

  Requirements:
· XSL processor.

Related Scripts

  • Apache Derby 10.10.1.1
    The project's documentation is included in the binary release.This is an open source relational database implemented entirely in Java.It has a small f...
  • Apache Commons Dbutils 1.5
    JDBC resource cleanup code is mundane, error prone work so these classes abstract out all of the cleanup tasks from the code leaving the developer wit...
  • Virtuoso
    Virtuoso Universal Server is OpenLink’s next-generation premier data infrastructure product, having evolved through today’s version 4.5. V...
  • Rucodegen 0.3.0
    RuCodeGen is a simple code generation framework and some code generation templates. Ruby is used as DSL for code generation specification. Main p...
  • Cubrid Jdbc Driver 9.1.0212
    Allows connecting JDBC-driven websites to the CUBRID RDBMS. Requirements:· CUBRID...
  • Formsix v1
    For a bigger purpose, FormSIX aids replacing/extending regular CGI with XML by providing client-side JS modules for composing valid XML document. For ...
  • Monetdb Jdbc Driver 2.7
    MonetDB is a column-store database system for high performance output.This JDBC driver allows developers to create Java-based apps or websites that co...
  • Jooq 3.0.0
    It combines active records, stored procedures, advanced data types, complex SQL, typesafety, source code generation and Java in a fluent, intuitive DS...
  • Gen-o-matic
    This project is about template based code generation (useful particularly for MDA approach), and proves that Ruby is best suitable for that....
  • Pl/java 1.4.3
    Adds Java stored procedures, functions and triggers to the PostgreSQL backend via JDBC. Here are some key features of "PL/Java":· Ability to writ...
  • Teng 1.0.4
    Teng strictly separates application logic from presentation logic. Programmer writes code which fetches data (for example from database, application s...
  • Dbd Jdbc 0.70
    This module allows you to use DBI to access a JDBC driver from Perl and is implemented in a fashion similar to that of DBD::Proxy. There are two compo...
  • Templatehandler Php
    Templatehandler is a simple template management system for php. It allows you to separate your html code from your php code. The template handler clas...
  • Wrapping Template Engine 1.0
    It is not so easy to put template engine and the template itself together, and to separate logic and a template. This script should define the va...
  • Jssp 0.1a
    JavaScript Server Pages is a way to execute JavaScript on a web server similar to ASP, PHP or JSP. It requires a web server that can run Java Servlets...
  • Jaydebeapi 0.1.3
    The module permits the developer to connect from Python code to databases using Java JDBC.JayDeBeApi provides a Python DB-API v2.0 to that databaseBy ...
  • Barbet 0.03
    Barbet is a graphical database administration tool under development. It is open source and available for free download. Barbet is written in Java and...
  • Php/sql Web Interface Generation Tool
    PHP/SQL web interface generation tool is a PHP based database web administration page generation tools targeted for the knowledgable administrator who...
  • Sledgehammer 0.8.1
    SledgeHammer is a template engine for PHP. It provides separation of business-logic and presentation in web-based applications.Features of SledgeHamme...
  • Sql Generation Dsl 1.4.2
    SQL Generation DSL is a framework for creating SQL statements with Ruby code. For example: Select[:column1].from[:table1].where do equal :column2, 10 ...
DMCA Notice-Privacy Policy
2004 - 2013 DownScripts. All rights reserved.