anonymous wrote : also i'm just trying to optimize my database table, but theres nothing to performance persist into table, for select there is so many performance tuning options (Query Hints, indexes, partitions and so on), but for insert i don't know haw i can increase performance on database level
indexes slowing insert statements. Also id which is generated by hibernate (@Id @GeneratedValue(strategy=GenerationType.TABLE) was much faster than with sequence (GenerationType.SEQUENCE)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039755#4039755
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039755
Hi,
I'm trying to "veto" an update in MyHome by overriding the update() method like this:
| public String update() {
| if(!valid()) {
| return null;
| }
| return super.update();
| }
|
My problem here is that the "UPDATE" request to the database is issued even if ''super.update()'' never is called.
Is there anyway to stop the "UPDATE" from being issued or do I have to solve this by not using the Home infrastructure ?
/Magnus
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039744#4039744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039744