There is an old adage that says every story has three sides: yours, mi dịch - There is an old adage that says every story has three sides: yours, mi Việt làm thế nào để nói

There is an old adage that says eve

There is an old adage that says every story has three sides: yours, mine, and the truth. Relationships
are kind of the same in that there are three different perspectives. The first is the view from one side of
the relationship, the second is from the other side, and the third is from a global perspective that knows
about both sides. The “sides” are called roles. In every relationship there are two entities that are
related to one another, and each entity is said to play a role in the relationship.
Relationships are everywhere, so examples are not hard to come by. An employee has a
relationship to the department that he or she works in. The Employeeentity plays the role of working in
the department, while the Departmententity plays the role of having an employee working in it.
Of course, the role a given entity is playing differs according to the relationship, and an entity
might be participating in many different relationships with many different entities. We can conclude,
therefore, that any entity might be playing a number of different roles in any given model. If we think
of an Employeeentity, we realize that it does, in fact, play other roles in other relationships, such as the
role of working for a manager in its relationship with another Employeeentity, working on a project in
its relationship with the Projectentity, and so forth.
Unlike EJB 2.1, where the roles all had to be enumerated in metadata for every relationship, JPA
does not have metadata requirements to declare the role an entity is playing. Nevertheless, roles are
still helpful as a means of understanding the nature and structure of relationships.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
There is an old adage that says every story has three sides: yours, mine, and the truth. Relationships
are kind of the same in that there are three different perspectives. The first is the view from one side of
the relationship, the second is from the other side, and the third is from a global perspective that knows
about both sides. The “sides” are called roles. In every relationship there are two entities that are
related to one another, and each entity is said to play a role in the relationship.
Relationships are everywhere, so examples are not hard to come by. An employee has a
relationship to the department that he or she works in. The Employeeentity plays the role of working in
the department, while the Departmententity plays the role of having an employee working in it.
Of course, the role a given entity is playing differs according to the relationship, and an entity
might be participating in many different relationships with many different entities. We can conclude,
therefore, that any entity might be playing a number of different roles in any given model. If we think
of an Employeeentity, we realize that it does, in fact, play other roles in other relationships, such as the
role of working for a manager in its relationship with another Employeeentity, working on a project in
its relationship with the Projectentity, and so forth.
Unlike EJB 2.1, where the roles all had to be enumerated in metadata for every relationship, JPA
does not have metadata requirements to declare the role an entity is playing. Nevertheless, roles are
still helpful as a means of understanding the nature and structure of relationships.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Có một câu ngạn ngữ cổ nói rằng mọi chuyện có ba mặt: của bạn, của tôi, và sự thật. Mối quan hệ
là những loại giống trong đó có ba quan điểm khác nhau. Đầu tiên là nhìn từ một phía của
mối quan hệ, thứ hai là từ phía bên kia, và thứ ba là từ góc độ toàn cầu mà biết
về cả hai bên. Các "mặt" được gọi là vai trò. Trong mọi mối quan hệ có hai thực thể được
liên quan đến nhau, và mỗi thực thể được cho là đóng vai trò trong các mối quan hệ.
mối quan hệ là ở khắp mọi nơi, vì vậy ví dụ là không khó để đi qua. Một nhân viên có
mối quan hệ với phòng ban mà người đó làm việc trong. Các Employeeentity đóng vai trò của làm việc trong
các bộ phận, trong khi Departmententity đóng vai trò của việc có một nhân viên làm việc trong đó.
Tất nhiên, vai trò của một thực thể nhất định được chơi khác biệt tùy theo mối quan hệ, và một thực thể
có thể được tham gia vào nhiều mối quan hệ khác nhau với nhiều thực thể khác nhau. Chúng tôi có thể kết luận,
do đó, bất cứ thực thể có thể chơi một số vai trò khác nhau trong bất kỳ mô hình nào. Nếu chúng ta nghĩ
của một Employeeentity, chúng tôi nhận ra rằng nó không, trên thực tế, đóng vai trò khác trong mối quan hệ khác, chẳng hạn như
vai trò của làm việc cho một nhà quản lý trong mối quan hệ của nó với một Employeeentity, làm việc trên một dự án trong
mối quan hệ với Projectentity, và vv.
Không giống như EJB 2.1, nơi mà tất cả các vai trò đã được liệt kê trong siêu dữ liệu cho tất cả các mối quan hệ, JPA
không có yêu cầu siêu dữ liệu để tuyên bố vai trò một thực thể được chơi. Tuy nhiên, vai trò này
vẫn còn hữu ích như là một phương tiện để hiểu rõ bản chất và cấu trúc của các mối quan hệ.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: