Skip to content

Instantly share code, notes, and snippets.

View Falc's full-sized avatar

Aitor García Falc

  • Linube
  • Bilbao, Spain
View GitHub Profile
@Falc
Falc / reference.yml
Last active August 29, 2015 14:06 — forked from mnapoli/reference.yml
# Inspired from http://blog.hio.fr/2011/09/17/doctrine2-yaml-mapping-example.html
MyEntity:
type: entity
repositoryClass: MyRepositoryClass
table: my_entity
namedQueries:
all: "SELECT u FROM __CLASS__ u"
# Class-Table-Inheritance