Entity Relationship

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Entity Relationship

Awanish Kumar
Good Morning Everybody

I am Awanish Kumar and I want to ask some doubts.

1- Without Foreign key how we can relate one entity to another entity?
2- What is Recursive Relationship? And also I need example?

So please have the solution, provide me.

Thanks
Awanish Kumar
Reply | Threaded
Open this post in threaded view
|

Re: Entity Relationship

vishi minocha
pata nhi yar abi pada nhi

On Fri, Jul 1, 2011 at 10:31 AM, Awanish Kumar <[hidden email]>wrote:

> Good Morning Everybody
>
> I am Awanish Kumar and I want to ask some doubts.
>
> 1- Without Foreign key how we can relate one entity to another entity?
> 2- What is Recursive Relationship? And also I need example?
>
> So please have the solution, provide me.
>
> Thanks
> Awanish Kumar
>
Reply | Threaded
Open this post in threaded view
|

Re: Entity Relationship

deepak dixit
On Fri, Jul 1, 2011 at 2:23 PM, vishi minocha
<[hidden email]>wrote:

> pata nhi yar abi pada nhi
>


pad lena yaar.... ;)



--
Thanks & Regards
  Deepak Dixit


>
> On Fri, Jul 1, 2011 at 10:31 AM, Awanish Kumar <[hidden email]
> >wrote:
>
> > Good Morning Everybody
> >
> > I am Awanish Kumar and I want to ask some doubts.
> >
> > 1- Without Foreign key how we can relate one entity to another entity?
> > 2- What is Recursive Relationship? And also I need example?
> >
> > So please have the solution, provide me.
> >
> > Thanks
> > Awanish Kumar
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Entity Relationship

deepak dixit
In reply to this post by Awanish Kumar
inline:

On Fri, Jul 1, 2011 at 10:31 AM, Awanish Kumar <[hidden email]>wrote:

> Good Morning Everybody
>
> I am Awanish Kumar and I want to ask some doubts.
>
> 1- Without Foreign key how we can relate one entity to another entity?
>


For this you can use relation type "one-nofk".



> 2- What is Recursive Relationship? And also I need example?
>


You can find the example in ProductCategory, WorkEffort etc.

Its implemented using parent- child relationship.



--
Thanks & Regards
  Deepak Dixit



>
> So please have the solution, provide me.
>
> Thanks
> Awanish Kumar
>
Reply | Threaded
Open this post in threaded view
|

Re: Entity Relationship

BJ Freeman
In reply to this post by Awanish Kumar
you can view these in
https://demo-trunk.ofbiz.apache.org/webtools/control/entityref
you can also look at the code that created this display.
http://ofbiz.apache.org/docs/entity.html gives you what the entity
engine is.

Awanish Kumar sent the following on 6/30/2011 10:01 PM:you

> Good Morning Everybody
>
> I am Awanish Kumar and I want to ask some doubts.
>
> 1- Without Foreign key how we can relate one entity to another entity?
> 2- What is Recursive Relationship? And also I need example?
>
> So please have the solution, provide me.
>
> Thanks
> Awanish Kumar
>