Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving big objects with hibernate

 
papiar papiar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I have a big ptoblem and i don't get to fix it, is that i have to insert in a data base, using hibernate, an objects with more of 1000 fields, and each time that i try to save it i get timeout exception, the client doesn't allow us to increase the timeout property. Do you have an idea how can i solve it?

Thanks
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Greenhorn.

1000 fields? Is this a batch process or something?

Is the end user filling in a form with 1000 fields? That must be one long html page!

Do you really need all 1000 fields? Isn't the solution to trim that a little bit?

-Cameron McKenzie
 
papiar papiar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the dates don't come from a form, but really i think in the production environment we won't reach this size, but it is an end user demand
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you've reached a limit in your system, then you've reached your limit. Without redesign, you either increase hardware, or increase the timeout, or lower the demands. If you can't do that, then you'll need to redesign the system.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic