Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Orchard 1.6.1
  • Tine 2.0 Kristina 2013....
  • Acorn Media Player 1.8
  • ZenPen
  • Google Language Transla...
  • tTooltip 2.0
  • Obfuscate.js
  • validationJ 1.0.0
  • Starling 1.3
  • Video Sidebar Widgets 5.5
  • Home > Scripts > Development Tools > XML Tools

    XSL template for JDBC Code generation

    Download button

    Downloads: 1,365  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    11 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    John Donohue | More scripts
    www.jdonohue.com
    GPL - GNU Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    Oracle
    XML
    July 28th, 2008, 08:51 GMT
    C: \ Development Tools \ XML Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    XSL template for JDBC Code generation description

    This XSL template generates Java code for mapping objects to an Oracle database.

    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.



    TAGS:

    generate java class | xsl template | java xsl database | java | class | xsl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM