devxlogo

November 13, 2007

Using the &ltidbag&gt Element in Hibernate

Hibernate’s facility allows you to map many-to-many associations and collections of values to a single table with a surrogate key. The following code shows an example of mapping: &ltidbag name=”cars”

Create Domain-Specific Languages with ANTLR

he concept of Domain-Specific Languages (DSLs) has been around for years, but has recently experienced an uptick in popularity. This is due in large part to the success of Ruby