Re: [Hibernate] bad performance during flush and help is needed.

2003-09-11 Thread Gavin King
the transaction. My code is like this Tranaction tx=sessiob.beginTransaction(); foo.setField(newValue); tx.commit(); Well, obviously it is not like that, since that code does not load any objects into the session. 1. When the commit() is called, will the hibernate loop through every object in the

[Hibernate] bad performance during flush and help is needed.

2003-09-11 Thread jiesheng zhang
My system is a prototype system. There is only one test user at any time. For this user, there is about 500-600 objects loaded in the Hibernate session at maximal. Very often, my application needs to change only one field in one object and commit the transaction. My code is like this Tranactio

Re: [Hibernate] Reducing startup time (with a small solution)

2003-09-11 Thread Vladimir Dozen
ehlo. it would really nice if there was an option to avoid validation, I usually check xml validity with the IDE anyway (you don't need to check it again and again when you're in production, and morevoer a reduced startup time means more productive debugging ;-) Good point. Personally, I've alre

[Hibernate] JAAS integration?

2003-09-11 Thread Bear Giles
I'm looking at moving JAAS integration from some of my classes into the Hibernate classes as a possible patch, and I'm curious if anyone else has investigated this, etc. In a nutshell, the idea is to extend the Session to include a javax.security.auth.Subject object. The Subject will never be

[Hibernate] Boolean values

2003-09-11 Thread Prasad Iyer
How do I represent a boolean value in SQL Server database? Either I would have to use bit or char datatype. but representing it with true or false I don't know how. If someone can explain. regards prasad chandrasekaran --- This sf.net email is

[Hibernate] Best way to detect if the schema has been created

2003-09-11 Thread Dan Tran
Hello,  I would like my WebApp to create database table schema only the flight during startup.   What is the best way to detect if the schemas have been created?   Advice is greatly appreciated.   -Dan

[Hibernate] Setting to use hibernate in CMT Statless SessionBean

2003-09-11 Thread dai yamamoto
Hi everyone, (BI want to use hibernate In CMT Statless SessionBean. (B (BIn hibernate.cfg.xml File (Bjava:comp/UserTransaction (BBut the name is not found in JNDI. (B (BWhat is in this property ? (B (BThanks, (B (Bdai yamamoto (B (B (B (B