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

How to use findBy($creteria) for a bidirectional OneToOne mapping?

There are two entities -- Asset and Attachment, mapped bidirectionally OneToOne. Each Asset can have 0..1 Asset: Asset class Asset { /** * @var string @ORM\Column(name="asset_uuid", type="string", length=36, nullable=false) * …
automatix
  • 14,018
  • 26
  • 105
  • 230
0
votes
2 answers

Is a bidirectional self-join relationship in Filemaker possible?

I have a table of transactions. For any given record, I want to be able to include a portal which shows all related transactions. Since the related records are in the same table as the parent record, I have created a second table occurrence (TO). I…
trf0412
  • 3
  • 1
0
votes
1 answer

JPA inheritance and bidirectional OneToMany relation in child

I'm trying to map an association one-to-many to an entity that is map with @Inheritance(strategy=InheritanceType.JOINED) but I've a validation exception when my application is loading : Internal Exception: Exception [EclipseLink-7250] (Eclipse…
0
votes
1 answer

Android and Bluetooth: Multiple connections and bi-directional data exchange

I am wondering what is the best approach for a server/client Bluetooth connection with multiple devices where all devices exchange data. The approach im following is a hub and edge devices, where all edge devices exchange data with a central device…
Clocker
  • 1,316
  • 2
  • 19
  • 29
0
votes
2 answers

SVN Bi-Directional sync using svnsync

At the moment we have two development teams. One of them is in a different country. The master svn server is in location A. The development team in location A has access to this server and creates branches from trunk and does their development. …
Dan
  • 85
  • 1
  • 3
0
votes
1 answer

No address first run with bi-directional unix domain socket

I have two daemons (one client and one server) that communicate thru unix domain sockets (local sockets). The problem I encounter is that the first time a datagram is received in the server with the function recvfrom then the client address provided…
ria
  • 339
  • 2
  • 9
0
votes
1 answer

Consistent and efficient bi-directional data structure implementation (Java)

I needed an implementation of a bi-directional map in Java so I tried to use BiMap and BidiMap from Guava and Commons. However, the inverse view capability is not maintained after a modification on an element. Here is an example with BiMap (same…
Bastien
  • 658
  • 1
  • 9
  • 24
0
votes
1 answer

one to many bidirectional mapping complaining doesn't have a default value error

I have got two entity classes. @Entity public class Employee { @Id @Column(name = "employee_id") @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; private String name; @OneToMany(cascade = CascadeType.ALL) @JoinTable(name =…
yas
  • 486
  • 1
  • 8
  • 23
0
votes
1 answer

UML composition with bidirectional association (composing object has back-pointer)

I can't seem to find a decent answer on the interwebs, though I'm sure it's been asked before. Basically, I have an object that is composed of another object - so black diamond and line. When the parent dies, the object it composes dies. However,…
friartuck
  • 2,954
  • 4
  • 33
  • 67
0
votes
1 answer

How to add a vertex in bidirectional graph?

I'm using boost for an algorithm. However, its bidirectional graph seems to have no way to add a vertex. How could I initialise a MUTABLE bidirectional graph so that I can add vertices at any time?
Aurus Huang
  • 372
  • 1
  • 3
  • 17
0
votes
0 answers

Bi-directional One-to-One mapping with @EmbeddedId and Foreign key

I'm having some trouble with a bi-directional one-to-one mapping, using @EmbeddedId and Foreign key. Every time a perform a em.find(Bkftd03,Bkftd03PK.class) y obtain the same error: Error performing load command :…
nakkun
  • 41
  • 4
0
votes
2 answers

WCF Bidirectional serialization fails

I'm trying to take advantage of Bidirectional serialization of some relational Linq-2-Sql generated entity classes. When using Unidirectional option everything works just fine, bu the moment I add IsReferenceType=true, objects fail to get…
Gena Verdel
  • 588
  • 5
  • 21
0
votes
2 answers

Dictionary keys as dictionary

Question How can I use keys of a dictionary as the dictionary name and the prior name as the key? Here's a similar question: So far I only found this Python bidirectional mapping, which covers the basic function of bidirectional mapping. I don't…
BadAtLaTeX
  • 614
  • 1
  • 9
  • 22
0
votes
1 answer

JavaFX bidirectional binding of choicebox

My question is simple, is there any way of making a bidirectional bind between a choicebox's items and an arraylist (that can be added to and removed from, from another class) My SettingsService contains a simple ArrayList containing User objects.…
Robin Jonsson
  • 2,761
  • 3
  • 22
  • 42
0
votes
1 answer

What "property-ref" attribute does in "one-to-one" element tag of hibernate?

I have two classes Employee and Project, i am doing one to one relationship and it is working without property-ref please see below: