RE: [Hibernate] Versioning Jar Files?

2003-12-17 Thread Brad Clow
> what's wrong with using the manifest? A few things spring to mind: 1. You have to open the .jar and extract/view the manifest to find out the version. If the version is in the filename you can simply see what the version is. 2. Not all library .jars include the version in the manifest. This

RE: [Hibernate] Versioning Jar Files?

2003-12-17 Thread Brad Clow
+1 .jar filenames including the version. This will make trying to figure out the version history of libraries in hibernate from cvs more difficult. However it will help just about every project that wants to use hibernate to sort out their library version dependencies more easily (hopefully that

[Hibernate] composite-id nullability rules

2003-10-23 Thread Brad Clow
ing only has a masterThing when both columns are not null. I figure that we could: 1. Change the nullability behaviour of composite-id's. 2. Add another attribute to the composite-id element in the mapping file to specifiy the behaviour. Thoughts, comments? Regards ___ brad clow chief technical officer workingmouse email: [EMAIL PROTECTED] web:   http://www.workingmouse.com

RE: [Hibernate] Road Map

2002-12-23 Thread Brad Clow
use proxies if u want to lazy load objects. brad > > I'd also love to see the ability to lazy-load objects instead of just > collections... > > -Mark --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.c

Re: [Hibernate] Lazy Collections

2002-12-03 Thread Brad Clow
> I have also other problems with lazy collections. I get WARNings about > Unclosed Sessions (finalize method in SessionImpl). I use Maverick Web > MVC Framework and it has discard() method in one interface that you can > implement. I have put my Session closing code in it, but it doesn't > help. I

RE: [Hibernate] Re: No CLOB support?

2002-11-30 Thread Brad Clow
> Without support for CLOBs is there any way use Hibernate > to persist fields longer than 255 characters? What type > should I use in my mapping file? here r two possiblities: 1. i have a vague recollection of doing this by having a String property in my java class, letting hibernate generate

Re: [Hibernate] Question about query language

2002-11-21 Thread Brad Clow
The identifier after the "from" does not refer to a table.  Perhaps the factthat your class was named MyTable in your example confused things a little.As an example:from bar in foo.model.Barbar is simply an alias for the fully qualified name, much like the "t" inthe following sql statement:

[Hibernate] jar versions

2002-10-30 Thread Brad Clow
when dealing with all of the library dependencies of an application, it is important to know the version of each required library.  can we identify the versions of the libraries hibernate depends on either by:   a) cvs comment/label b) name of each library jar includes it's version eg. commo

RE: [Hibernate] semantic of log WARN

2002-10-29 Thread Brad Clow
i agree, my preference is that these messages should be info, not warn. however, hibernate internally uses jakarta commons-logging, so i don't quite know how the logging level is controlled with that. i won't have a chance to look at it for a couple days. brad > -Original Message- >

Re: [Hibernate] How to quote identifiers in generated SQL with " ?

2002-10-21 Thread Brad Clow
quoted identifiers are not supported at the moment. i believe it is on the todo list. brad - Original Message - From: "User Forth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 21, 2002 6:14 PM Subject: [Hibernate] How to quote identifiers in generated SQL with " ?

[Hibernate] hibernate.xml.output_stylesheet path

2002-10-11 Thread Brad Clow
i think it would be more useful/flexible if the "hibernate.xml.output_stylesheet" property referred to a file in the classpath rather than a filesystem path (as is currently the case). i would modify it to use Class.getResourceAsStream. would this cause anyone problems? brad --

[Hibernate] sourceforge most active

2002-10-10 Thread Brad Clow
yesterday i want to sourceforge, and hibernate had made it into the top 10 "most active" list on the left-hand side.   u people have been busy :-)   brad

Re: [Hibernate] Re: writing the properties of a persistent object to a string

2002-10-06 Thread Brad Clow
databinder changes are committed: 1. added setInitializeLazy(boolean) to the Databinder interface. 2. XMLDatabinder now includes associated objects in the document. 3. changed the element name for arrays from collection to array. not sure if changing the element name for arrays was the completely

Re: [Hibernate] Re: writing the properties of a persistent object to a string

2002-10-05 Thread Brad Clow
> You know this means you are the official owner of the databinding code now, > right? ;) and i am not even using it for what it is meant for :-)) > How about adding > > Databinder.setTraverseLazy(boolean) > > Thats more flexible and avoids complexifying SessionFactory interface. no problem, wh

Re: [Hibernate] Re: writing the properties of a persistent object to a string

2002-10-05 Thread Brad Clow
> You know this means you are the official owner of the databinding code now, > right? ;) and i am not even using it for what it is meant for :-)) > How about adding > > Databinder.setTraverseLazy(boolean) > > Thats more flexible and avoids complexifying SessionFactory interface. no problem, wh

Re: [Hibernate] writing the properties of a persistent object to a string

2002-10-03 Thread Brad Clow
i have just committed my initial changes to the XMLDatabinder class. now un-initialised proxies and lazy collections can be left un-initialised. this behaviour is controlled by the new private boolean field traverseLazy. for now it is set to true, to reflect the behaviour of this class to date. i

Re: [Hibernate] writing the properties of a persistent object to a string

2002-10-02 Thread Brad Clow
i just tried it out and it does most of what i was trying to achieve. like i said in my original post, i am looking for a dynamic way to write out the state of a persistent object as a string for logging/debugging, so i am not concerned with the xml binding side of things. to fulfill my requireme

[Hibernate] documentation

2002-09-24 Thread Brad Clow
there have been a couple of occasions recently where i have found some minor errors in the documentation and would have liked to fix them up - but the whole documentation thing looks a bit complex when u want to do a simple change.   is it easy to generate the documentation - there is a docb

Re: [Hibernate-devel] Changes

2002-09-02 Thread Brad Clow
hibernate.org.au is available. brad - Original Message - From: To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 7:07 PM Subject: [Hibernate-devel] Changes > > As of this week, I am no longer working for Cirrus Technologies. This > should have no particular effect upon developme

[Hibernate-devel] Re: mvc & lazy loading

2002-08-31 Thread Brad Clow
originally i wondered whether this would work as the struts action servlet does a RequestDispatcher.forward to pass control to the resource specified by the ActionForward resulting from an Action. however, i did a quick little test, and i think your solution would work. ideally though, u would onl

Re: [Hibernate-devel] what to do about select distinct.....

2002-08-07 Thread Brad Clow
we r also using hibernate in a production environment. this change makes sense and is not a big deal for us, so go for it. brad - Original Message - From: "Jon Lipsky" <[EMAIL PROTECTED]> To: "Christian Bauer" <[EMAIL PROTECTED]>; Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 07, 2002

RE: [Hibernate-devel] XML SessionFactory configuration

2002-06-13 Thread Brad Clow
were u thinking of leaving the option to configure programmatically in? the option to configure by file would definitely be usefull in some circumstances. most people r probably aware of the problems with this in the following scenario, but i'll babble on about it anyway. when deploying an appl

RE: [Hibernate-devel] Simple transaction management

2002-05-22 Thread Brad Clow
don't get me wrong, i don't despise this change at all. :-) i just remember when i was first using hibernate, i got it going in a stanalone application. i then tried using it in a CMT environment, which was a little frustrating because back then u still had to call commit, which certainly isn't i

RE: [Hibernate-devel] Simple transaction management

2002-05-20 Thread Brad Clow
> The new API is a much better solution in terms of (2), (3) and (4) - > particularly (2) - but still requires a fairly lengthy explanation about > how to actually end a Session - something that should, on the face of it, > be so damn simple!! i think this could be dealt with by changing/re-organ

[Hibernate-devel] loading non-existent objects

2002-05-08 Thread Brad Clow
t not existing and some other error? or is the expectation simply that a find query is to be used if u r not sure if a particular persisted object exists? thanx brad > ___ > brad clow > chief technical officer > workingmouse > > email: [EMAIL P

[Hibernate-devel] code generator

2002-04-26 Thread Brad Clow
uses the JDBC meta data of an existing database to build the internal class structure. the problem would be in writing the single mapping file, as the architecture isn't really geared for that. i am sure we could come up with something though. hope this is useful for people. br

RE: [Hibernate-devel] version 0.9.9 released (please read)

2002-04-26 Thread Brad Clow
PoolMan (http://www.codestudio.com) is no longer supported by its developer and we found that the last release had some issues. it may yet end up with the jakarta project (http://jakarta.apache.org/site/elsewhere.html#0305). brad > -Original Message- > From: Marco Pas [mailto:[EMAIL PROT

RE: [Hibernate-devel] SQL Server 2000 questions

2002-04-18 Thread Brad Clow
/speed vs performance. brad > -Original Message- > From: Donnie Hale [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 17 April 2002 11:09 AM > To: Brad Clow > Subject: RE: [Hibernate-devel] SQL Server 2000 questions > > > See below. > > > > > we use a lay

[Hibernate-devel] code generator

2002-04-18 Thread Brad Clow
s don't exist yet). this initial processing component could be made configurable and one that generates the internal structure from an existing database be written. brad > ___ > brad clow > chief technical officer > workingmouse > > email: [EMAIL

RE: [Hibernate-devel] SQL Server 2000 questions

2002-04-15 Thread Brad Clow
appropriate for SQL Server > 2000. SS2K has > data types that a lot more directly map to the java.sql.Types > (e.g. bit to > BIT, bigint to BIGINT, etc.). > > 2) In trying to workaround one problem, I had to change some > hibernate code > (nothing permanent

[Hibernate-devel] datasource jndi config

2002-03-25 Thread Brad Clow
(hash); this works fine in the web container i am currently using and fine in jboss. however i don't know a great deal about jndi, so comments r welcome. if i don't hear anything negative over the next day, i will commit this. thanx brad ___

[Hibernate-devel] SAP DB dialect

2002-03-22 Thread Brad Clow
to be successful. i will send a message to the sapdb mailing list about this. brad ___ brad clow chief technical officer workingmouse email: [EMAIL PROTECTED] web: http://www.workingmouse.com ___ Hibernate-devel mailing

[Hibernate-devel] new ant test target

2002-03-21 Thread Brad Clow
it defaults to db2, since that is what the connection.properties file is defaulted to. brad ___ brad clow chief technical officer workingmouse email: [EMAIL PROTECTED] web: http://www.workingmouse.com ___ Hibernat