IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes how to update the same property of an object with 2 values in HQL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "how to update the same property of an object with 2 values in HQL ?" Watch "how to update the same property of an object with 2 values in HQL ?" New topic
Author

how to update the same property of an object with 2 values in HQL ?

srikanth sridhar
Greenhorn

Joined: Dec 17, 2011
Posts: 15
Hi All,

I have a requirement like where i have multiple checkboxes which are generated dynamically. Based on the check of a particular checkbox i need to insert the change in value of the property corresponding checkbox and the other check boxes should be updated with the old value of the same property field. How to do that..? can someone suggest me how to do this..? It will be of great help
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 718

Could post some of your code? So we could understand you better.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
 
subject: how to update the same property of an object with 2 values in HQL ?
 
Threads others viewed
How to check a checkbox automatically in struts
checkbox-once clicked-always sends the value as true
Checkbox validation
Struts: checkbox's previous value remains if i go back and unselect it
Struts : checkbox status is unchanged if i use back button and uncheck it
IntelliJ Java IDE