RE: [Hibernate] Mass Deletes

2003-08-04 Thread Patrick Burleson
I got in on this thread late, but if I understand what people are talking about, the select-then-delete model doesn't work well on large datasets. This is one of the drawbacks to Entity Beans for our organization. Trying doing that model for 10K rows and you quickly see how much that extra statem

RE: [Hibernate] Mass Deletes

2003-08-04 Thread Patrick Burleson
. Thanks, Patrick --- [EMAIL PROTECTED] wrote: > > No! That is NOT what we are suggesting. It would be just two SQL > statements. > > > > |-+---> > | | Patrick Burleson| > |

Re: [Hibernate] Recommended JDBC drivers for MS SQL?

2003-08-09 Thread Patrick Burleson
The Hibernate page lists "date-handling" issues with the MS/DataDirect driver. What sort of date-handling issues? We use a rebranded DataDirect driver that comes with Jrun and have had virtually no issues with that driver. And we move a lot of data around. Thanks, Patrick --- Serge Knystauta

Re: [Hibernate] How to use Hibernate in WSAD5

2003-08-15 Thread Patrick Burleson
It looks like the support Jars (in this case commons-lang.jar) aren't in your WEB-INF/lib directory or in the CLASSPATH of the server. They need to be in one of those places. Good luck, Patrick --- Yin Shi <[EMAIL PROTECTED]> wrote: > Hi friends, > > I am using WSAD5. > > I am new to Hibernat

Re: [Hibernate] Log4J for debugging hibernate

2003-08-16 Thread Patrick Burleson
Here is the log4j "Short Manual" from the Log4j site. It covers the .properties file in it. Log4j is quite easy to configure and after reading these docs you should be up and running in a few minutes. http://jakarta.apache.org/log4j/docs/manual.html Thanks, Patrick --- Prasad Iyer <[EMAIL PRO

Re: [Hibernate] Where to put hibernate.cfg.xml

2003-08-18 Thread Patrick Burleson
It needs to be in the CLASSPATH somewhere. I put mine in WEB-INF/classes and it seems to work well. Thanks, Patrick --- Yin Shi <[EMAIL PROTECTED]> wrote: > Hi, I am using WSAD5 and Hibernate2, I do not know where to put the .cfg.xml file, > because I tried to put it in every directory, they are

Re: [Hibernate] CVS access

2003-08-22 Thread Patrick Burleson
Les, I think the 2.1 stuff is on a branch in the CVS repository called v21branch. Set your working copy to point at that branch and I think you are good to go. Thanks, Patrick --- Les Hazlewood <[EMAIL PROTECTED]> wrote: > Hiya folks, > > I'd like to start participating in development. How c

Re: [Hibernate] MS SQL performance and Unicode

2003-08-25 Thread Patrick Burleson
Even more fun info here, is that if your JDBC driver (like say the DataDirect driver) uses NVARCHAR parameters with maximum widths (4000), SQL Server 7.0 will take forever to give you results. In our case, from 1 second using a VARCHAR (or even a shorter NVARCHAR) to 18 seconds. This problem doe

Re: [Hibernate] DBCP Connection Pooling (OT)

2003-08-29 Thread Patrick Burleson
At 05:16 AM 8/29/2003 +1000, Gavin King wrote: I think its better to direct these questions to the dbcp guys; dbcp is, as is usual for Jakarta stuff, extremely undocumented - but _someone_ must know the answers to these questions. So you to have noticed how most Jakarta projects aren't documented

Re: [Hibernate] DBCP Connection Pooling (OT)

2003-08-30 Thread Patrick Burleson
At 08:40 AM 8/29/2003 -0400, Serge Knystautas wrote: Put the other shoe on... jakarta developers have the same set of bosses/wives/children who don't accept explanations of needing to write docs. Actually, my boss gets quite irate if I don't document things so that someone can come in and use ou

Re: [Hibernate] Nested Transaction

2003-08-30 Thread Patrick Burleson
At 08:19 PM 8/29/2003 +0530, Prasad Iyer wrote: What can I say? Thanks Sir for your valuable time. regards prasad chandrasekaran I sense great sarcasm there, but Christian's response is pretty good. If you start a transaction and create a parent, then create children, and one of the children fa

RE: [Hibernate] CVS Problems

2003-09-10 Thread Patrick Burleson
At 01:51 PM 9/10/2003 -0700, Schnitzer, Jeff wrote: > From: Michael Gloegl [mailto:[EMAIL PROTECTED] > > when trying to connect to the CVS I constantly get "EOF from Server" and > "Connection Reset by Peer" errors. Is anyone else having such problems > in the moment? Yes. I was getting them yest

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

2003-09-13 Thread Patrick Burleson
At 08:15 PM 9/12/2003 +1000, Gavin King wrote: Forget about the 500 transactions. The problem is this: with 300-500 objects in the session cache, a single transaction( with an single object inserted) takes about one second. It simply does *not* take a second to dirty check 500 objects, dude. Nowh

Re: [Hibernate] some performnace metric for the dirty check during hibernate flush.

2003-09-16 Thread Patrick Burleson
At 02:29 AM 9/16/2003 -0700, jiesheng zhang wrote: ---test logic 1. load some (n) number of objects in memory. 2. begin tranaction. 3. // do not do anything here. 4. commit. Then calculate the time consumed from step 2 and 4. test code ---

Re: [Hibernate] more cvs repository

2003-10-13 Thread Patrick Burleson
The last I read on this a little while back was that SF is limiting access to anonymous logins...that you will get connection issues. I just keep trying and I eventually get through. Plus the SF anonymous CVS servers are a day behind the developer access servers. I don't know if that has change

Re: [Hibernate] Hibernate and Oracle XML datatype

2003-12-15 Thread Patrick Burleson
grendelAI wrote: Does Hibernate support Oracle's XML Data type? I have a table with a xml data type field that I need to query based on values in the xml document stored. Can Hibernate facilitate the sql? Probably more a question for the forums and not the dev list, but you might want to look at

Re: [Hibernate] Version Jars Update

2004-01-22 Thread Patrick Burleson
Eric Pugh wrote: 1) Ant in CVS is recorded as being at 1.5.3. It is 721k file, so I renamed it ant-1.5.3.jar. Just as an FYI, on ibiblio at [1] there is a version called ant-1.5.3-1.jar that is 721k as well. If ant was a runtime requirement, I would suggest that we use that version, to simplify

Re: [Hibernate] Version Jars Update

2004-01-23 Thread Patrick Burleson
Eric Pugh wrote: Thanks.. The confirmation that they all match between IBiblio and the local repo is good! On to the HibernateExt updates! Eric To be more accurate, I should have said "The two ant jars in question match exactly". Although I could run the gauntlet and compare them all. Migh

Re: [Hibernate] Proxy Code for MSSQL Driver for Hibernate

2004-02-09 Thread Patrick Burleson
Christian Bauer wrote: On 09 Feb (11:57), Eric Pugh wrote: There have been at least two instances where the usage of Microsofts JDBC driver has conflicted with Hibernate. Thats why the driver should be fixed, not wrapped. Use a different driver or file a bug report at MS. They have 50B in

[Hibernate] Sequence query on Postgresql

2005-01-28 Thread Patrick Burleson
I opened two JIRA requests regarding sequence selects (with provided patches) for the Postgresql Dialect. They have both been closed, with only Hibernate 3 getting the fix. Gavin closed the Hibernate 2 one after he added the sequence queries to a bunch of dialects. Then Michael Gloegl closed the H

[Hibernate] Re: Sequence query on Postgresql

2005-01-31 Thread Patrick Burleson
On Fri, 28 Jan 2005 14:03:24 -0500, Patrick Burleson <[EMAIL PROTECTED]> wrote: > I opened two JIRA requests regarding sequence selects (with provided > patches) for the Postgresql Dialect. They have both been closed, with > only Hibernate 3 getting the fix. > > Gavin close

[Hibernate] Could someone please reopen HB-1390?

2005-02-08 Thread Patrick Burleson
I just wanted to bring to the developer's attention that HB-1390 has not actually been applied to Hibernate 2, just Hibernate 3. The issue is erroneously marked as a duplicate. I know Hibernate 3 is the focus, but this is fix goes a long way towards making SchemaUpdate that much better working wit

Re: [Hibernate] Can I post general questions here?

2005-03-01 Thread Patrick Burleson
I would check the forum: http://forum.hibernate.org/ Patrick On Tue, 1 Mar 2005 13:24:40 -0800 (PST), J. Jeff Roberts <[EMAIL PROTECTED]> wrote: > I know that firebird-devel is only for people working on the code of > the project itself, but I don't see a more general list for Hibernate. > > W

Re: [Hibernate] org.hibernate.HibernateException: Not able to obtain connection

2005-09-15 Thread Patrick Burleson
You should ask this question in the user forum: http://forum.hibernate.org/ On 9/13/05, 梁炳場 <[EMAIL PROTECTED]> wrote: > At 1st, Hibernate can retrieve records when "getUserProfileList" is run. > After addition of record and then "getUserProfileList" is run again. > The following error messages