« May 2005 | Main | July 2005 »

June 09, 2005

Setting default values for DTO fields

One of the new features in 3.0 EA is the ability to set default values for DTO fields when defining Table and View DAOs through the FireStorm/DAO user interface.

You can enter a literal value or an expression. When entering literal values for String columns please remember to include quotes.

Some examples of default values:

  • 100
  • "USD"
  • false
  • new Date()
  • System.currentTimeMillis()
  • MyGenerator.generateGUID()
  • MyClass.init("customer.number")

Oracle REF CURSOR Support - Update

FireStorm/DAO 3.0 Early Access (build 24) now correctly reverse-engineers REF CURSOR parameter information, including REF CURSOR columns, when importing Oracle Stored Procedures.

It is no longer necessary to manually edit stored procedure parameters through the FireStorm/DAO user interface before generating code.

June 05, 2005

FireStorm/DAO 3.0 Early Access (build 18)

FireStorm/DAO 3.0 build 18 is now available for existing customers to preview.

New features in 3.0 include:

* Full support for Oracle REF CURSOR parameters to stored procedures
* Hibernate support
* JDBC DAOs now support setMaxRows
* Improved user interface & usability

If you do not already have the download location for version 3.0 please email sales@codefutures.com for access.

REF CURSOR support

When defining parameters for a stored procedure, chooseing the JDBC type of 'REFCURSOR' enables a chooser button next to the JDBC type dropdown. Clicking this button opens a new editor where the REF CURSOR columns can be defined.

setMaxRows support

JDBC DAOs for Tables and Views now have a setMaxRows() method. This method should be called prior to calling any finder methods to limit the number of rows returned (the DAO finder implementations simply makes a call to JDBC setMaxRows method before executing their SQL query).

User Interface & Usability

Improvements include:

  • FireStorm's tree control has had a major overhaul, with add/delete menu options now available for all items in the project structure, including provider options
  • New icons are now used in the tree and throughout the menu.
  • Many of the editors have been improved so they use all available screen space and resize gracefully
  • When defining parameters and result sets, items can now be reordered
  • When installing FireStorm, existing firestorm-conf.xml files will no longer be overwritten

Hibernate support

Hibernate support is partially implemented. FireStorm generates hbm mapping files for each table/view and generates Hibernate persistent classes for each table/view.