[Hibernate] Hibernate3 migration guide...

2005-01-17 Thread Max Rydahl Andersen
Hi guys,
Just saw http://www.hibernate.org/250.html and I tried to update it
to reflect the Interceptor.isUnsaved()/isTransient() rename, but
couldn't since i did not have permission to do so.
btw. by renaming to isTransient() and still having unsaved-value in the  
DTD,
isn't that kinda counter-intuitive ? should it not be transient-value  
then, or ?

p.s. I'm sending this mail "blindfolded" since i haven't been able to  
check mail for the
last 60-70 hours (some server malfunction) so bare with me if some info  
have come out
before this mail ,)

--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] defaut values for table hilo generator

2005-01-17 Thread Emmanuel Bernard
The doc says
table: hibernate_unique_key et column: next_hi

The code says
table: next_hi et column: next_hi

Any objection if I change the *code* value for H3?






Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] TypeFactory old-time bug ?

2005-01-17 Thread Max Rydahl Andersen
Hi guys,
Can it be true that TypeFactory should contain:
basics.put( byte[].class.getName(), Hibernate.BINARY);
and not
basics.put( "byte[]", Hibernate.BINARY);
The first one put in "B[]".
This is both in H2 and H3 (for ages).
Is there any usecase for the current put ?
(I can't think of any, but since this have been there
since beginning of time)
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] TypeFactory old-time bug ?

2005-01-17 Thread Gavin King
Its not a bug. It is very correct.
Max Rydahl Andersen wrote:
Hi guys,
Can it be true that TypeFactory should contain:
basics.put( byte[].class.getName(), Hibernate.BINARY);
and not
basics.put( "byte[]", Hibernate.BINARY);
The first one put in "B[]".
This is both in H2 and H3 (for ages).
Is there any usecase for the current put ?
(I can't think of any, but since this have been there
since beginning of time)

--
Gavin King
+61 410 534 454
+1 404 822 8349
callto://gavinking
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


RE: [Hibernate] TypeFactory old-time bug ?

2005-01-17 Thread Steve Ebersole
You would definitely need the first to properly handle introspected type
resolution.  

For the second, I think they would normally just put "binary" as the
type, but I would think an additional "byte[]" type mapping could not
hurt.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max
Rydahl Andersen
Sent: Monday, January 17, 2005 11:46 AM
To: Hibernate development
Subject: [Hibernate] TypeFactory old-time bug ?

Hi guys,

Can it be true that TypeFactory should contain:

basics.put( byte[].class.getName(), Hibernate.BINARY);

and not

basics.put( "byte[]", Hibernate.BINARY);

The first one put in "B[]".

This is both in H2 and H3 (for ages).
Is there any usecase for the current put ?

(I can't think of any, but since this have been there
since beginning of time)

-- 
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] TypeFactory old-time bug ?

2005-01-17 Thread Max Rydahl Andersen
Hi,
You would definitely need the first to properly handle introspected type
resolution.
Ok - i just weren't sure it was used since i couldn't make typename contain
the introspected class name.
For the second, I think they would normally just put "binary" as the
type, but I would think an additional "byte[]" type mapping could not
hurt.
well - i thought the same and is running with it now. will commit it as  
such in H3.

/max
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max
Rydahl Andersen
Sent: Monday, January 17, 2005 11:46 AM
To: Hibernate development
Subject: [Hibernate] TypeFactory old-time bug ?
Hi guys,
Can it be true that TypeFactory should contain:
basics.put( byte[].class.getName(), Hibernate.BINARY);
and not
basics.put( "byte[]", Hibernate.BINARY);
The first one put in "B[]".
This is both in H2 and H3 (for ages).
Is there any usecase for the current put ?
(I can't think of any, but since this have been there
since beginning of time)

--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel