Projects / Database Bean Generator

Database Bean Generator

Generator is a command line application to facilitate the construction of small applications that need some database objects. It isn't a replacement for complex object persistence solutions, like hibernate or TopLink, but it covers a different target: the little Java Web applications that don't use sophisticated persistence options. Generator invocation is simple: just type java -jar generator.jar -xml, where the config file is an XML config file with the definitions to connect to the database and generate the bean classes. You can also use the Ant task.

Tags
Licenses
Implementation

RSS Recent releases

  •  13 Apr 2008 17:02

Release Notes: Diverse code cleanups prior to the next version. Moved to Subversion in Sourceforge.

  •  22 Jul 2007 13:45

Release Notes: Optionally, you may include the extra jars to get JSON support. JSON output for finders and generic JSON output for general have been added.

  •  15 Jul 2007 00:06

Release Notes: Support for the H2 database was added. Support for raw code in the utils classes was added.

  •  30 Mar 2007 00:14

Release Notes: Some bugs were fixed. Support for MSSQL was updated. Autonumeric or sequence fields are now supported in Oracle, Firebird, MSSQL, and MySQL. Generic Finder support was added.

  •  05 Nov 2006 06:05

Release Notes: Initial support for Firebird and MS SQL Server was added. The MySQL driver was updated to version 5.0.4.

RSS Recent comments

30 Apr 2005 14:42 jespo2005

Re: Difficult to set up, needs more documentation, but...

> This project is difficult to set up,

> mainly due to its

> lack of documentation, but it seems to

> do exactly

> what I want. I've been searching for

> the ability to

> automatically create standard 'get' and

> 'set' beans

> from a database for a while now. I can

> only

> assume that its included in IDEs such as

> NetBeans,

> but I certainly can't find it.

>

> Thanks for the good work!

Thanks for your comment.

Well I agree with you, there is few documentation to set up. This is because this project is used in my current work, and I use it very often.

I have plans to completely update the documentation before the 2.1.x releases, so stay tuned ;)

And if you have some suggestion for additional features or you find a bug, then be freely to communicate with me :D

27 Apr 2005 14:41 redwire

Difficult to set up, needs more documentation, but...
This project is difficult to set up, mainly due to its

lack of documentation, but it seems to do exactly

what I want. I've been searching for the ability to

automatically create standard 'get' and 'set' beans

from a database for a while now. I can only

assume that its included in IDEs such as NetBeans,

but I certainly can't find it.

Thanks for the good work!

Screenshot

Project Spotlight

fix8

A C++ FIX protocol framework.

Screenshot

Project Spotlight

Courier Authentication Library

A modular authentication library toolkit.