Questions tagged [bidirectional]

"Bidirectional" refers to any process or structure that works in two directions. Use the tag `bidi` for bidirectional text instead of this tag.

"Bidirectional" is a general concept and can have a lot of meanings:

  • bidirectional text, see
  • bidirectional associations of data
  • bidirectional synchronization
  • bidirectional mapping
  • bidirectional communication
  • bidirectional search algorithms

See also: https://en.wikipedia.org/wiki/Bidirectional

493 questions
0
votes
1 answer

Doctrine2 YML Mapping on Symfony2

I am starting with Symfony2, and so do I with Doctrine2. I want to make an entity bidirectional, but I don't know what I am doing wrong. Here is my two .orm.yml files : Categorie.orm.yml : MY\SUPERBundle\Entity\Categorie: type: entity fields: …
Anthony
  • 804
  • 3
  • 12
  • 32
0
votes
2 answers

symfony2 doctrine mapping bidirectional links from existing DB

Hi everyone and thanks for help in advance! I'm a newbe in a Symfony2 framework and I faced a question: How to create bidirectional relationships from existing database? At first I created database for my project and than I mapped it to the yml…
0
votes
3 answers

many to one relationship: form validation doesn't create foreign key in database

I have a Many to one relationship between PostCategory & SubCategory like this: SubCategory Entity: namespace VisualImmersion\AdminBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * SubCategory * *…
MeursaultF
  • 209
  • 1
  • 9
  • 20
0
votes
0 answers

Sync different local and remote SQL databases

This is the scenario: One local program A stores data in a local MySQL 5.x database Db_A. Other remote program B stores data in a remote MySQL 5.x database Db_B. The programs and databases are different but they are sharing the same stock of…
0
votes
2 answers

Connections in mxgraph

I want to know how to avoid bidirectional connections. For example: https://i.stack.imgur.com/4HR4H.png Is there any way to do this? I work with mxGraph, javascript. EDIT: Sorry, maybe I didn’t explain well, I mean if we have two cells (a---> b)…
user2146556
  • 21
  • 1
  • 6
0
votes
4 answers

How does ORM solve bidirectional relationship between entities (NHibernate, for example)?

I'm writing a homework for my RDBMS class, I need to perform CRUD operations on quite simple domain, which is cyber sport championship. Students are required to use ADO.NET. My question is how can I solve bidirectional relationship, for example 1:m…
chester89
  • 8,328
  • 17
  • 68
  • 113
0
votes
1 answer

Bi-Directional References without Database

I'm trying to implement a tree structure and I would like that every node has a pointer to both its children and parent. I.e. the reference between two nodes goes both ways. Do languages exist (e.g. python) where such a relation can be modeled…
Konstantin Weitz
  • 6,180
  • 8
  • 26
  • 43
0
votes
1 answer

Fluent NHibernate Bidirectional Mapping - results in two similar referencing columns

I am trying to implement Bidirectional Mapping with Fluent NHibernate Mapping. Code snippet from Domain classes: public class Template { public virtual int? Id { get; set; } public virtual string Title { get; set; } public virtual…
inutan
  • 10,558
  • 27
  • 84
  • 126
0
votes
2 answers

Bidirectional communication between Adobe Air Apps

This whole thing started when I began working on an Adobe Air App that was until now a completely single player game. The question I have is whether it is possible to alert a user when it is their turn without using a polling technique ( without…
Jon Freynik
  • 359
  • 2
  • 15
0
votes
1 answer

Bidirectional communication with Node.js

I'd like to send JSON data from the client to my Node.js server via jQuery and Ajax (websockets not possible) and get a JSON response back. I'd do that via POST, but since the Node.js server is running separately from the Apache server (which…
johnny
  • 8,696
  • 6
  • 25
  • 36
0
votes
1 answer

mapping one-to-many relation with Fluent NHibernate does not contain any child when browsing through one-end

I've created the following domain classes: public class Car { public virtual int Id { get; set; } public virtual string Registration { get; set; } public virtual User ResponsibleContact { get; set; } protected Car() {} …
0
votes
1 answer

How can I change the BiDi mode of a TeeChart's legend?

Is it possible to simply change the BiDiMode of a TChart's legend? Or I have to draw the whole legend manually?
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
0
votes
2 answers

Problems with MySQL bidirectional relationship and mirrored foreign keys

i have to create two tables with a bidirectional relationship, as in the figure given below. But it always gives an error. I am using the following query for creating the tables. CREATE TABLE IF NOT EXISTS `rpt_operation` ( `op_id` int(45) NOT…
SSS
  • 683
  • 1
  • 6
  • 16
0
votes
1 answer

Bidirectional graph in rails

I have a simple model "Match" that is supposed to save the bi-directional link between two objects (of the same kind). class Match < ActiveRecord::Base belongs_to :obj1, :class_name => "MyModel", :foreign_key => :obj1_id belongs_to :obj2,…
0
votes
1 answer

how to bi-transmitted between two Android NFC phones?

How can I implement NDEF can be bi-transmitted between two Android phones? I mean one phone send, the other phone receive and response back immediately and interactively. How to achieve that in two Android phones? I need NFC phone like a chat mode.…
fordiy
  • 264
  • 5
  • 10
1 2 3
32
33