[Hibernate] new SPI for EJB3/Seam

2006-09-23 Thread Gavin King
For truly efficient clustering of extended persistence contexts in the context of Seam or EJB3, we need a way to propagate unflushed changesets. What we need is an SPI like this: Serializable changeset = session1.getChangeSet(); session2.applyChangeSet(changeset); where session2 is an empt

Re: [Hibernate] questions regarding development setup

2006-06-11 Thread Gavin King
Is there some actual problem we are trying to solve here? Because if there is, no-one has pointed it out yet.   The point of the failing tests is to remind and nag us to get them fixed. If we hide the failures we remove that incentive.   There has been a bunch of handwaving about how this cou

RE: [Hibernate] We need to add a Wiki page full of corrects to "POJOs in Action"

2006-05-29 Thread Gavin King
Hibernate Subject: Re: [Hibernate] We need to add a Wiki page full of corrects to "POJOs in Action" On May 28, 2006, at 9:39 PM, Gavin King wrote: > Sheesh, the Hibernate chapter in "POJOs in Action" in riddled with > errors. We need to add a page full of corrections

RE: [Hibernate] Fetch profiles

2006-05-28 Thread Gavin King
Exactly. -Original Message- From: Max Andersen > And I guess you really want it disjunct from the mapping and not "just" > where the assocation is already defined ? --- All the advantages of Linux Managed Hosting--Without the Cost a

[Hibernate] Fetch profiles

2006-05-28 Thread Gavin King
As you guys know, I've been against the idea of fetch profiles for a long time (Max always disagreed). (BTW, please clearly distingush "fetch profiles" from "fetch plans". We have had "fetch plans" for years, as a subset of what the Criteria API can do.) The basis for my problem was that a fetch

[Hibernate] We need to add a Wiki page full of corrects to "POJOs in Action"

2006-05-28 Thread Gavin King
Sheesh, the Hibernate chapter in "POJOs in Action" in riddled with errors. We need to add a page full of corrections to our Wiki. In a number of places he comments on non-existent Hibernate limitations: eg. * he does not seem to know about lazy="no-proxy" * he claims it is impossible to downcast

RE: [Hibernate] FlushMode.NEVER to MANUAL

2006-05-27 Thread Gavin King
I'm fine with that, but just deprecate the older name. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bauer Sent: Saturday, May 27, 2006 9:05 AM To: development Hibernate Subject: [Hibernate] FlushMode.NEVER to MANUAL Can we rename FlushMode.N

RE: [Hibernate] Hibernate Annotations and Hibernate EntityManager follows JPA/EJB 3.0 final specification

2006-05-16 Thread Gavin King
Yay! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, May 15, 2006 11:27 AM To: Hibernate development Subject: [Hibernate] Hibernate Annotations and Hibernate EntityManager follows JPA/EJB 3.0 final specification Hibernate

RE: [Hibernate] @Column(insertable=false, updatable=false) is broken

2006-03-26 Thread Gavin King
Oh, this is probably because you expect it to be an @JoinColumn. Still, it should either work, or throw an exception. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King Sent: Sunday, March 26, 2006 7:27 PM To: Emmanuel Bernard Cc: Hibernate

[Hibernate] @Column(insertable=false, updatable=false) is broken

2006-03-26 Thread Gavin King
The following mapping: @Id @Column(name="blog_name") private String blogName; @OneToOne @Column(insertable=false, updatable=false) private Blog blog; Throws: Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: domain.HitCount column: blog_name

[Hibernate] mappedBy

2006-03-26 Thread Gavin King
Emmanuel, mappedBy should be able to refer to any attribute, not just an association. Not sure what the spec says, but definitely Hibernate core supports this. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that

RE: [Hibernate] Is Proxol actually needed in the dist?

2006-02-07 Thread Gavin King
What I mean is that no advertised feature of Hibernate depends upon Proxool. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King Sent: Tuesday, February 07, 2006 11:25 PM To: Scott M Stark; Hibernate development Subject: RE: [Hibernate] Is Proxol

RE: [Hibernate] Is Proxol actually needed in the dist?

2006-02-07 Thread Gavin King
Yep, some users are using it. But it is completely optional and non-default, so I'm not sure if that license requirement would be triggered. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott M Stark Sent: Tuesday, February 07, 2006 11:20 PM To: Hibern

RE: [Hibernate] default HEM key generator

2006-02-07 Thread Gavin King
Steve and Emmanuel are already working on this problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Burke Sent: Tuesday, February 07, 2006 7:15 PM To: Hibernate development Subject: [Hibernate] default HEM key generator Can we have a default HEM

RE: [Hibernate] hibernate 3.2

2006-02-02 Thread Gavin King
I also prefer it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ebersole Sent: Thursday, February 02, 2006 12:33 PM To: hibernate-devel@lists.sourceforge.net Subject: RE: [Hibernate] hibernate 3.2 Actually yes I like that better. -Original M

RE: [Hibernate] and not compatible

2005-12-26 Thread Gavin King
Just didn't implement it yet. Messy changes in one of the persisters. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, December 26, 2005 10:15 PM To: Hibernate development Subject: [Hibernate] and not compatible What's th

RE: [Hibernate] ImprovedNamingStrategy

2005-12-19 Thread Gavin King
Title: RE: [Hibernate] ImprovedNamingStrategy No more switches! :-) -Original Message- From: Leonardo Quijano Vincenzi [mailto:[EMAIL PROTECTED]] Sent: Mon 12/19/2005 9:00 PM To: Gavin King; hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] ImprovedNamingStrategy Can

RE: [Hibernate] ImprovedNamingStrategy

2005-12-19 Thread Gavin King
King Cc: Hibernate development Subject: Re: [Hibernate] ImprovedNamingStrategy I person did so far. Gavin King wrote: >Well, let's see if anyone complains... > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of >Emmanuel Bernard >

RE: [Hibernate] ImprovedNamingStrategy

2005-12-19 Thread Gavin King
Well, let's see if anyone complains... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Tuesday, December 20, 2005 7:06 AM To: Hibernate development Subject: [Hibernate] ImprovedNamingStrategy When working on the new naming strategy

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
Sure, any app that has conversations requires it. This is not in any way Seam-specific... -Original Message- From: Max Andersen Sent: Thursday, December 15, 2005 6:37 AM To: Gavin King; Hibernate development Subject: Re: [Hibernate] reveng optimistic locking On Wed, 14 Dec 2005 20:29

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
I say just let the user specify the column name they use for versions... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Thursday, December 15, 2005 2:19 AM To: Max Andersen Cc: Hibernate development Subject: Re: [Hibernate] reveng

RE: [Hibernate] reveng optimistic locking

2005-12-14 Thread Gavin King
Why would it break Seam?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Thursday, December 15, 2005 1:59 AM To: Hibernate development Subject: [Hibernate] reveng optimistic locking Hi, One caveat with reveng to the seam app i

[Hibernate] Template for generating class per entity per association

2005-12-13 Thread Gavin King
For the Seam templates I need to be able to generate a class for every many-to-one association of every entity. Currently what I am doing is generating everything as inner classes. Is there some better way to do that? --- This SF.net email is sp

RE: [Hibernate] Hibernate Annotations 3.1beta7 and Hibernate EntityManager 3.1beta5 released

2005-12-13 Thread Gavin King
Yay! Thanks Steve and Emmanuel for the latest revs! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Wednesday, December 14, 2005 3:24 AM To: Hibernate development Subject: [Hibernate] Hibernate Annotations 3.1beta7 and Hibernate Ent

[Hibernate] New antlr jar

2005-12-08 Thread Gavin King
Currently, we have checkstyle-all.jar sitting in our lib dir. If you now try to use Hibernate with that in your classpath, Hibernate will break, since it embeds and older version of antlr. We need to do something about that, maybe use the fine-grained checkstyle jars.

RE: [Hibernate] HQL UNION

2005-12-08 Thread Gavin King
There is an existing issue for this. But it is non-trivial. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Thursday, December 08, 2005 11:25 AM To: Hibernate development Subject: [Hibernate] HQL UNION I guess we should consider s

RE: [Hibernate] Fwd: antlr 2.7.6rc1 available

2005-12-07 Thread Gavin King
Finally! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ebersole Sent: Wednesday, December 07, 2005 3:58 PM To: Max Andersen; Hibernate development Subject: RE: [Hibernate] Fwd: antlr 2.7.6rc1 available Sweet, just in time ;) -Original Messa

[Hibernate] Grammar seems to be broken

2005-11-29 Thread Gavin King
[antlrtask] C:\Projects\Hibernate3\grammar\sql-gen.g:153:39: warning:nondetermin ism between alts 1 and 2 of block upon [antlrtask] C:\Projects\Hibernate3\grammar\sql-gen.g:153:39: k==1:SQL_TOKEN --- This SF.net email is sponsored by: Splunk Inc

RE: [Hibernate] NamingStrategy for indexes

2005-11-29 Thread Gavin King
I am -1 on ANN-180. However, I am very +1 on having NamingStrategy support for FK names -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Tuesday, November 29, 2005 8:22 AM To: Hibernate development Subject: [Hibernate] NamingStr

RE: [Hibernate] Timeout for tests

2005-11-28 Thread Gavin King
You might want to change whatever you are doing to just run the AllTests suite, which excludes a bunch of things. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Campbell Sent: Monday, November 28, 2005 8:39 AM To: Christian Bauer Cc: Hibernate devel

RE: [Hibernate] Timeout for tests

2005-11-27 Thread Gavin King
Fine by me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Campbell Sent: Sunday, November 27, 2005 11:01 PM To: Hibernate development Subject: [Hibernate] Timeout for tests Can there be a timeout for the tests? I'm seeing tests hang against diffe

RE: [Hibernate] query statistics

2005-11-21 Thread Gavin King
Right. The only downside would be increased mem usage, I suppose. -Original Message- From: Steve Ebersole Sent: Monday, November 21, 2005 6:54 AM To: Gavin King; 'Hibernate devel' Subject: RE: [Hibernate] query statistics I guess we could make it so. This issue is that cu

RE: [Hibernate] query statistics

2005-11-21 Thread Gavin King
Could the query plan cache both expanded and non-expanded SQL? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ebersole Sent: Monday, November 21, 2005 6:49 AM To: Hibernate devel Subject: [Hibernate] query statistics In relation to http://opensourc

RE: [Hibernate] Flush behavior

2005-11-21 Thread Gavin King
I don't understand what is so difficult to understand here. Persist() is no different to delete(), merge() or evict() in this respect. You have to explain things in terms of what operation is applied at flush time. In the case of Hibernate it is the save/update operation. In the case of EJB3 it i

RE: [Hibernate] Flush behavior

2005-11-21 Thread Gavin King
>> This is again correct. You must enable cascade save-update, as in all >> versions of Hibernate. > Why? Because no other behavior would be well-defined. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register fo

RE: [Hibernate] Flush behavior

2005-11-21 Thread Gavin King
Oh, you mean in plain Hibernate, not in HEM. This is again correct. You must enable cascade save-update, as in all versions of Hibernate. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King Sent: Monday, November 21, 2005 5:07 AM To: Christian

RE: [Hibernate] Flush behavior

2005-11-21 Thread Gavin King
21, 2005, at 2:03 AM, Gavin King wrote: > Huh? http://opensource.atlassian.com/projects/hibernate/browse/HHH-1181 s.persist(o) is only transitive to anything reachable at call time. em.persist(o) is transitive at flush time. --- This SF.

RE: [Hibernate] How about mapping processing related properties

2005-11-21 Thread Gavin King
I am not keen on this, because naming strategy is not "configuration". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, November 21, 2005 4:38 AM To: Hibernate development Subject: [Hibernate] How about mapping processing rela

RE: [Hibernate] Flush behavior

2005-11-20 Thread Gavin King
Huh? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bauer Sent: Sunday, November 20, 2005 12:58 PM To: Hibernate development Subject: Re: [Hibernate] Flush behavior On Nov 20, 2005, at 6:48 PM, Gavin King wrote: > Hibernate cascades

RE: [Hibernate] Second level cache and mappedBy side of a FK one-to-one

2005-11-20 Thread Gavin King
This would be quite difficult to implement. Internally, a one-to-one property-ref looks nothing like a collection. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Sunday, November 20, 2005 2:28 AM To: Hibernate development Subject

RE: [Hibernate] specific annotation for collection of elements

2005-11-20 Thread Gavin King
IMO, the @OneToMany annotation should not be used for collections of value-typed objects. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Sunday, November 20, 2005 3:41 AM To: Hibernate development Subject: [Hibernate] specific annot

RE: [Hibernate] Flush behavior

2005-11-20 Thread Gavin King
Negative. Hibernate cascades the saveOrUpdate() operation, EJB3 cascades the persist() operation. They should and are quite different. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bauer Sent: Sunday, November 20, 2005 3:43 AM To: Hibernate

RE: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)

2005-11-18 Thread Gavin King
> But that's not the common approach to bug reports in open source projects. You might have noticed that we do things quite differently to many other projects. Too much "democracy" is a major reason why so many initially successful open source projects grind to a complete halt after maybe 2 years

RE: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)

2005-11-18 Thread Gavin King
> Now, I apologize for cloning the issue. I just found it rude and > inconsiderate for a commiter to close an issue without giving a proper > commentary. > Yes, every report in JIRA deserves personalized response from the > Hibernate Team. Not for support, but for giving it at least considerat

[Hibernate] Please help keep JIRA clean!

2005-11-18 Thread Gavin King
Guys,   I’d like to request that everyone here pitch in and be a bit more aggressive about closing off useless JIRA issues. JIRA is absolutely no use to us if it is clogged up with thousands of issues that no-one is going to look at in the next two years!   Remember, JIRA is for *our b

RE: [Hibernate] New NamingStrategy

2005-11-09 Thread Gavin King
ument. May be used to implement project-scoped  * naming standards for database objects.  *  * @see DefaultNamingStrategy  * @see ImprovedNamingStrategy  * @author Gavin King  * @author Emmanuel Bernard  */ public interface NamingStrategy {     /** * Return a table name for an entity

RE: [Hibernate] Wrapping FETCH results in set

2005-11-08 Thread Gavin King
Title: RE: [Hibernate] Wrapping FETCH results in set This is MUCH more difficult to implement than you think. -Original Message- From: [EMAIL PROTECTED] on behalf of Christian Bauer Sent: Mon 11/7/2005 6:34 PM To: Hibernate development Subject: [Hibernate] Wrapping FETCH results in

RE: [Hibernate] Table generators and int/long etc

2005-11-03 Thread Gavin King
Title: RE: [Hibernate] Table generators and int/long etc The int value coming from the table is combined with a the high value to produce a larger value. I don't see a problem here. -Original Message- From: [EMAIL PROTECTED] on behalf of Emmanuel Bernard Sent: Thu 11/3/2005 5:01 AM

RE: [Hibernate] Reference Manual for Hibernate 3.x in Thai version

2005-10-23 Thread Gavin King
Title: RE: [Hibernate] Reference Manual for Hibernate 3.x in Thai version A Thai translation would be very welcome! :) -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Thu 10/20/2005 9:58 AM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernat

RE: [Hibernate] 3.1 rc2

2005-10-15 Thread Gavin King
Title: [Hibernate] 3.1 rc2 Great De: [EMAIL PROTECTED] en nombre de Steve EbersoleEnviado el: vie 14/10/2005 16:41Para: Hibernate developmentAsunto: [Hibernate] 3.1 rc2 So as far as I am concerned, I am ready to push out 3.1rc2.  Anythinganyone else wanted to get into this before I cut

Re: [Hibernate] Hibernate 3.1 rc1 released

2005-10-08 Thread Gavin King
Yay! Congrats, Steve! Steve Ebersole wrote: Hibernate 3.1 rc1 has been released. It contains various bug fixes, extension of current-session and improvements to session connection handling. The release notes can be found at http://sourceforge.net/project/shownotes.php?release_id=361921 The bi

RE: [Hibernate] Collections evicted from cache for update/recreate

2005-09-29 Thread Gavin King
Right, this is necessary to handle the possibility of concurrent inserts in diff transactions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Mastracci Sent: Thursday, 29 September 2005 11:24 PM To: hibernate-devel@lists.sourceforge.net Subject:

RE: [Hibernate] sessionfactoryimpl.close()

2005-09-27 Thread Gavin King
They are wrapped in UnmodifiableBlahBlah -Original Message- From: Steve Ebersole Sent: Tuesday, 27 September 2005 3:49 PM To: Max Andersen; Gavin King; Emmanuel Bernard Cc: Hibernate development Subject: RE: [Hibernate] sessionfactoryimpl.close() Why? You can call clear() on

RE: [Hibernate] sessionfactoryimpl.close()

2005-09-27 Thread Gavin King
I think it would be perfectly reasonable to clear the internal collections. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Monday, 26 September 2005 3:20 PM To: Emmanuel Bernard Cc: Hibernate development Subject: Re: [Hibernate]

[Hibernate] EJB3NamingStrategy

2005-08-31 Thread Gavin King
Title: EJB3NamingStrategy Emmanuel, Currently I guess Hibernate Annotations is implementing the default column/table naming standards defined by the spec in AnnotationBinder. Have you given any thought to doing this stuff as a NamingStrategy? Most likely it would require some change to the

RE: [Hibernate] Default values for collection of elements

2005-08-23 Thread Gavin King
Can you de-pluralize the name of the association? I guess that is too hard... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Tuesday, 23 August 2005 4:39 PM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Default v

RE: [Hibernate] Default values for collection of elements

2005-08-23 Thread Gavin King
"elt" is horrible :) Who fucking came up with that ridiculous default anyway? What an idiot. ... Oh, that's right -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Tuesday, 23 August 2005 4:46 PM To: Emmanuel Bernard; hiber

RE: [Hibernate] Configuration artifact precedence

2005-08-19 Thread Gavin King
Well, Hibernate will throw an exception if you try to map the same class twice to the same entityName. -Original Message- From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] Sent: Friday, 19 August 2005 5:22 PM To: Gavin King Cc: Jordan Laughlin; hibernate-devel@lists.sourceforge.net

RE: [Hibernate] Configuration artifact precedence

2005-08-19 Thread Gavin King
I must admit, that this makes sense to *me* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Laughlin Sent: Friday, 19 August 2005 2:46 PM To: hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] Configuration artifact precedence Wou

RE: [Hibernate] Configuration artifact precedence

2005-08-18 Thread Gavin King
I don't understand what is the problem you are trying to solve? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel BernardSent: Thursday, 18 August 2005 8:54 PMTo: hibernate-devel@lists.sourceforge.netSubject: [Hibernate] Configuration artifact precedence Artifacts (

RE: [Hibernate] Extra info at definition time

2005-08-18 Thread Gavin King
Go ahead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Thursday, 18 August 2005 9:01 AM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Extra info at definition time Any concrete reason why we cannot add comments,

RE: [Hibernate] Cfg properties for EntityManager

2005-08-15 Thread Gavin King
s was not the case in the early versions, but JBoss integration and the par structure changed a lot of stuffs. Gavin King wrote: > Browsing through the HibernatePersistence class, I'm having a great > deal of trouble figuring out if there are some patterns used for the > naming

[Hibernate] Cfg properties for EntityManager

2005-08-15 Thread Gavin King
Title: Cfg properties for EntityManager Browsing through the HibernatePersistence class, I'm having a great deal of trouble figuring out if there are some patterns used for the naming of properties. For example we have:    hibernate.ejb.cfgfile    hibernate.hbmxml.files    hibernate.ejb.c

[Hibernate] Insert...select... And version numbers

2005-08-13 Thread Gavin King
Title: Insert...select... And version numbers I discovered that DB2 does not support parameters in the select clause of SQL insert …. select …. queries. This is a bit of a problem for the auto-version seeding stuff. Currently we generate SQL like this:     insert (id, version, …) values (

RE: [Hibernate] primitive long map

2005-08-12 Thread Gavin King
Mark, there are a couple of things that our caches need: (1) eviction (can't keep the wholetable in memory) (2) support for arbitrary (complex) data types as keys I don't think Hibernate uses integer values as map keys anywhere. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [Hibernate] Oracle gurus: lock and pagination?

2005-08-11 Thread Gavin King
I know about this. The problem was "sorta" fixed in HB3, but not really. I'm not sure I will really be able to fix it completely. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Thursday, 11 August 2005 12:36 PM To: hibernate-deve

RE: [Hibernate]

2005-08-03 Thread Gavin King
My understanding is that if you want to do stuff like this in HSQLDB, you must create a special "dual" table manually. However, I think it is reasonable to fall back to jvm datetime for HSQLDB, since the overwhelmingly common case is that HSQL is running in-process *anyway*. -Original Message

RE: [Hibernate] Fwd: [Hibernate-commits] Hibernate3/src/org/hibernate/util ArrayHelper.java,1.14,1.15

2005-07-19 Thread Gavin King
'Cos it sucks and was obsoleted by and was never documented. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Tuesday, 19 July 2005 2:24 PM To: Hibernate development Subject: [Hibernate] Fwd: [Hibernate-commits] Hibernate3/src/

RE: [Hibernate] Field interception based proxies

2005-06-30 Thread Gavin King
Yes, exactly. -Original Message- From: baliuka juozas [mailto:[EMAIL PROTECTED] Sent: Thursday, 30 June 2005 1:22 PM To: Gavin King; hibernate-devel@lists.sourceforge.net Subject: RE: [Hibernate] Field interception based proxies I see no good way to make it lazy and to create the

RE: [Hibernate] Field interception based proxies

2005-06-30 Thread Gavin King
Will it work with polymorphic -to-one associations? You still need the indirection in that case, don't you? -Original Message- From: baliuka juozas [mailto:[EMAIL PROTECTED] Sent: Thursday, 30 June 2005 11:37 AM To: Gavin King; hibernate-devel@lists.sourceforge.net Subjec

RE: [Hibernate] Field interception based proxies

2005-06-30 Thread Gavin King
Juozas, I don't really understand what you are proposing here. What is a "field interception based proxy"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of baliuka juozas Sent: Wednesday, 29 June 2005 9:30 AM To: hibernate-devel@lists.sourceforge.net Subje

RE: [Hibernate] Annotation Documentation Example [Please]

2005-06-23 Thread Gavin King
@EmbeddableSuperclass -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lane Sharman Sent: Thursday, 23 June 2005 1:18 AM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Annotation Documentation Example [Please] Emmanuel, I am developing a

RE: [Hibernate] Websphere 5.1 and Oracle 9x XA

2005-06-14 Thread Gavin King
Please do NOT post things like this to the dev list! Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Srinivasan Sent: Tuesday, 14 June 2005 2:32 PM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Websphere 5.1 and Oracle 9x

RE: [Hibernate] Scope of Hibernate 3.1

2005-06-08 Thread Gavin King
As you all know, I am still just not sold on this. -Original Message- From: Max Andersen Sent: Wednesday, 8 June 2005 3:15 PM To: Gavin King; hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] Scope of Hibernate 3.1 Adding the ResultTransformer or similar to native sql and

RE: [Hibernate] Enhanced filtering?

2005-06-08 Thread Gavin King
I am against changing the concept here. I think the original conception is the only one that truly makes sense. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ebersole Sent: Wednesday, 8 June 2005 10:36 AM To: Emmanuel Bernard; hibernate-devel@lists

[Hibernate] Scope of Hibernate 3.1

2005-06-08 Thread Gavin King
I’ve put some thought into the scope of work for Hibernate 3.1. Here’s what I came up with:   Finish bulk update/delete, including, HHH-352 Clean up tuple package and make it truly extensible Auto-detect {..} in queries, HHH-596 Support {coll.key}, etc, TODO-109

[Hibernate] We are still looking for US-based consultants

2005-06-07 Thread Gavin King
I can’t believe we have been unable to hire someone!   JBoss is losing money right now because we are having trouble keeping up with hibernate business in the US.   If you are interested, please email me at [EMAIL PROTECTED]

RE: [Hibernate] Hibernate and EMF integration

2005-06-04 Thread Gavin King
Hi Mike,   I’m not aware of any other effort to do this. It should be straightforward, however, given the architecture of HB3.   Gavin   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kanaley Sent: Friday, 3 June 2005 9:35 PM To: hibernate-devel@lists.sour

RE: [Hibernate] Repeated attribute in the docs.

2005-05-25 Thread Gavin King
Thanks, fixed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Moral Sent: Wednesday, 25 May 2005 9:01 AM To: Hibernate devel Subject: [Hibernate] Repeated attribute in the docs. Just one comment to the person in charge of the documentation: On th

[Hibernate] 3.0.5 is out

2005-05-24 Thread Gavin King
Check out the new natural-key lookup enhancement J   Christian, I did a bunch of work on the docs, can you update the website?   Thanks.

[Hibernate] I added a new feature

2005-05-22 Thread Gavin King
I’ve added support for generation of schema-level comments via adding blocks to the mapping document. This is kinda nice, but I would not have really bothered doing it except that I saw some really nice synergies with other components of the toolset.   For example:   the new DocExpor

RE: [Hibernate] DocExporter

2005-05-22 Thread Gavin King
No, I just mean hitting "generate docs" and being taken to a browser window open at the generated docs. -Original Message- From: Max Andersen Sent: Sunday, 22 May 2005 4:04 PM To: Gavin King; Hibernate devel Cc: [EMAIL PROTECTED] Subject: Re: [Hibernate] DocExporter On Sun, 2

RE: [Hibernate] DocExporter

2005-05-22 Thread Gavin King
Very, very cool. Is this something we can also integrate into the eclipse plugin? Like, provide a browser for it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Sunday, 22 May 2005 3:40 PM To: Hibernate devel Cc: [EMAIL PROTECTED

RE: [Hibernate] jira dashboard broken ?

2005-05-22 Thread Gavin King
NO, not just you :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Sunday, 22 May 2005 11:41 AM To: Hibernate devel Subject: [Hibernate] jira dashboard broken ? Is it only my JIRA dashboard that is broken and empty ? -max ---

RE: [Hibernate] Printing entities on flush in debug mode ?

2005-05-18 Thread Gavin King
Printer.toString() does *not* call toString() on the entity objects! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Rydahl Andersen Sent: Wednesday, 18 May 2005 3:45 AM To: Hibernate devel Subject: [Hibernate] Printing entities on flush in debug mode

RE: [Hibernate] 3.0.4

2005-05-16 Thread Gavin King
OK, great -Original Message- From: Emmanuel Bernard [mailto:[EMAIL PROTECTED] Sent: Monday, 16 May 2005 7:52 PM To: Gavin King Cc: hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] 3.0.4 I need to add some stuffs in the core to enable createNAtiveQuery(String sql, String

RE: [Hibernate] 3.0.4

2005-05-16 Thread Gavin King
@lists.sourceforge.net Subject: Re: [Hibernate] 3.0.4 Anybody had time to check this http://forum.hibernate.org/viewtopic.php?t=940708&highlight=jacc Gavin King wrote: > We'll need to do a 3.0.4 release, probably this week to get my fixes > to subselect fetching, and enhancements to join fet

RE: [Hibernate] join fetching multiple collection roles

2005-05-16 Thread Gavin King
I might have been a little premature in announcing this:     http://opensource.atlassian.com/projects/hibernate/browse/HHH-486   is a pretty big bug in it. I’ll need to fix that before we can release.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King

[Hibernate] 3.0.4

2005-05-16 Thread Gavin King
We’ll need to do a 3.0.4 release, probably this week to get my fixes to subselect fetching, and enhancements to join fetching out there.   Steve, do you have anything in the pipeline that should go in?

[Hibernate] join fetching multiple collection roles

2005-05-15 Thread Gavin King
I removed the ancient limitation. One of those things that was really quite easy once I actually sat down and tried to do it.   So you can now do:     from Item it join fetch it.bids join fetch it.comments   and stuff like that.     Just don’t try to use this feature with bags (for

RE: [Hibernate] Caching of collections

2005-05-13 Thread Gavin King
OK, but you do realize that this is the Hibernate development mailing list, not the JavaRanch beginner forum, right?   We already know all about concurrent.jar. ;-)   From: Lane Sharman [mailto:[EMAIL PROTECTED]] Sent: Thursday, 12 May 2005 1:34 AM To: Gavin King Cc: hibernate

RE: [Hibernate] Caching of collections

2005-05-10 Thread Gavin King
azing issues with the java memory model and was vetted by some really smart people. just an idea, resource. -Lane Gavin King wrote: >Yes, there are some subtle concurrency issues. > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >

RE: [Hibernate] Caching of collections

2005-05-10 Thread Gavin King
Yes, there are some subtle concurrency issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, 9 May 2005 4:52 AM To: hibernate-devel@lists.sourceforge.net Subject: [Hibernate] Caching of collections I noticed that we don't

RE: [Hibernate] New laziness rules

2005-05-02 Thread Gavin King
Yes, you're misunderstanding. If I say lazy="false", it should *always* be eager fetched. There's nothing wrong with fetch="join" lazy="true" if you want flexibility. -Original Message- From: Max Andersen Sent: Monday, 2 May 2005 5:48 PM To: Gavi

RE: [Hibernate] New laziness rules

2005-04-29 Thread Gavin King
OK, I ditched rule (2). Now they are completely orthogonal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bauer Sent: Thursday, 28 April 2005 3:16 PM To: Subject: Re: [Hibernate] New laziness rules On Apr 28, 2005, at 7:26 PM, Gavin King

[Hibernate] New laziness rules

2005-04-28 Thread Gavin King
As you guys probably know, I have been doing a lot of thinking about how to orthogonalize the notion of eager/lazy from the notion of fetch strategy (the actual SQL). And I want to do this in a way which allows a good implementation of EJB3 fetching contract, and remains reasonably compatib

RE: [Hibernate] connect by

2005-04-26 Thread Gavin King
cases, right? Gavin King wrote: > Should we support START WITH ... CONNECT BY in HQL (just for Oracle users)? > > It's trivial to implement I guess, what do you guys think? > -- Emmanuel Bernard [EMAIL PROTECTED] callto://emmanuelbernard http://

[Hibernate] connect by

2005-04-26 Thread Gavin King
Should we support START WITH … CONNECT BY in HQL (just for Oracle users)?   It’s trivial to implement I guess, what do you guys think?

RE: [Hibernate] Quoted schema names...

2005-04-26 Thread Gavin King
I don't think so. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Bernard Sent: Monday, 25 April 2005 1:58 AM To: hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] Quoted schema names... Didn't we have some trouble in 2.1.7 with a si

RE: [Hibernate] Just saw some commits from Steve...

2005-04-25 Thread Gavin King
Lots of bugfixes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Bauer Sent: Monday, 25 April 2005 9:58 AM To: Subject: Re: [Hibernate] Just saw some commits from Steve... Whats so important in 3.0.2? -

  1   2   3   4   5   6   7   8   9   >