HibernateD and DDBC - ORM and DB abstraction layer for D

Vadim Lopatin coolreader.org at gmail.com
Wed Apr 3 12:07:38 PDT 2013

I don't see what to simplify in markup like this:

     class User {

         long id;

         string name;

         Customer customer;

         LazyCollection!Role roles;

Which translates to table definitions like
CREATE TABLE user (id bigint not null primary key auto_increment, 
name varchar(255), customer_fk bigint foreign key references 
CREATE TABLE user_roles (user_fk bigint not null foreign key 
references user(id), role_fk int not null foreign key references 
role(id), primary key(user_fk, role_fk);

More information about the Digitalmars-d-announce mailing list