ESPRO\OrigensBundle\Entity\IeUnidade:
type: entity
table: ie_unidade
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
unidade:
type: string
length: 100
fixed: false
nullable: false
cnpj:
type: string
length: 20
fixed: false
nullable: false
inscricaoEstadual:
type: string
length: 20
fixed: false
nullable: true
column: inscricao_estadual
inscricaoMunicipal:
type: string
length: 20
fixed: false
nullable: true
column: inscricao_municipal
logradouro:
type: string
length: 200
fixed: false
nullable: true
numero:
type: integer
unsigned: false
nullable: true
complemento:
type: string
length: 100
fixed: false
nullable: true
bairro:
type: string
length: 100
fixed: false
nullable: true
manyToMany:
ieContato:
targetEntity: IeContato
cascade: { }
mappedBy: null
inversedBy: ieUnidade
orderBy: null
ieExcecao:
targetEntity: IeExcecao
cascade: { }
mappedBy: ieUnidade
inversedBy: null
orderBy: null
oneToOne:
cepCep:
targetEntity: Cep
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
cep__cep:
referencedColumnName: cep
orphanRemoval: false
estadoCidade:
targetEntity: EstadoCidade
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
estado_cidade__id:
referencedColumnName: id
orphanRemoval: false
estado:
targetEntity: Estado
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
estado__id:
referencedColumnName: id
orphanRemoval: false
ie:
targetEntity: Ie
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
ie__id:
referencedColumnName: id
orphanRemoval: false
ieUnidadeStatus:
targetEntity: IeUnidadeStatus
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
ie__unidade_status__id:
referencedColumnName: id
orphanRemoval: false
lifecycleCallbacks: { }
------------------------------------------
ESPRO\OrigensBundle\Entity\Ie:
type: entity
table: ie
fields:
id:
id: true
type: integer
unsigned: false
nullable: false
generator:
strategy: IDENTITY
razaoSocial:
type: string
length: 200
fixed: false
nullable: false
column: razao_social
nomeFantasia:
type: string
length: 200
fixed: false
nullable: false
column: nome_fantasia
site:
type: string
length: 200
fixed: false
nullable: true
oneToOne:
ieTipo:
targetEntity: IeTipo
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
ie__tipo__id:
referencedColumnName: id
orphanRemoval: false
lifecycleCallbacks: { }
This is the mapping of the corresponding entities, if need the
entities I'll post later.
--
Eric Malzone
On 15 jun, 13:47, Christophe COEVOET <[email protected]> wrote:
> Le 14/06/2011 15:15, eric.malzone a crit :
>
>
>
>
>
>
>
> > Hi Folks,
>
> > I'm having a problem when I create a relation between the tables. I
> > believe the problem occurs when the 'Entities' are generated.
>
> > Error: Class Espro\OrigensBundle\Entity\IeUnidade has no association
> > named EsproOrigensBundle:IeUnidade
>
> > Case someone has any idea and wish see the yml files, which contains
> > the relations between tables IeUnidade and Ie, used by me, I'll send
> > for e-mail.
>
> > Cheers!
> > --
> > Eric Malzone
>
> can you paste the query for which you have this issue and the mapping of
> the corresponding entities ?
>
> --
> Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en