[HIBERNATE] bin scripts

2003-08-18 Thread Les Hazlewood
new Tools bin scripts, for win and *nix). Naturally, please feel free to format/rewrite/reuse the code however you feel that it may benefit Hibernate. Les Hazlewood bin-scripts.tar.gz Description: GNU Zip compressed data

[Hibernate] Re: bin scripts

2003-08-19 Thread Les Hazlewood
;) /max - Original Message - From: "Les Hazlewood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 9:52 PM Subject: [HIBERNATE] bin scripts Hi all, My name is Les, and I've been involved in open source projects for a while, and I

[Hibernate] Re: bin scripts

2003-08-19 Thread Les Hazlewood
Please disregard the last email, I found out how to upload ;) Although it would be much easier to enable upload on the same page where the issue is created. Les Les Hazlewood writes: I tried to use JIRA, but the "create new issue" page does not allow me to upload files. Ho

[Hibernate] Subclassing super() error

2003-08-21 Thread Les Hazlewood
urs if it is _not_ a bug?  If it is a bug, can someone fix it soon, as I can't continue my project without this OO hierarchy in place :)  If it is a bug, can someone definitively let me know so I can add it to JIRA? I'd be willing to help in any way I can (coding too), so please let me know if you need it. Thanks! Les Hazlewood

[Hibernate] Subclassing super() error

2003-08-21 Thread Les Hazlewood
't exist. Can someone enlighten me why this occurs if it is _not_ a bug? If it is a bug, can someone fix it soon, as I can't continue my project without this OO hierarchy in place :) If it is a bug, can someone definitively let me know so I can add it to JIRA? I'd be will

RE: [Hibernate] newbies question about ids

2003-08-22 Thread Les Hazlewood
Title: Message Can you use UUID's?  Then your problem would be solved  see the "uuid.hex" generator in the docs...   Les -Original Message-From: Thierry Hanot [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 10:34 AMTo: '[EMAIL PROTECTED]'Subject: RE: [Hiber

[Hibernate] CVS access

2003-08-22 Thread Les Hazlewood
Hiya folks, I'd like to start participating in development. How can I get anonymous CVS access to the 2.1 development tree? I didn't see a specific module name listed on the Sourceforge CVS page... I'd like to be able to do my cvs update everytime I work on the tree to make sure that I'm i

[Hibernate] Re: Mapping an object accross mutiple tables ??

2003-08-23 Thread Les Hazlewood
Philip, You can probably do what you wish to accomplish by using the tag within a class declaration: http://hibernate.bluemars.net/hib_docs/reference/html_single/#or-mapping-s1- 9 An example of one-to-one can be found in the Author/Work example in the Hibernate documentation: http://hib

[Hibernate] Re: CVS access

2003-08-23 Thread Les Hazlewood
erver cvs.sourceforge.net rejected access to /cvsroot/hibernate/Hibernate2 for user anonymous cvs checkout: used empty password; try "cvs login" with a real password What am I doing wrong? Thanks, Les Max Rydahl Andersen writes: it is in the v21branch /max Les Hazlewood wrote: Hiya

[Hibernate] Re: CVS access

2003-08-23 Thread Les Hazlewood
Disregard that last email...I'm an idiot and forgot the -r option ;) It works now (of course) Les --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Li

RE: [Hibernate] Postgres Text Type

2003-08-26 Thread Les Hazlewood
Title: RE: [Hibernate] Postgres Text Type I think the reason why is that Postgres does not limit the number of characters in a VARCHAR field (like Oracle, who limits VARCHAR2 to 4000 characters).  Because Postgres doesn't limit VARCHAR, there is no way to tell what is a good limit to convert t

[Hibernate] build structure

2003-08-26 Thread Les Hazlewood
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

RE: [Hibernate] build structure

2003-08-27 Thread Les Hazlewood
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_

RE: [Hibernate] build structure

2003-08-27 Thread Les Hazlewood
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

RE: [Hibernate] build structure

2003-08-27 Thread Les Hazlewood
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 ex

RE: [Hibernate] build structure

2003-08-27 Thread Les Hazlewood
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

RE: [Hibernate] build structure

2003-08-28 Thread Les Hazlewood
Title: RE: [Hibernate] build structure > > But that doesn't solve problems of Windows vs. Unix builds, because > > directory paths are significantly different.  Environment variables > > ensure path references are homogeneous across platforms, whereas a > > build.properties file that specify

RE: [Hibernate] build structure

2003-08-28 Thread Les Hazlewood
Title: RE: [Hibernate] build structure > Please! Use standard ant "semantics" - first time you set a > property you > cannot change it again. Thus your loading sequence must be > reversed! First ${user.home} then etc. Sure you can!  You can override property definitions in Ant... The us

RE: [Hibernate] build structure

2003-08-28 Thread Les Hazlewood
Title: RE: [Hibernate] build structure > So, if it is the only file I want to compile Hibernate > against that is different than the default jars, I could have > a single entry in my ${user.home}/hibernate.build.properties file: > > commons-lang.jar = /my/local/path/to/commons-lang.jar > >

RE: [Hibernate] build structure

2003-08-28 Thread Les Hazlewood
Title: RE: [Hibernate] build structure > What version of Ant are you using !?! Sorry, we do something non-standard at work that allows us to override properties using xml directives, not ant So, I will gladly use the reverse aproach (it works the same way anyway, since Ant doesn't all

RE: [Hibernate] java.security.AccessControlException thrown when Java 2 security enabled

2003-09-05 Thread Les Hazlewood
Title: Message You can specify permissions only for specific codebases (jars).  I suspect that would solve your problems if no one has a better solution.   See:   http://java.sun.com/j2se/1.4.1/docs/guide/security/jaas/tutorials/GeneralAcnAndAzn.html   specifically, the "How Do You Make Princi

[Hibernate] Re: Postgresql array index exception creating a new record

2003-09-12 Thread Les Hazlewood
Thats right. The newest version has fixed the problem. The direct link to the file: (Note: this file requires a JRE 1.4 (or better) jvm): http://jdbc.postgresql.org/download/pg73jdbc3.jar Les Gavin King writes: I think it is a bug in the Postgres implementation of JDBC batch updates.

RE: [Hibernate] Multiple Collections of Same Entity?

2003-09-18 Thread Les Hazlewood
Title: RE: [Hibernate] Multiple Collections of Same Entity? Can a Bar in the "bars" set also be in the "otherBars" set?  Or are the sets mutually exclusive? Les > -Original Message- > From: Snively, Paul (SMCI) [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 16, 2003 7:18 PM

RE: [Hibernate] Multiple Collections of Same Entity?

2003-09-19 Thread Les Hazlewood
undesirable.   Les -Original Message-From: Snively, Paul (SMCI) [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 12:16 PMTo: Les Hazlewood; [EMAIL PROTECTED]Cc: Beckman, Sam; Venegas, Frank; Wu, FengSubject: RE: [Hibernate] Multiple Collections of Sa

RE: [Hibernate] Bug with cursors?

2003-10-06 Thread Les Hazlewood
Title: RE: [Hibernate] Bug with cursors? Is this a Hibernate bug or an Oracle/JDBC problem? The Oracle error message says you've exceeded the maximum number of open cursors allowed, due to the number of queries being executed.  I think that means that you haven't configured Oracle to handle

RE: [Hibernate] Bug with cursors?

2003-10-06 Thread Les Hazlewood
Title: Message Thanks for the quick reply Gavin...I knew that was an extreme case...   Les -Original Message-From: Les Hazlewood [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:51 PMTo: [EMAIL PROTECTED]Subject: RE: [Hibernate] Bug with cursors? Is this

[Hibernate] Re: What's needed for JBoss integration?

2003-10-07 Thread Les Hazlewood
Bill Burke writes: Hi all, Just wondering what you all need/want for better Hibernate-JBoss integration. What is lacking. What needs improving. What sucks, etc... Bill, Gavin, I think the Hibernate SAR approach documented on the website was just perfect (I think it was a tutorial contr

[Hibernate] Re: What's needed for JBoss integration?

2003-10-07 Thread Les Hazlewood
Bill Burke writes: Is JCA the way to go with Hibernate/JBoss integration? JCA would be nice too, if you could find room in the development schedule for it ;) Les --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http:

RE: [Hibernate] Better validate on property and value ?

2003-12-30 Thread Les Hazlewood
Title: RE: [Hibernate] Better validate on property and value ? Whats wrong with doing: public boolean isValid(Mapping mapping) {     try {     validate(mapping);     } catch (MappingException me) {     return false;     }     return true; } ? At least that way you get the add

[Hibernate] SpringFramework Hibernate code submission

2004-03-25 Thread Les Hazlewood
esn't handle it (like I've had to do so far).  I'm not even sure the Spring folks would accept the patch, but I'd really like to give it a try if you approve... Any thoughts are appreciated, Les Hazlewood

RE: [Hibernate] SpringFramework Hibernate code submission

2004-03-25 Thread Les Hazlewood
: Thu 3/25/2004 10:31 AM To: Les Hazlewood; [EMAIL PROTECTED] Subject: RE: [Hibernate] SpringFramework Hibernate code submission I can't speak for the usage of the code. However, I can say that this is easy enough to handle in Spring as-is.  Simply create a JndiCallback impl which does wha

RE: [Hibernate] Commit of pre-alpha Hibernate Metadata annotations (JSR-175)

2004-04-07 Thread Les Hazlewood
Title: Message What is the benefit of this over XDoclet tags?  I find the XDoclet tags already in use _much_ easier to read and understand than these  Any reason for supporting JSR-175 other than "its cool cause now the JDK will support it"?  The only benefit I can see is that JSR-175 su

RE: [Hibernate] Commit of pre-alpha Hibernate Metadata annotations (JSR-175)

2004-04-07 Thread Les Hazlewood
Title: Message I'm answering my own question:   JSR-175 is a good idea for common support by tools and compile-time checking.  This is definitely better than "write my xdoclet tags, deploy, and see if it worked".   Les -Original Message-From: Les Hazlewood