I've been trying to estimate how caching would influence the performance of
my app. This app has a lot of parent-child relationships in different
configurations, i.e. each object have childs in a bag, and mapped (two
one-many relations). During the test I've added about 1000 objects randomly
Gents (and Ladies?),
I had my first experience with the full Hibernate build this morning,
including the build of the HibernateExt and Tools modules.
I thought things werewellyucky ;)
I have a firm belief in leaving out jar files in a cvs repository, as that
is not source code, and
Howdy,
I've been having trouble getting Connection Pooling working with either
C3P0 or DBCP and using MySQL... the connection dies after some number of
hours and the next time the webapp is used, it hangs, and an ioException
is logged with a connection failure.
I have been told there is some
Dave Tilley wrote:
I've been having trouble getting Connection Pooling working
with either
C3P0 or DBCP and using MySQL... the connection dies after some number of
hours and the next time the webapp is used, it hangs, and an ioException
is logged with a connection failure.
I have been
Thanks
For the help really appreciate that.
Wanted to ask one more thing is nested transaction possible in Hibernate.
That is can I write code something like this.
public void addCat()throws Exception{
Session session=null;
Transaction tx=null;
Cat cat=new Cat(Scarlet);
cat.addKitten(new
No. Transaction.rollback() does NOT restore the state of the session to
the state prior to Transaction.begin(). You should close the Session after
rolling back a transaction.
Thanks
For the help really appreciate that.
Wanted to ask one more thing is nested transaction possible in Hibernate.
On 27 Aug (10:13), Eric Pugh wrote:
The avalon wrapper is built using Maven, and maven is called from the parent
ant script that builds the rest of the extensions if you want to see an
example.
Please stop this discussion. The Hibernate core build process is fine.
We don't need Maven, use it
--- Jim Downing [EMAIL PROTECTED] wrote:
Hi,
quick question - which version of cglib does
hibernate-2.0-final.jar
depend on?
If anyone else is using maven for their builds, does
either of the
jars in http://www.ibiblio.org/maven/cglib/jars/
work with hibernate
2.0 final?
cheers,
In my opinion:
* splitting the tools out of the Hibernate core was the one of the best
things we ever did - it keeps the download small enough and external
dependencies under control (Hibernate was starting to look very bloated)
* Maven looked great until I actually tried to use it and realized
On Wed, Aug 27, 2003 at 02:19:09AM -0400, Dave Tilley wrote:
Howdy,
I've been having trouble getting Connection Pooling working with
either C3P0 or DBCP and using MySQL... the connection dies after some
number of hours and the next time the webapp is used, it hangs, and an
The day maven can easily handle projects with
multiple source
directories (not just src, i mean
modules/hibern8ide, modules/tools,
modules/core) etc. Then I would consider to try
using Maven...Maven is
VERY monotlithic in it's structure - and that is
exactly the opposite of
what you are asking
FWIW: At our site we use this parameter in a Tomcat DBCP-resource with
autocommit false if i recall correctly. We have not seen any losses of
database connections.
On Wed, Aug 27, 2003 at 07:37:46PM +1000, Gavin King wrote:
Someone has claimed that this parameter doesn't work if autocommit is
i'll try looking into it again - but if they have
seperate source
directories without a common root, i'll be sad ;)
Currently every plugin is self contained and has own
source tree. But nothing prevents you to specify
source directory somewhere else ( say, under hibernate
source roor like:
Les,
Sounds interesting, but Java lib directories are getting ever more complex.
Between the Jakarta set of tools and other little pieces that go into making
a large framework tick - you can easily end up with version mismatches.
$APP_HOMEs need consistent usage for them to work.
My opinion is
Title: RE: [Hibernate] build structure
The über layout i'm looking for is:
hibernate/modules/core
hibernate/modules/core/etc
hibernate/modules/core/src/java
hibernate/modules/hbm2java
hibernate/modules/hbm2java/etc hibernate/modules/hbm2java/src/java
That is _exactly_ what I was
Ok,
So it seems to me that to use C3P0, you must set the following four
paramaters.
hibernate.c3p0.max_size =maximum connection pool size
hibernate.c3p0.min_size = minimum connection pool size
hibernate.c3p0.timeout = maximum idle time
hibernate.c3p0.max_statements =size of statement cache
On 27 Aug (10:00), Les Hazlewood wrote:
Unfortunately, this approach does not solve the versioning dependencies, but
at least it is a manageable approach to getting jar files out of cvs.
Why do we want the dependent JARs out of CVS?
--
Christian Bauer
[EMAIL PROTECTED]
I like your ideas, but plesae do not mix hibernate and hibernateext again.
If you want to improve something - then improve hibernateext build system.
I already has the proposed structure (except avalon plugin which is
partially maven (not good!))
And another point - please do NOT use
Title: RE: [Hibernate] build structure
-Original Message-
From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 27, 2003 10:34 AM
To: Les Hazlewood
Cc: hibernate list
Subject: Re: [Hibernate] build structure
I like your ideas, but plesae do not mix
The latest c3p0 has a new property, this is fromt he c3p0 developer a
while back:
I've added a new configuration property, idleConnectionTestPeriod,
which if set to a number of seconds greater than zero, causes idle
connections in the pool to be periodically checked, and discarded if
they are
Les, you come from a heavy C/C++/make background eh? Env variables are
pretty common in make-land but almost unheard of in java-land.
To restate what Gavin just said as a hard requirement:
Anyone with Java and Ant installed on their system
must be able to check out the CVS tree and
Title: RE: [Hibernate] build structure
IMO, environment variables ensure that users can't build the
project by simply checking out and typing ant. Please no
environment variables!
I will gladly adhere to the team's preferences, since I'm not a committer. :)
But I'd like to explain
Hello.
I would like to use hibernate and especially the criteria interface for
an application that my company will be building. The problem is that the
application will work against a legacy database (udb on mainframe) and
that the tables contains no column marked as a primary key. Essentially
I'm using Hibernate is a servlet container, and I have a servlet context
listener that configures Hibernate. What I noticed was that I had to
put the JNDI datasource location in both the web.xml (for JSTL and
servlets to use) and in the hibernate.cfg.xml.
What I did was a bit of a hack... I
Hello.
I would like to use hibernate and especially the criteria interface for
an application that my company will be building. The problem is that the
application will work against a legacy database (udb on mainframe) and
that the tables contains no column marked as a primary key. Essentially
Title: RE: [Hibernate] build structure
Les, you come from a heavy C/C++/make background eh? Env
variables are pretty common in make-land but almost unheard
of in java-land.
Actually, I have a _deep_ foundation in Java with little C++ background.
In fact, I have 3 times more java time
26 matches
Mail list logo