Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Title

Improve Castor DDL Generator

Keywords

Java, SQL

Description

At the moment DDL Generator is able to generate almost all SQL schema objects for various database engines into a file from Castor mapping. But there is still some space for improvements like:

  • Improve mapping to allow specification of additional information needed by ddlgen
  • Use Class- and FieldDescriptor's instead of directly accessing classes of org.exolab.castor.mapping.xml classes
  • Replace org.castor.ddlgen.Configuration by org.castor.util.Configuration
  • Replace PrintStream and StringBuffer by a Writer implementation
  • Execute script on database engine
  • Extract ordering strategies of DDL statements into an interface with 2 implementations
  • Add a advanced ordering strategy for DDL statements that takes relations into account
  • Merge multiple mappings to same table
  • Resolve collisions of name/many-key defintions definitions at generation of n:m relation tables
  • Generate lookup table for HIGH-LOW keygenerator

Mentor(s)

Ralf Joachim (rjoachim AT codehaus DOT org)
Werner Guttmann (wguttmn AT codehaus DOT org)

...

Title

Implement new OQL query engine for Castor (Part 1)

Keywords

Java, OQL, ANTLR

Description

The first part of the OQL query engine project contains 2 subtasks:

  • Create class hierarchy to define OQL queries programmaticaly programmatically also know as  "query objects".
  • Analyze properties of a given example entity and transform it into "query objects". This approach is known as "query by example".

Mentor(s)

Ralf Joachim (rjoachim AT codehaus DOT org)
Werner Guttmann (wguttmn AT codehaus DOT org)

...