Top "Self-reference" questions

Self-reference is the ability of a program (or logical sentence) to refer to itself, either directly or indirectly.

How do I create a table with self-referencing fields in MySQL?

In GTFS, the field parent_station is either from stop_id (self-reference) or NULL. For instance (note that parent_station …

mysql foreign-keys create-table self-reference gtfs
Doctrine2 One-To-Many, Self-referencing relationship

In my 'Topic' entity, I have a One-To-Many, Self-referencing relationship $parent:$children. class Topic { /** @ORM\Id * @Column(type="integer") * @ORM\…

symfony doctrine-orm one-to-many relationship self-reference
DLL unloading itself

Is it possible for a function that is inside a DLL to unload the DLL? I need to do this …

dll self-reference
How to handle readlink() of "/proc/self/exe" when executable is replaced during execution?

In my C++ application, my application does an execv() in a fork()ed child process to use the same executable …

c++ linux exec fork self-reference
module importing itself

I'm trying to import a module from an application-specific terminal (Maya in this case, but eventually others). I've downloaded a …

python module importerror self-reference
How can I refer to the class type a interface is implementing in Java?

I came to a problem with interfaces in a program I'm making. I want to create a interface which have …

java generics interface self-reference
JPA: one-to-one + self referential + bidirectional

I have an entity called 'Instructions'. Sometimes each Instructions has to keep track Instructions before and after it. For Example …

java jpa one-to-one bidirectional self-reference
Entity Framework Code First Self Referencing Parent Child with Payload

I'm attempting to set this up using code first in entity framework and am running into difficulty. To describe what …

entity-framework ef-code-first self-reference payload
How can I achieve a self-referencing many-to-many relationship on the SQLAlchemy ORM back referencing to the same attribute?

I'm trying to implement a self-referential many-to-many relationship using declarative on SQLAlchemy. The relationship represents friendship between two users. Online …

python many-to-many sqlalchemy self-reference