[Hibernate] Doc's for stuff in HibernateExt

2004-06-18 Thread Eric Pugh
Hi all, I am finishing up updating the Avalon wrapper, and integrating some patches that people had sent. I want to provide better documentation then what exists in various places. More along the follow the example and build "hello world" component using the Avalon wrapper. Demonstrate the mult

RE: Re[2]: [Hibernate] 24 hour eviction notice to Avalon in hibernateext (and removal of deprecated stuff)

2004-06-13 Thread Eric Pugh
containers, as well as future containers. This will kick up the number of classes slightly. Eric > -Original Message- > From: Max Rydahl Andersen [mailto:[EMAIL PROTECTED] > Sent: Sunday, June 13, 2004 5:36 PM > To: Eric Pugh > Cc: [EMAIL PROTECTED] > Subject: Re[2]:

RE: [Hibernate] 24 hour eviction notice to Avalon in hibernateext (and removal of deprecated stuff)

2004-06-09 Thread Eric Pugh
of net.sf.hibernate) and build system Max did > last month, you can bring it back to life. > BTW do you have any idea of the number of people using it ? > I know Pico guys have one or two Hibernate adaptors. > > Eric Pugh wrote: > > >That would defintly be my fault T

RE: [Hibernate] 24 hour eviction notice to Avalon in hibernateext (and removal of deprecated stuff)

2004-06-07 Thread Eric Pugh
hanging package names in hibernate core it is time > to do the same in hibernateext. > > I will also do the following (a par with previous mails in april) > > * remove hbm2dll and class2hbm as they are not maintained and anyhow > deprecated. > > Avalon received a "w

RE: [Hibernate] hibernateext-2.2/3.0 ideas/suggestions...

2004-04-12 Thread Eric Pugh
I didn't realize the avalon stuff wasn't building using Ant.. I was hoping to dump the old Maven based build and move it over to just Ant. I can get that done next week (visiting family this week!). Eric Pugh > -Original Message- > From: [EMAIL PROTECTED] > [mail

RE: [Hibernate] Versioned Jars for 2.2

2004-03-06 Thread Eric Pugh
I was thinking about pushing forward on updating the various packages in HibernateExt to use the versioned jars and move them up to a more recent version of Hibernate. I think most of them use 2.0.x version of Hibernate. Should we just move HibernateExt up to use 2.1.x since that is the released

[Hibernate] MSJdbcProxy is now a SourceForge Project

2004-02-25 Thread Eric Pugh
Hi all, I took the earlier suggestion and made the proxying (proxing?) code that was contributed a SourceForge project: http://msjdbcproxy.sf.net. Right now it only has a provider for Hibernate, plus some directions on how to use it. It has solved my problem with the order of reading from a recor

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

2004-02-09 Thread Eric Pugh
004 12:23 PM > To: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Proxy Code for MSSQL Driver for Hibernate > > > 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. >

[Hibernate] Proxy Code for MSSQL Driver for Hibernate

2004-02-09 Thread Eric Pugh
it first. I will of course make sure to provide an Ant based build! Eric Pugh --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5

RE: [Hibernate] Version Jars Update

2004-01-23 Thread Eric Pugh
2004 2:57 AM > To: Hibernate-Devel (E-mail) > Subject: Re: [Hibernate] Version Jars Update > > > 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 versi

[Hibernate] Does SchemaExport need JDOM?

2004-01-21 Thread Eric Pugh
Hi all, I noticed in SchemaExport.bat that it includes /lib/jdom.jar, however that jar doesn't exist.. It seems like it is safe to remove, but I haven't used SchemaExport before.. Eric --- The SF.Net email is sponsored by EclipseCon 2004 Pre

RE: [Hibernate] Version Jars Update

2004-01-21 Thread Eric Pugh
Okay.. That makes more sense. I will rename it to cglib-2.0-rc2.jar and also file a request to upload it to iBiblio. I am assuming that this is the release you are referring to: http://sourceforge.net/project/showfiles.php?group_id=56933&package_id=98218 &release_id=203575. Eric > -Origin

[Hibernate] Version Jars Update

2004-01-21 Thread Eric Pugh
nateExt/ code to use 2.1.1. Eric Pugh [1] http://www.ibiblio.org/maven/ant/jars/ [2] http://www.ibiblio.org/maven/cglib/jars/ --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integratio

RE: [Hibernate] Move forward on versioning jars

2004-01-19 Thread Eric Pugh
ate-Devel (E-mail) > Subject: Re: [Hibernate] Move forward on versioning jars > > > --- Eric Pugh <[EMAIL PROTECTED]> a écrit : > hi all, > > I > > am not sure (using Eclipse) if this will lose the > > history or not. I could > > also try and do a ren

[Hibernate] Move forward on versioning jars

2004-01-19 Thread Eric Pugh
hi all, A while ago we talked about versioning the jars, and the consensus was to move forward on this. Since no one has gotton to it, I thought I would go ahead and do it. I figured getting the /lib directory updated would be a good first step to updating the various jar files used by Hibernate

RE: [Hibernate] identity columns

2004-01-10 Thread Eric Pugh
What kind of behavior should I expect? The same SELECT statement with or without the use_getGeneratedKeys? I'll try it out this afternoon. Eric > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gavin > King > Sent: Saturday, January 10, 2004 5:07 PM >

[Hibernate] Ant build for Avalon wrapper

2003-12-19 Thread Eric Pugh
I finished adding a first cut of an Ant build file for the Avalon wrapper, and removed the old icky calls to maven.bat from the main build for the HibernateExt project. Not sure what peoples feelings are, but there is heavy use of the get-deps tag to download jars. Fortunantly it only does that o

RE: [Hibernate] Versioning Jar Files?

2003-12-18 Thread Eric Pugh
rom: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Christian Bauer > Sent: Thursday, December 18, 2003 3:35 PM > To: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Versioning Jar Files? > > > On 18 Dec (15:25), Eric Pugh wrote: > > > As a sometimes Maven devel

RE: [Hibernate] Versioning Jar Files?

2003-12-18 Thread Eric Pugh
a new project, then Maven is worth a look. The Hibernate project has a very effective build, and the site docs are all very well put together. Of course, it would be nice maybe to see JCoverage/Clover, StatCVS, PMD, Simian, FindBugs, Junit etc reports added :-) Eric Pugh > -Original Mes

RE: [Hibernate] Versioning Jar Files?

2003-12-18 Thread Eric Pugh
someone wants to rename all the jars, go ahead. > > *grumble* > > Eric Pugh wrote: > > > Hi all, > > > > I was going through the upgrade process for 2.1 to 2.1.1 > and something that > > strikes me is that since we don't version the jars in the > /

RE: [Hibernate] [avalon] Poolable HibernateService

2003-12-17 Thread Eric Pugh
Wojciech, I am debugging a problem in one of our apps that I think may be caused by this same issue. It looks like it is recreating the Configuration on every request.. egads! I hestiate to add Poolable to HibernateServiceImpl because that means that the container is now responsible for maintai

RE: [Hibernate] Versioning Jar Files?

2003-12-17 Thread Eric Pugh
I think that basing the naming decision on IDE usage is outweighed by the explicitness.. Also, as time goes by being able to reconfigure your IDE should get easier and easier. Not to be constantly plugging Maven, because it is good for some things, but not for others, and has it's own warts, but

[Hibernate] Versioning Jar Files?

2003-12-17 Thread Eric Pugh
Hi all, I was going through the upgrade process for 2.1 to 2.1.1 and something that strikes me is that since we don't version the jars in the /lib directory, making sure that my application has all the jars needed becomes challenging. Because I use Maven, I am able to specifically version all my j

RE: [Hibernate] JUnit testing of hibernate code segments that need a datasource

2003-12-10 Thread Eric Pugh
What you could do is have multiple setups so that some junit tests use the container, others use it from a differnet location. You may be able to use a container (Look at spring or the Avalon wrapper) to handle this. Just configure two copys of Hibernate depending on where you need your datasour

RE: [Hibernate] Re: Documentation error for ehCache

2003-12-08 Thread Eric Pugh
Thanks for fixing the bugs. If I just want Time to Idle, then I should just set the time to live value to 0 I assume? Also, I noticed the unit tests for tmpdir fail on windows. The test assumes the value coming back will be /tmp, but instead it is my c:\documents and settings... blah blah..\tem

[Hibernate] Permissions to Edit "Hibernate for Avalon Wrapper" page

2003-12-07 Thread Eric Pugh
tion that is currently in xdoc format in the project converted to the wiki pages as some users have been asking for more information. And telling them to build it from CVS doesn't go over so well :-). Eric Pugh --- This SF.net email is spo

RE: [Hibernate] Documentation error for ehCache

2003-12-07 Thread Eric Pugh
anches and versions... . It is > pretty well > documented in the help. > > David Morris > > >>> "Eric Pugh" <[EMAIL PROTECTED]> 12/6/2003 12:30:21 PM >>> > Hi all, > > I noticed that in the docs for ehcache the parameters always have the > s

[Hibernate] Documentation error for ehCache

2003-12-06 Thread Eric Pugh
that this problem exists, and that it stems from the docs in ehcache as well... Eric Pugh --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux

RE: [Hibernate] Use Cases or Fetch Groups

2003-12-05 Thread Eric Pugh
The way I understand this, what you are asking for is the ability to define which elements of data to eagerly retrieve, and what to lazy load? Becasue, in some cases the developer knows up front, or can make a very good guess what elements of data will be needed? How well does this work, what dif

RE: [Hibernate] Query Counter Interceptor?

2003-11-25 Thread Eric Pugh
PROTECTED] > Subject: Re: [Hibernate] Query Counter Interceptor? > > > Eric Pugh wrote: > > >Hi all, > > > >I am doing some performance tuning on my Hibernate based > app. I noticed > >that a lot of my HQL is quite unoptimized, and requires many > hits to t

[Hibernate] Query Counter Interceptor?

2003-11-24 Thread Eric Pugh
Hi all, I am doing some performance tuning on my Hibernate based app. I noticed that a lot of my HQL is quite unoptimized, and requires many hits to the database. So I am using a combination of JunitPerf to monitor how long a unit test takes and the show_sql to look at the number of SQL statemen

RE: [Hibernate] JavaPolis

2003-11-15 Thread Eric Pugh
Who else is going? I am planning on attending and would love to meet up with some other Hibernate folks. Eric Pugh > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Max > Rydahl Andersen > Sent: Saturday, November 15, 2003 8:30 AM > T

RE: [Hibernate] saveOrUpdateCopy()

2003-11-11 Thread Eric Pugh
giving me a tool to shoot myself in the foot so easily... Eric Pugh > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gavin > King > Sent: Sunday, November 09, 2003 2:28 PM > To: hibernate list > Subject: [Hibernate] saveOrUpdateCopy(

RE: [Hibernate] Hibernate Setup without hibernate.cfg.xml file

2003-10-31 Thread Eric Pugh
I just ran into the same issue.. I am using the Avalon wrapper, and instead of loading up a hibernate.cfg.xml, I have the xml inside my avalon config file. The wrapper just picks up the xml and then feeds it to Hibernate. But I'm getting the same exception. It is somewhat misleading b/c everythi

RE: [Hibernate] Performance Difference in HQL?

2003-10-31 Thread Eric Pugh
attend. Sorry about winmail.dat, i need to get something better then outlook! Eric > -Original Message- > From: Christian Bauer [mailto:[EMAIL PROTECTED] > Sent: Friday, October 31, 2003 10:21 AM > To: Eric Pugh > Cc: [EMAIL PROTECTED] > Subject: Re: [Hibernate] Performa

[Hibernate] Performance Difference in HQL?

2003-10-30 Thread Eric Pugh
Hi all, Is this any faster (in a real world sense): users = retrieveSession().find("from org.apache.fulcrum.security.spi.hibernate.HibernateSimpleUser su where su.name=?", userName, Hibernate.STRING); then this: users = retrieveSession().find("from " + HibernateSimpleUser.class.getName() + " su w

RE: [Hibernate] Business Rules

2003-10-28 Thread Eric Pugh
I lean towards not putting that kind of logic in some sort of Manager object.. I find that when you start mixing busienss logic with data objects, soon your business logic tier and data tier become all intertwined. I would lean towards OrderManager or something where you have a call like: OrderM

RE: [Hibernate] commons-lang dependency

2003-10-25 Thread Eric Pugh
Just for those of us not in the loop, why was commons-lang ditched? Remove another dependency? c-l getting to large? Just so I know for future efforts... Eric > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gavin > King > Sent: Saturday, October 25,

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
rator(), getPropertyIterator() } ); } I would like someone like Gavin to confirm this before I commit the fix. It does pass my sqlserver testcase, as well as the default tests. Eric Pugh > -Original Message- > From: Sandeep Dath [mailto:[EMAI

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
s put in some effort putting a > driver out there that can "get by", thereby not shutting out > the Java crowd. > > Which is a problematic stand. > > Sandeep > > -Original Message- > From: Eric Pugh [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
s that a true > statement?) > > Sandeep > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Pugh > Sent: Thursday, October 16, 2003 10:47 AM > To: [EMAIL PROTECTED] > Subject: RE: [Hibernate] Problem with Hibernate

RE: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
; From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Eric > Pugh > Sent: Thursday, October 16, 2003 3:29 PM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Problem with Hibernate and MSSQL JDBC diver when > Rereading columns > > > We have a problem with the

[Hibernate] Problem with Hibernate and MSSQL JDBC diver when Rereading columns

2003-10-16 Thread Eric Pugh
We have a problem with the Microsoft JDBC driver throwing a "can not reread column" exception. We have discovered that it only appears if the resultset contains a NTEXT, TEXT or IMAGE column. The driver then imposes the limitation that columns must be read increasing column indexes and that they m

RE: [Hibernate] BCEL/CGLIB dependencies...

2003-10-07 Thread Eric Pugh
So, if I don't have bcel, and do have cglib.jar 1.0 and ASM.jar in my classpath then everything will continue to work. And the benefits of ASM are faster startup time for Hibernate, correct? Eric > -Original Message- > From: Juozas Baliuka [mailto:[EMAIL PROTECTED] > Sent: Tuesday, Octob

[Hibernate] BCEL/CGLIB dependencies...

2003-10-07 Thread Eric Pugh
Hi all, I saw some posts that suggested that instead of using BCEL and cglib, I should use cglib-asm, which is a custom version of cglib that has various ASM classes integrated? If so, should we publish that to ibiblio in the hibernate directory to establish that it is a hibernate specific jar?

RE: [Hibernate] CVS Problems

2003-09-13 Thread Eric Pugh
Supposedly it is a resources issue on the SF side. Apparently as they move to bigger/better hardware that problem will go away. There is some docs on the SF.net site that describes their migration/upgrade plans. Eric > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTEC

RE: [Hibernate] build structure

2003-08-27 Thread Eric Pugh
Les, I think you bring up some very good points. While I'll just toss it out as a nomination, Maven has done a lot of work dealing with these multiple related project issues. The reactor allows you to build a series of projects, and sorts out any interdependencies they have. It deals with a cha

RE: [Hibernate] MS SQL performance and Unicode

2003-08-25 Thread Eric Pugh
No, I can chime in, that I as well didn't know this. Out of curiosity, has anyone put together a unit test that I could run to demo the differences? Would this be something to add to hibernate, or is it too random? Eric > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROT

RE: [Hibernate] MS SQL performance and Unicode

2003-08-24 Thread Eric Pugh
Also, I am working on this little issue, and I wanted to verify that the sendStringParametersAsUnicode=false string goes into the URL that you use to connect to the database, correct? jdbc:microsoft:sqlserver://[server]:1433;DatabaseName=[database name;SelectMethod=cursor;sendStringParametersAsUn

[Hibernate] Mapping a custom Set implementation?

2003-08-24 Thread Eric Pugh
Hi all, I have a custom Set implementation that wraps a standard set, but makes sure that the inputs and outputs are of a specific class. This is causing me to get: java.lang.ClassCastException at net.sf.hibernate.type.SetType.wrap(SetType.java:27) at net.sf.hibernate.impl.Session

RE: [Hibernate] Sql Query

2003-08-23 Thread Eric Pugh
Take a look at Hibern8IDE..  It makes it easy to test your HQL quieies..  Much faster then writing a test case even..   eri -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Prasad IyerSent: Thursday, August 21, 2003 3:44 PMTo: [EMAIL PROTEC

[Hibernate] Closer to Date problem with MSSQL

2003-08-14 Thread Eric Pugh
how to every use date's as part of a composite key. The FumTest I *think* would work fine, except for the converting back and forth of Date objects to SQL dates and back again.. Maybe if you mapped the date object as a string instead? so when you get it and save it, you are just using string

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

2003-08-14 Thread Eric Pugh
what issues there are, but it would help if I could hear from other people what issues the've had... Eric Pugh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Timothy Kettering Sent: Thursday, August 07, 2003 3:13 PM To: [EMAIL PROTECTED] Subject:

RE: [Hibernate] Closer to Date problem with MSSQL

2003-08-14 Thread Eric Pugh
won't work with Hibernate. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Pugh Sent: Wednesday, August 13, 2003 1:48 PM To: [EMAIL PROTECTED] Subject: [Hibernate] Closer to Date problem with MSSQL Hi all, I am updating the Supported Dat

[Hibernate] Bug in Hibernate maybe? Not is MSSQL?

2003-08-11 Thread Eric Pugh
Hi all, I am trying to track down an outer join problem where I am attempting to use the outer join, but with MSSQL it fails: [junit] Could not retrieveDistributor.: SQLException initializing collection : [Microsoft][SQLServer JDBC Driver]ResultSet can not re-read row data for colum n 3. [

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

2003-08-08 Thread Eric Pugh
Interesting.. Does this cause an error like "can reread from column 3 in row.."? I may have just stumbled across that.. So outer joins are out for MSSQL? I will try and catalog all these gotchas, and maybe add unit tests to prove them... Eric Pugh -Original Message- Fr

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

2003-08-08 Thread Eric Pugh
Interesting.. Does this cause an error like "can reread from column 3 in row.."? I may have just stumbled across that.. So outer joins are out for MSSQL? I will try and catalog all these gotchas, and maybe add unit tests to prove them... Eric Pugh -Original Message- Fr