-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Application with four hundred tables
PostPosted: Mon Apr 05, 2004 4:32 pm 
Newbie

Joined: Wed Mar 24, 2004 3:01 pm
Posts: 6
Hi! I will need to do an application with four hundred tables. Is secure to do it with hibernate? Is it be supported without problems or performance?
Thanks!

_________________
Maikel A. Arabori - Curitiba/PR - Brazil


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 4:35 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Why not? What kind of problems did you expect exactly?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: connection pool
PostPosted: Tue Apr 06, 2004 2:30 am 
Beginner
Beginner

Joined: Wed Feb 25, 2004 5:54 am
Posts: 30
christian wrote:
Why not? What kind of problems did you expect exactly?


while we're in it. what's the best connection pool? Hibernate connection pool isn't intended for production use....

I was using C3PO but they have some problems like crashing in the mid of transaction.

All I have to do is just uncomment these lines right?

###########################
### C3P0 Connection Pool###
###########################

hibernate.c3p0.max_size 2
hibernate.c3p0.min_size 2
hibernate.c3p0.timeout 5000
hibernate.c3p0.max_statements 100
hibernate.c3p0.idle_test_period 3000
hibernate.c3p0.acquire_increment 2
hibernate.c3p0.validate false

and should I keep these uncommented?

##############################
### Proxool Connection Pool###
##############################


hibernate.proxool.pool_alias pool1

## set the maximum JDBC 2 batch size (a nonzero value enables batching)

hibernate.jdbc.batch_size 0

## set the maximum depth of the outer join fetch tree

hibernate.max_fetch_depth 1

hibernate.cache.provider_class net.sf.hibernate.cache.HashtableCacheProvider

Do these lines have any effect on hibernate's performance?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 06, 2004 2:54 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
They sure do, please look them up in the documentation.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.