> 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
+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
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
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
> 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
> 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
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:
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
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-
>
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 " ?
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
--
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
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
> 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
> 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
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
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
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
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
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
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
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
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
> 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
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
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
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
/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
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
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
(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
___
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
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
33 matches
Mail list logo