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 resultSetMapping). Will do tomorrow.

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 fetching out there.
>
> Steve, do you have anything in the pipeline that should go in?
>





---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] 3.0.4

2005-05-16 Thread Gavin King
Steve was looking at that stuff, and I think we concluded it was not
rescuable. We should probably just undocument it.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Emmanuel Bernard
Sent: Monday, 16 May 2005 7:27 AM
To: hibernate-devel@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 fetching out there.
>
> Steve, do you have anything in the pipeline that should go in?
>





---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] 3.0.4

2005-05-16 Thread Scott M Stark
Correct. We can certainly extend the JACC service api to allow for
configuration and even custom permissions, but then you are deep into a
specific JACC provider and far from portable.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Steve Ebersole
> Sent: Monday, May 16, 2005 6:08 AM
> To: Emmanuel Bernard; hibernate-devel@lists.sourceforge.net
> Subject: RE: [Hibernate] 3.0.4
> 
> I am not sure what thing Gavin is mentioning when he says he 
> and Scott found an issue.  So this is based off an almost 2 
> month old discussion Scott and I had.
> 
> From my discussions with Scott, it was more an issue that 
> Hibernate attempting to configure the JACC provider itself 
> was simply a broken notion; that the configuration would 
> actually need to get done from within the container (JBoss) 
> JACC configuration.
> 
> The reasoning was that we could configure a certain JACC 
> context all-day long, but as we have no control over which 
> context is active during calls into EJBs we could never 
> guarantee that the context we configured is the one active 
> during resolution attempts.  The configuration happens during 
> Configuration.configure(), which in most cases is done 
> outside the scope of an EJB call.  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Emmanuel Bernard
> Sent: Monday, May 16, 2005 6:27 AM
> To: hibernate-devel@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 fetching out there.
> >
> > Steve, do you have anything in the pipeline that should go in?
> >
> 
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by Oracle Space Sweepstakes 
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> ___
> hibernate-devel mailing list
> hibernate-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> 
> 
> ---
> This SF.Net email is sponsored by Oracle Space Sweepstakes 
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick
> ___
> hibernate-devel mailing list
> hibernate-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> 


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] 3.0.4

2005-05-16 Thread Emmanuel Bernard
I need to add some stuffs in the core to enable createNAtiveQuery(String 
sql, String resultSetMapping). Will do tomorrow.

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 fetching out there.

Steve, do you have anything in the pipeline that should go in?


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] 3.0.4

2005-05-16 Thread Steve Ebersole
I am not sure what thing Gavin is mentioning when he says he and Scott
found an issue.  So this is based off an almost 2 month old discussion
Scott and I had.

>From my discussions with Scott, it was more an issue that Hibernate
attempting to configure the JACC provider itself was simply a broken
notion; that the configuration would actually need to get done from
within the container (JBoss) JACC configuration.

The reasoning was that we could configure a certain JACC context all-day
long, but as we have no control over which context is active during
calls into EJBs we could never guarantee that the context we configured
is the one active during resolution attempts.  The configuration happens
during Configuration.configure(), which in most cases is done outside
the scope of an EJB call.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Emmanuel Bernard
Sent: Monday, May 16, 2005 6:27 AM
To: hibernate-devel@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 fetching out there.
>
> Steve, do you have anything in the pipeline that should go in?
>





---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] 3.0.4

2005-05-16 Thread Steve Ebersole








Nothing that has to make 3.0.4.

 

My current focuses are to move forward
with the bulk statement support, some refactoring of the tuple stuff, and
improvements to the event stuff.

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gavin King
Sent: Monday, May 16, 2005 1:16 AM
To: hibernate-devel@lists.sourceforge.net
Subject: [Hibernate] 3.0.4



 

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?








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
Sent: Monday, 16 May 2005 2:02 AM
To: hibernate-devel@lists.sourceforge.net
Subject: [Hibernate] join fetching
multiple collection roles



 

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
obvious reasons).








[Hibernate] alias-mode

2005-05-16 Thread Max Rydahl Andersen
Hi guys,
I've just committed the basic support for alias-mode which
allows you to be very lazy regarding usage of native-sql queries.
Before you had to do this:


SELECT EMPLOYEE AS {emp.employee}, EMPLOYER AS {emp.employer},
STARTDATE AS {emp.startDate}, ENDDATE AS {emp.endDate},
REGIONCODE as {emp.regionCode}, EMPID AS {emp.id}
FROM EMPLOYMENT
WHERE EMPID = ?

Now you can do:


SELECT * FROM EMPLOYMENT WHERE EMPID = ?

I don't know if AliasMode is the right word for this, maybe UserAliasMode  
is better ?
Comments welcome.

TODO:
- remove need for specifying alias (only needed if you actually use the {}  
syntax
- add AliasMode and general property-return support for collection loading

/max

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] join fetching multiple collection roles

2005-05-16 Thread Max Rydahl Andersen
On Mon, 16 May 2005 08:01:39 +0200, Gavin King <[EMAIL PROTECTED]>  
wrote:

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
Nice.
so how is this realized...first one get joined and the remaining gets  
selected or ?

Just don't try to use this feature with bags (for obvious reasons).
I hate to ask - but what are the obvious reasons ? :)
/max

---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Re: alias-mode

2005-05-16 Thread Max Rydahl Andersen
I don't know if AliasMode is the right word for this, maybe  
UserAliasMode is better ?
Comments welcome.
Comments are also welcome on if "generated" and "mapped" is good name for
"Use hibernates generated and unique aliases" (the default) and "Use the  
column names as mapped in the mapping"

/max
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] 3.0.4

2005-05-16 Thread Emmanuel Bernard
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 fetching out there.

Steve, do you have anything in the pipeline that should go in?


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[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?