已知wage.getItem().size()的值是1。要想使执行session.update(wage)时自动执行session.update(wage.getItems().get(0)),必须配置()A、<set name=”items” inverse=”true” cascade=”none”>…</set>B、<set name=”items” inverse=”false” cascade=”none”>…</set>C、<set name=”items” inverse=”true” ca

题目

已知wage.getItem().size()的值是1。要想使执行session.update(wage)时自动执行session.update(wage.getItems().get(0)),必须配置()A、<set name=”items” inverse=”true” cascade=”none”>…</set>B、<set name=”items” inverse=”false” cascade=”none”>…</set>C、<set name=”items” inverse=”true” cascade=”all”>…</set>D、<set name=”items” inverse=”false”  cascade=”save-update”>…</set>


相似考题
更多“已知wage.getItem().size()的值是1。要想使执行session.update(wage)时自动执行session.update(wage.getItems().get(0)),必须配置()A、<set name=”items” inverse=”true” cascade=”none”>…</set>B、<set name=”items” inverse=”false” cascade=”none”>…</set>C、<set name=”items” inverse=”true” ca”相关问题
  • 第1题:

    请填写以下Cisco 6500交换机端口配置命令的描述。

    set port name mod_num/port_num[name_string] (1)

    set port level mod—num/port_num noramal I high (2)

    set port speed mod_num/port_num<1011001auto> (3)

    set port duplex mod_num/port_num fullIhalf (4)

    show port mod_num/port_num (5)


    正确答案:(1)设置端口名称 (2)设置端口优先级 (3)设置端口速率 (4)设置端口传输类型 (5)检查端口配置状态
    (1)设置端口名称 (2)设置端口优先级 (3)设置端口速率 (4)设置端口传输类型 (5)检查端口配置状态 解析:此题考查了Cisco 6500交换机端口配置命令的使用。

  • 第2题:

    在Hibernate映射文件中,关于延迟加载配置说法错误的是()

    • A、<class>标签中lazy属性可选值:true、false
    • B、<set>标签中lazy属性可选值:true、proxy和no-proxy
    • C、<set>标签中lazy属性可选值:true、extra和false
    • D、<many-to-one>标签中lazy属性可选值:proxy、true和false

    正确答案:B,D

  • 第3题:

    在Hibernate映射文件中,关于inverse属性说法正确的是()。

    • A、inverse属性有两个值:true、false
    • B、<many-to-one>标签有inverse属性
    • C、<set>标签有inverse属性
    • D、inverse属性用于指定维护关联关系的那一方

    正确答案:A,C,D

  • 第4题:

    Hibernate关联维护中关于“inverse”描述正确的是() 

    • A、Inverse定义由谁来控制关联关系的自动维护
    • B、当inverse =false 就意味着当前对象是不能自动维护关联关系
    • C、当inverse=true就意味着当前对象可自动维护关联关系
    • D、它和cascade的作用是一样的

    正确答案:C

  • 第5题:

    You have an Exchange Server 2010 organization that contains 20 mailbox databases. You configure each database to retain all deleted items for 30 days.You need to ensure that all items that pass the retention period are permanently deleted daily between 02:00 and 06:00. Which cmdlet should you use?()

    • A、Set-MailboxDatabase
    • B、Set-MailboxServer
    • C、Set-OrganizationConfig
    • D、Set-RetentionPolicy

    正确答案:A

  • 第6题:

    You create a data block based on a relational table containing a REF column. You select the REF column for your form module. What is true about the items based on the REF column attributes?()

    • A、The Query Only property is set to Yes. 
    • B、The Conceal Data property is set to Yes. 
    • C、The Insert Allowed property is set to Yes. 
    • D、The Update Allowed property is set to Yes.

    正确答案:A

  • 第7题:

    Which property of the ListView class is used to get/set the name of the data field whose value exclusively identifes every data row of a ListView when the ClientIDMode property is set to Predictable?()

    • A、LoadViewStateByID
    • B、UniqueID
    • C、ClientIDMode
    • D、ClientIDRowSuffix

    正确答案:D

  • 第8题:

    You have an Exchange Server 2010 organization named contoso.com. Your company is investigating a user named User1. You need to prevent User1 from permanently deleting the items in his mailbox.  What should you run()? 

    • A、Set-Mailbox User1 -LitigationHoldEnabled $true
    • B、Set-Mailbox User1 -ModerationEnabled $true
    • C、Set-Mailbox User1 -RetainDeletedItemsUntilBackup $true
    • D、Set-Mailbox User1 -RetentionHoldEnabled $true

    正确答案:A

  • 第9题:

    多选题
    在Hibernate映射文件中,关于inverse属性说法正确的是()。
    A

    inverse属性有两个值:true、false

    B

    <many-to-one>标签有inverse属性

    C

    <set>标签有inverse属性

    D

    inverse属性用于指定维护关联关系的那一方


    正确答案: D,C
    解析: 暂无解析

  • 第10题:

    单选题
    已知wage.getItem().size()的值是1。要想使执行session.update(wage)时自动执行session.update(wage.getItems().get(0)),必须配置()
    A

    <set name=”items” inverse=”true” cascade=”none”>…</set>

    B

    <set name=”items” inverse=”false” cascade=”none”>…</set>

    C

    <set name=”items” inverse=”true” cascade=”all”>…</set>

    D

    <set name=”items” inverse=”false”  cascade=”save-update”>…</set>


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    You create a data block based on a relational table containing a REF column. You select the REF column for your form module. What is true about the items based on the REF column attributes?()
    A

    The Query Only property is set to Yes. 

    B

    The Conceal Data property is set to Yes. 

    C

    The Insert Allowed property is set to Yes. 

    D

    The Update Allowed property is set to Yes.


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    在C#中设计类时〃如何将一个可读可写的公有属性Name修改为只读属性()
    A

    将Name的set块删除

    B

    将Name的set块置空

    C

    将Name的set块前加修饰符private

    D

    将Name添加readonly修饰符


    正确答案: D
    解析: 暂无解析

  • 第13题:

    Which two commands are needed to create and apply an export policy that advertises static routes to OSPF neighbors?()

    A.edit policy-options policy-statement policy-name set term 1 from protocol static set term 1 then accept

    B.edit ospf policy set from protocol static set 1 then accept

    C.set protocols OSPF export policy-name

    D.set protocols OSPF policy policy-name


    参考答案:A, C

  • 第14题:

    已知wage.getItem().size()的值是1。要想使执行session.update(wage)时自动执行session.update(wage.getItems().get(0)),必须配置()

    • A、<set name=”items” inverse=”true” cascade=”none”>…</set>
    • B、<set name=”items” inverse=”false” cascade=”none”>…</set>
    • C、<set name=”items” inverse=”true” cascade=”all”>…</set>
    • D、<set name=”items” inverse=”false”  cascade=”save-update”>…</set>

    正确答案:D

  • 第15题:

    Given the following table definition: STOCK: item VARCHAR(30) status CHAR(1) quantity INT price DEC(7,2) If items are indicated to be out of stock by setting STATUS to NULL and QUANTITY and PRICE to zero, which of the following statements would be used to update the STOCK table to indicate that all the items whose description begins with the letter "S" are out of stock?()

    • A、UPDATE stock SET (status = NULL; quantity, price = 0) WHERE item LIKE S%
    • B、UPDATE stock SET (status, quantity, price) = (NULL, 0, 0) WHERE item LIKE S%
    • C、UPDATE stock SET status = NULL, SET quantity = 0, SET price = 0 WHERE item LIKE 'S%'
    • D、UPDATE stock SET (status = NULL), (quantity = 0), (price = 0) WHERE item LIKE S%

    正确答案:B

  • 第16题:

    You established access to menu modules using roles. While testing the application, you need access to all the menus in the SALES form module for all the roles. Which method will override the Menu Module Roles property to allow you to access all the menu items?()

    • A、Disable the values for the Menu Module Roles property. 
    • B、Set the Use Security value in the form module Property Palette to 'True'. 
    • C、Set the Use Security value in the form module Property Palette to 'False'. 
    • D、Set the Use Security value in the menu module Property Palette to 'True'. 
    • E、Set the Use Security value in the menu module Property Palette to 'False'. 

    正确答案:E

  • 第17题:

    Which two commands are needed to create and apply an export policy that advertises static routes to OSPF neighbors?()

    • A、edit policy-options policy-statement policy-name set term 1 from protocol static set term 1 then accept
    • B、edit ospf policy set from protocol static set 1 then accept
    • C、set protocols OSPF export policy-name
    • D、set protocols OSPF policy policy-name

    正确答案:A,C

  • 第18题:

    Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE Which UPDATE statement is valid?()

    • A、UPDATE employees SET first_name = 'John' SET last_name ='Smith' WHERE employee_id = 180;
    • B、UPDATE employees SET first_name = 'John', SET last_name ='Smith' WHERE employee_id = 180;
    • C、UPDATE employees SET first_name = 'John' AND last_name ='Smith' WHERE employee_id = 180;
    • D、UPDATE employees SET first_name = 'John', last_name ='Smith' WHERE employee_id = 180;

    正确答案:D

  • 第19题:

    You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the.. You need to ensure that users cannot tab out of the name field without entering data What should you do ?()

    • A、 Validate the name field in the CellValidating event. Set e.Cancel = true if the name field is
    • B、 Validate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..
    • C、 Validate the name field in the CellEnter event. Set the focus on the name field if the name ...
    • D、 Validate the name field in the CancelRowEdit event. Set the focus on the name field if the name ...

    正确答案:A

  • 第20题:

    单选题
    Hibernate关联维护中关于“inverse”描述正确的是()
    A

    Inverse定义由谁来控制关联关系的自动维护

    B

    当 inverse= false就意味着当前对象是不能自动维护关联关系

    C

    当 inverse=true就意味着当前对象可自动维护关联关系

    D

    它和cascade的作用是一样的


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2 (25) LAST_NAME VARCHAR2 (25) HIRE_DATE DATE Which UPDATE statement is valid?()
    A

    UPDATE employees SET first_name = 'John' SET last_name = 'Smith' WHERE employee_id = 180;

    B

    UPDATE employees SET first_name = 'John', SET last_name = 'Smoth' WHERE employee_id = 180;

    C

    UPDATE employee SET first_name = 'John' AND last_name = 'Smith' WHERE employee_id = 180;

    D

    UPDATE employee SET first_name = 'John', last_name = 'Smith' WHERE employee_id = 180;


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the.. You need to ensure that users cannot tab out of the name field without entering data What should you do ?()
    A

     Validate the name field in the CellValidating event. Set e.Cancel = true if the name field is

    B

     Validate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..

    C

     Validate the name field in the CellEnter event. Set the focus on the name field if the name ...

    D

     Validate the name field in the CancelRowEdit event. Set the focus on the name field if the name ...


    正确答案: C
    解析: 暂无解析

  • 第23题:

    多选题
    Which two commands are needed to create and apply an export policy that advertises static routes to OSPF neighbors?()
    A

    edit policy-options policy-statement policy-name set term 1 from protocol static set term 1 then accept

    B

    edit ospf policy set from protocol static set 1 then accept

    C

    set protocols OSPF export policy-name

    D

    set protocols OSPF policy policy-name


    正确答案: B,C
    解析: 暂无解析

  • 第24题:

    单选题
    Given the following table definition: STOCK: item VARCHAR(30) status CHAR(1) quantity INT price DEC(7,2) If items are indicated to be out of stock by setting STATUS to NULL and QUANTITY and PRICE to zero, which of the following statements would be used to update the STOCK table to indicate that all the items whose description begins with the letter "S" are out of stock?()
    A

    UPDATE stock SET (status = NULL; quantity, price = 0) WHERE item LIKE S%

    B

    UPDATE stock SET (status, quantity, price) = (NULL, 0, 0) WHERE item LIKE S%

    C

    UPDATE stock SET status = NULL, SET quantity = 0, SET price = 0 WHERE item LIKE 'S%'

    D

    UPDATE stock SET (status = NULL), (quantity = 0), (price = 0) WHERE item LIKE S%


    正确答案: A
    解析: 暂无解析