How to set many-to-many relationship in Hibernate?

题目

How to set many-to-many relationship in Hibernate?

参考答案和解析
正确答案:
         
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

The entity-relationship(E-R)data model is based on a perception of a real world that consists of a clletion of basic objects,called( ),and of relationships among these objects.An entity is a“thing”or"object"in the real world that is distinguishable from other objects.Entities are described in a database by asetof( ):A relationship isan association among several entities.The set of all entities of the same type and the set of all relationships of the ametype are termed an entity sct and relationship set,respectively.The overall logical structure(schema)of a database can be expressed graphically by an E-R diagram,which is built up from the fllowing components:( )represent entity set,( )represent atributes,ete.In addition to entities and relations,the E-R model represents certain(请作答此空)to which thecontents of a database must conform.The entity-relationship model is widely used in database design.

A.things
B.objects
C.conditions
D.constrains

答案:D
解析:

第2题:

--How much did this set of furniturecost?
--I forgot__

A.how much it costs
B.how much did it cost
C.how much it cost
D.how much does it cost

答案:C
解析:

第3题:

How many players does a baseball team()?

A. consist of

B. be responsible for

C. set out


参考答案:A

第4题:

在Hibernate中,Customer类中有一个Set类型的orders属性,用于存放Order订单对象,在Customer.hbm.xml文件中,可以用()元素映射orders属性。

  • A、<set>
  • B、<one-to-many>
  • C、<many-to-one>
  • D、<property>

正确答案:A

第5题:

How will EIGRPv6 react if there is an IPv6 subnet mask mismatch between the Global Unicast addresseson a point-to-point link?()

  • A、EIGRPv6 will form a neighbor relationship.
  • B、EIGRPv6 will not form a neighbor relationship.
  • C、EIGRPv6 will form a neighbor relationship, but with the log MSG:// "EIGRPv6 neighbor not on a commonsub net."
  • D、EIGRPv6 will form a neighbor relationship, but routes learned from that neighbor will not be installed inthe routing table.

正确答案:A

第6题:

This passage is mainly about .

A. the sensuous appreciation of art
B. the basic conception of the aesthetic experience
C. how to appreciate the work of art
D. the relationship between form and content of the work of art

答案:D
解析:
通读全文即可知道,主要是黑格尔对艺术的内容和形式之间的关系进行的论述。所以很明显正确答案为D。

第7题:

n your Cisco EIGRP network, you notice that the neighbor relationship between two of your routers was recently restarted. Which two of these choices could have made this occur?()

  • A、An update packet with init flag set from a known, already established neighbor relationship was received by one of the routers.
  • B、The ARP cache was cleared.
  • C、The counters were cleared.
  • D、The IP EIGRP neighbor relationship was cleared manually.

正确答案:A,D

第8题:

●A (74)is aformal set ofrules for specifying the format and relationship when exchanging data among communicating devices.

(74)

A. protocol

B.language

C.program

D.command


正确答案:A

第9题:

<set>元素有一个cascade属性,如果希望Hibernate级联保存集合中的对象,casecade属性应该取()值

  • A、none
  • B、save
  • C、delete
  • D、save-update

正确答案:D

第10题:

关于Hibernate中关系的说话正确的是()

  • A、一对多必须用Set来映射
  • B、多对一必须用Set来映射
  • C、一对多可以用Set来映射,也可以用List、Map来映射
  • D、多对一必须用Set来映射,也可以用List、Map来映射

正确答案:C

更多相关问题