Re: [Hibernate] Hibernate File storing into database

2006-07-29 Thread Christian Bauer

On Jul 28, 2006, at 2:08 PM, savvy wrote:

 View this message in context: Hibernate File storing into database
 Sent from the Hibernate forum at Nabble.com.

Can anybody take a second and tell these guys to take this down? We  
don't want a web frontend for the dev mailinglist.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Contributor for tools template

2006-06-19 Thread Christian Bauer
A Freemarker template for Hibernate Tools that can generate DBUnit  
ReplacementDataSet XML descriptors would probably be very useful to  
many people. Is there anybody interested in contributing such a thing?



___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] How to inquire an entity name?

2006-06-14 Thread Christian Bauer

On Jun 13, 2006, at 6:24 PM, Yaroslav Gaydash wrote:

 How can I inquire about entity name for the given object instance  
 without
 having load the whole object? I could retrieve the given object  
 instance
 class discriminator value with the HQL-query but how can I get the
 discriminator-to-Class mapping from the Hibernate configuration?

http://forum.hibernate.org

And you need to register with a different e-mail address, all of  
mail.ru is banned for spamming.



___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Fetch profiles

2006-06-12 Thread Christian Bauer

On May 28, 2006, at 10:50 PM, Max Rydahl Andersen wrote:

 And I guess you really want it disjunct from the mapping and not  
 just where the assocation is already defined ?

 class name=User
   ...
   set name=rules fetch=select
...
profile name=login fetch=join/
   /set

   set name=orders
 ...
 profile name=orders fetch=select/
   /set
 /class

 Where the name could actually be comma seperated.

 Note that this construct doesn't prevent still having a
 profile name=login as a way to declare the association fetching
 independent on the declaration and of course the shared things.

In addition to these fetch profiles, how difficult would it be to  
expose dynamic cascading profiles? We discussed this several times in  
the past. IMO this has also been requested a few times and I've seen  
good use cases in real projects.



___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] questions regarding development setup

2006-06-09 Thread Christian Bauer

On Jun 9, 2006, at 6:07 PM, Szczepan Faber wrote:

 Whatever you say, the failing tests / unreasonable test packaging  
 just impact the project credibility.

This is the most bizarre thing I've heard in quite a while...


___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] questions regarding development setup

2006-06-08 Thread Christian Bauer

On Jun 9, 2006, at 12:00 AM, Szczepan Faber wrote:

 Don't you have a refactoring plan to remove test subpackage?

No, we don't. Really, tests in a test package are not surprising at all.



___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Plan for a full text search facility built on top of Hibernate Lucene annotations

2006-06-01 Thread Christian Bauer

On Jun 1, 2006, at 12:31 PM, Sylvain Vieujot wrote:

 CompassHits hits = queryBuilder.bool() .addMust( queryBuilder.term 
 (name, jack) ) .addMustNot( queryBuilder.term(familyName,  
 london) ) .toQuery() .addSort(familyName,  
 CompassQuery.SortPropertyType.STRING) .addSort(birthdate,  
 CompassQuery.SortPropertyType.INT) .hits();

(Note: Compass is a fork of the Hibernate codebase)

This looks to me like a new Criterion implementation, the rest is  
regular Criteria API.



___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


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

2006-05-29 Thread Christian Bauer


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 to our Wiki.


If we start this, it will never end. I have *count* 10 Hibernate  
books on my shelf and I'd could come up with examples of mistakes in  
8 of them that are even worse than the ones you found. I don't think  
we should provide free editing services for publishers who hired the  
wrong tech editors. At least I don't have time to do this...




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] FlushMode.NEVER to MANUAL

2006-05-27 Thread Christian Bauer
Can we rename FlushMode.NEVER to FlushMode.MANUAL in Hibernate 3.2?  
It is not only a better name, but likely the name that we can propose  
to the Glassfish team for a common EM flush mode.




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] FlushMode.NEVER to MANUAL

2006-05-27 Thread Christian Bauer


On May 27, 2006, at 8:48 PM, Max Rydahl Andersen wrote:


+1 if we are sure MANUAL is the actual name to be used...


Emmanuel, can you reach out to the Glassfish team and get their  
opinion? If we need a discussion as to why this is required, I can  
provide input. In a private exchange with Linda about our new book  
she also mentioned FlushMode.APPLICATION and that the persistence  
context would be application managed, just like EM's. Which is also  
fine... same thing.




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Status TimesTen

2006-04-13 Thread Christian Bauer


On Apr 12, 2006, at 4:59 PM, Max Rydahl Andersen wrote:


## TimesTen (not supported yet)

#hibernate.dialect org.hibernate.dialect.TimesTenDialect
#hibernate.connection.driver_class com.timesten.jdbc.TimesTenDriver
#hibernate.connection.url jdbc:timesten:direct:test
#hibernate.connection.username
#hibernate.connection.password

Is it or not?


It is. i think that is just someone that have overwritten the  
hibernate.properties at some point in time.


My SVN access has issues, please someone remove that line in both  
branches. Thanks



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] German reference documentation

2006-03-25 Thread Christian Bauer


On Mar 25, 2006, at 2:00 AM, Gruber, Christian wrote:


what is the status of the German translation?
The last number I read was 70%.
Can I do the missing 30%?


The last work on the German translation was done in 2004 so it is  
only for Hibernate2. I don't know how much exactly was completed. It  
would have to be ported to Hibernate3 first, something that is not  
too difficult, but requires some hours of work. Then the missing  
sections can be translated. If you are interested in doing this, send  
me a private email and I'll show you the procedure.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Hi

2006-03-24 Thread Christian Bauer


On Mar 24, 2006, at 2:30 PM, hamed shayan wrote:


Please check the following code:
http://www.hshayan.com/hibernate


Don't bother, it's just a dump of his project that he hopes somebody  
here would debug. Mr. Hamed Shayan, you want to go to http:// 
forum.hibernate.org/




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Fwd: [Hibernate] Hibernate 3.1 final released

2006-03-22 Thread Christian Bauer
This was somehow lost in the SVN migration, somebody with a branch_31  
checkout, please activate the zh-cn translation.


Begin forwarded message:


From: Xiaogang Cao [EMAIL PROTECTED]
Date: March 21, 2006 1:49:21 AM GMT+01:00
To: Christian Bauer [EMAIL PROTECTED]
Subject: Re: [Hibernate] Hibernate 3.1 final released

I just downloaded 3.1.3, but the chinese document is stil  
missing  only 'en', 'kr','fr' avaliable.


Would you please double check?

Xiaogang Cao.

- Original Message - From: Christian Bauer  
[EMAIL PROTECTED]

To: Xiaogang Cao [EMAIL PROTECTED]
Sent: Thursday, February 23, 2006 5:35 PM
Subject: Re: [Hibernate] Hibernate 3.1 final released




On Feb 23, 2006, at 3:23 AM, Xiaogang Cao wrote:

Hi, I still saw 2.1.6 version of Chinese reference in the   
hibernate.org website, instead of the  latest 3.1.2 version?


Oops, it seems like we missed to remove the comment on the zh-cn  
translation in the build.xml, I've fixed this now. So it will be   
included in the update of the website next time, for 3.1.3 -  
which  should happen quite soon.






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] @Fetch

2006-03-12 Thread Christian Bauer


On Mar 13, 2006, at 8:39 AM, Max Rydahl Andersen wrote:


or at least have very good error messages thrown from
the annotation builder.


That should be OK, we never know when other @Fetch options might  
become available for collections, etc.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: AW: [Hibernate] bug or feature: oracle deadlock due to missing foreign key index

2006-03-07 Thread Christian Bauer


On Mar 7, 2006, at 7:41 PM, Woelke, Milan wrote:

This could work, if i were using hbm files. but as i told im using  
hibernate as ejb 3 persistence provider. Im not aware of any way to  
specify this with ejb3 annotations. Could you please reconsider  
your answer.


Please go to the forum, this is a developer list, not a support  
channel. If you require personal attention from a Hibernate expert,  
consider our commercial support offerings.


(And yes, Hibernate Annotations include @Index, which you would have  
found if you read the documentation.)




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] jbosscache.jar

2006-02-10 Thread Christian Bauer

I think the jbosscache.jar in Hibernate3/lib/ is outdated:

compile:
[javac] Compiling 104 source files to /Users/turin/work/remote/ 
hibernate/Hibernate3/build/classes
[javac] /Users/turin/work/remote/hibernate/Hibernate3/src/org/ 
hibernate/cache/OptimisticTreeCache.java:14: package  
org.jboss.cache.optimistic does not exist




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Release naming conventions

2006-02-07 Thread Christian Bauer
JBoss finalized some naming conventions for release packages, and  
both Hibernate and NHibernate packages should follow these  
conventions. The benefit of this is stability and the ability to  
compare packages. As far as I can see, nothing much changes for  
Hibernate except that some of the confusion in the past around alpha/ 
beta/rc releases is avoided.


http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Release naming conventions

2006-02-07 Thread Christian Bauer


On Feb 7, 2006, at 6:51 PM, Steve Ebersole wrote:


Yes, I plan to start using these conventions starting with 3.2.

I'm not a big fan of all minor releases needing to append '.ga' (i.e.
3.1.3.ga.jar).  I really wish there was a way to define ordering  
amongst

qualifiers.


AFAIK these conventions are for package names and not necessarily  
library names?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Enabled Edit in forums

2006-01-26 Thread Christian Bauer
I've just enabled the Edit function for all forum users, so they can 
change their own postings. I get too many private emails from people who 
 want to do that, so we might as well enable this.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Custom entityresolver for EM

2006-01-02 Thread Christian Bauer
The only way to set a custom EntityResolver is the Configuration API.  
Max already added an option to the Ant task and tools. Now I need the  
same for EntityManager. Should we add it as a regular Hibernate  
configuration option or only as an additional EM bootstrap property?




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] New DBMS 'H2'

2005-12-19 Thread Christian Bauer

Thomas Mueller wrote:

Hi,

I just wanted to let you know, I wrote a new free/open source Java database
engine 'H2' (for Hypersonic 2), it's now available at
http://www.h2database.com. The database has similar features as HSQLDB, plus
some more (clustering, a better optimizer, faster startup, BLOB/CLOB, large
resultset, updatable cursors...). Maybe some of you don't have anything to


What's the point in creating a Java RDBMS that does not support Java 
datatypes or Java stored procedures?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Timeout for tests

2005-11-28 Thread Christian Bauer

Ryan Campbell wrote:

Can there be a timeout for the tests?  I'm seeing tests hang against
different databases.  If there was a timeout for the junit tests, these
hanging tests would be reported as failures.

I ran the tests on MySQL, and the longest one was 255 seconds, so
perhaps 500 seconds is long enough?


Is that only one test, if yes, which one? I remember one of them running 
between 20-30 seconds but 4 minutes seems to be a real exception.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Timeout for tests

2005-11-28 Thread Christian Bauer

Ryan Campbell wrote:

There were at least two which were taking  200 seconds.  I have lost
the results I used to give you this total. 


The mysql and oracle runs are taking about 20 minutes each (total).
timesten is taking about an hour.  SQL server (jtds) and Sybase
(jconnect) are both timing out completely because they fail to complete
in under 3 hours.  This could be a config problem


This is definitely a configuration problem. I can run all if these on my 
local machine in a matter of minutes.




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Happy Birthday

2005-11-24 Thread Christian Bauer

Registered : 2001-11-24 20:16

:)



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Flush behavior

2005-11-21 Thread Christian Bauer


On Nov 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.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Flush behavior

2005-11-21 Thread Christian Bauer


On Nov 21, 2005, at 2:14 PM, Gavin King wrote:


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.


Why?



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Flush behavior

2005-11-21 Thread Christian Bauer


On Nov 21, 2005, at 2:46 PM, Christian Bauer wrote:


Why?


Ok, so I'm trying to come up with a paragraph that explains this for  
the documentation:


Note that if you use cascade=persist, Hibernate will only cascade  
the persistent state to associated entities reachable at call time.  
If more transient entities are associated with already persistent  
instances, they will not become persistent, unless you also use the  
save-update option, cascade=persist, save-update. Hibernate then  
cascades the persistent state at flush time to all reachable entity  
instances, if save-update is enabled for an association.


Correct?



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Flush behavior

2005-11-20 Thread Christian Bauer

http://opensource.atlassian.com/projects/hibernate/browse/HHH-1181


They should be synchronized, if we have the same methods on Session  
and on EM, they should do the same.




---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Flush behavior

2005-11-20 Thread Christian Bauer


On Nov 20, 2005, at 6:48 PM, Gavin King wrote:


Hibernate cascades the saveOrUpdate() operation, EJB3 cascades the
persist() operation.

They should and are quite different.


But why are persist (and possibly merge) only cascaded at call time  
and not at flush time, if I use the Session API? I think no other  
operation has that behavior and if I read the spec correctly, it also  
doesn't happen in EJB3. 



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Provision of source-only downloads for releases

2005-11-18 Thread Christian Bauer


On Nov 18, 2005, at 9:27 PM, Barry Hawkins wrote:

Have there been logistical issues in the past which have prevented  
this?
 This is very desirable for the Linux distributions packaging  
Hibernate.


Why would a Linux distribution not be able to package the binary plus  
the source?



---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


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

2005-11-18 Thread Christian Bauer


On Nov 18, 2005, at 11:11 PM, Leonardo Quijano Vincenzi wrote:

Yes, every report in JIRA deserves personalized response from the  
Hibernate Team. Not for support, but for giving it at least  
consideration!


Wrong, that's what the developer list is for.

I'd like to see the opinion of other Hibernate Team members about  
this, too. I offered a patch so its just a matter of thinking if  
the improvement is useful or not, and reviewing it later.


You should discuss it here and not post it to JIRA. If the response  
is negative there is no reason to post it to JIRA.




---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Wrapping FETCH results in set

2005-11-07 Thread Christian Bauer
I'd like to bring up something we hesitated to change so far, but we / 
could/ consider in H 3.1 final:


Wrapping FETCH query results in a HashSet before returning it, for  
the case of a single-entity projection. We already need a small  
migration guide for the new defined auto commit connection behavior,  
so this might be a good chance.




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


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

2005-10-20 Thread Christian Bauer


On Oct 20, 2005, at 4:58 PM, [EMAIL PROTECTED] wrote:

Hi,Are there any plans for a thai translation of Reference Manual  
for Hibernate 3.x ?.This is a good user manual for general  
developer to learning.

Can I help you in the translation process? Please tell me.


No plans, any help is welcome. You need to know CVS to get a checkout  
of the Hibernate3/ module, you need a text editor that supports XML  
auto-completion (JEdit, for example), and you need a lot of free  
time :) Check the /doc/reference/readme.txt file once you have the  
checkout and ask me directly if you have any further questions.




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] net.sf.hibernate.type.SerializationException: cou ld not deseriali ze

2005-10-19 Thread Christian Bauer

Ramnish Kalsi wrote:

Sorry, should have been more descriptive...


Please continue this discussion here: http://forum.hibernate.org/


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] NHibernate joins Hibernate at JBoss Inc.

2005-10-16 Thread Christian Bauer
NHibernate is a port of Hibernate 2.1 to the .NET platform. After  
several years of development it is now available in version 1.0, as  
free software under the LGPL. The port to C# was started by Tom  
Barrett, and later picked up by Mike Doerfler and Peter Smulovics.


Sergey Koshcheyev, the main developer of NHibernate, finished version  
1.0 in the past months. JBoss Inc. has hired Sergey to join the  
Hibernate team and to work full-time on future versions of NHibernate.


The Hibernate and NHibernate projects will share infrastructure once  
the migration is completed. We plan to merge user forums and  
websites, and further work on shared documentation is already on our  
list. The teams are also discussing possible strategies for a port of  
the Hibernate3 software to .NET and C#, so stay tuned.



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] ThreadLocalSessionContext javadoc inconsistency

2005-10-03 Thread Christian Bauer

Steve Ebersole wrote:

Ah yes!  Forgot that it already knows about the SF to which it is bound
via its constructor.  So really the only changes needed here is to the
static portion of ThreadLocalSessionContext.

Well, it's a trivial implementation.  We should either include it or at
the very least post it to the Wiki.  If we add it to the distro, then at
least I'd have more then 3 things in that new package :)  I could even
refactor the Synchronization into a top-level class; then I'd have 5
things in that package :))


Make it so :) Btw, I'd like to change the Session.getTransaction() 
method to return null if no transaction is going on. Otherwise we really 
don't have a way to test if the Session has a transaction. I'd like to 
do session.getTransaction().commit() in an interceptor without starting 
one. So either getTransaction() has to return null or we need a 
session.hasTransaction().



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Re: sf.net / jira mail issue ?

2005-10-02 Thread Christian Bauer


On Oct 1, 2005, at 7:32 PM, Max Rydahl Andersen wrote:



Am I the only one not getting any jira mails and only some  
hibernate-devel mails ?


This time its not the JIRA internal queue...


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Hibernate and SQL Requests

2005-09-30 Thread Christian Bauer

Gaet wrote:

Hello,

I'm new to hibernate and before to test it I have some questions about
technical features :


So go to the user forum.



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] JIRA notification?

2005-09-26 Thread Christian Bauer
Does anybody know whats going on with the JIRA issue notification  
emails?




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:05 PM, Max Rydahl Andersen wrote:


Currently we have the following tools in the ant/eclipse toolset:

hbm2java
hbm2ddl
hbm2doc
hbm2dao
cfg2cfgxml
cfg2hbm

I would like those names to be consistent, but what is the better  
name ?


hbm2whatever (the legacy name, and based on the idea that you  
take hbm.xml files and transform them which is not true anymore  
where the input can be a database, hbm.xml and annotations)


or

cfg2whatever (the more technically correct name, but probably  
doesnt ring-a-bell when people hear/see it)


I want to have it renamed (if at all) before the next release to be  
able to freeze the api.


I'm leaning to change it to hbm2whatever for consistency and  
recognization value, but not sure...


any input welcome ;)


The names are fine. You won't find a better schema for so many  
different things. In fact, the only thing we have to change, and I've  
done that for a while now, is to tell users that hbm does not mean  
Hibernate mapping file, but hibernate metadata or hibernate  
metamodel.




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:22 PM, Max Rydahl Andersen wrote:

But should we change cfg2cfgxml and cfg2hbm to hbm2cfgxml and  
hbm2hbm  then ?


But thats not what it does, right? schema2cfgxml and schema2hbm would  
probably work.




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:35 PM, Max Rydahl Andersen wrote:

No it is exactly what it does. It takes hibernate metamodel (the  
configuration) and

generates a set of cfg.xml and hbm.xml.


So use hbm2cfgxml and hbm2xml.



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] HiLo with JTA

2005-09-17 Thread Christian Bauer

This is no longer needed, right?

http://www.hibernate.org/47.html



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Transaction options

2005-09-01 Thread Christian Bauer

Two things I realized recently:

1. Long Session and getCurrentSession() doesn't work. Can probably be  
solved by extending/providing a custom factory that doesn't open/ 
close on synchronization, but disconnect and reconnect. Users choice  
since we can't enforce a close() and we should always do that.


2. OSIV with EJBs: I think BMT with a servlet filter +  
getCurrentSession() should work, if I'd have a custom factory that  
doesn't flush/close. This would avoid the ThreadLocal issues with  
EJBs. Don't know if this is a real problem since everybody seems to  
be happy with ThreadLocals in EJB containers. It's not good though.


Does anybody want to have a look into that and write/test custom  
transaction factories? The 1. could be a good Wiki page, the 2. could  
probably even be included.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Transaction options

2005-09-01 Thread Christian Bauer


On Sep 1, 2005, at 11:21 PM, Christian Bauer wrote:

There is no problem without EJBs, it's in fact very trivial three- 
line code. What I described is a problem _with_ EJBs, container- 
managed transactions, and a Long Session pattern.


And to make this very clear: The problem is a problem of convenience,  
using the getCurrentSession() functionality instead of maintaining a  
Session yourself in a (not very appropriate) ThreadLocal or  
(proprietary) TransactionLocal for the duration of the JTA transaction.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Transaction options

2005-09-01 Thread Christian Bauer


On Sep 1, 2005, at 10:58 PM, Justen Stepka wrote:

This might include a HibernateHelper class similar to Hibernate in  
Action
along with some type of session in view filter. Even if this does  
not make
it into the source code, this clearly is a section that could be  
added to

the documentation: web-tier best practices or something.


http://www.hibernate.org/42.html
http://www.hibernate.org/43.html



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate Tools 3.1 alpha 5

2005-08-22 Thread Christian Bauer
The 3.1 alpha 5 release of the Hibernate Tools for Eclipse and Ant  
features new views in the query console (dynamic SQL preview, class  
diagrams), HQL syntax coloring, formatting, and code completion, as  
well as many other improvements to wizards, templates, and code  
generators. See the complete list with screenshots for more information.


http://www.hibernate.org/hib_docs/tools/newandnoteworthy/hibernate- 
eclipse-news-3.1.0.alpha5.html



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Ready for release?

2005-08-16 Thread Christian Bauer
Everything ready for 3.1 beta 2? I'd like to build the release later  
today.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Generate 1 language

2005-08-15 Thread Christian Bauer


On Aug 15, 2005, at 10:59 AM, Emmanuel Bernard wrote:


cd ./doc
ant -language=ko single.lang
  = Korean
ant single.lang
  = English


Use this:

!--
   To build the reference docs for a particular language only, use - 
Dlang=en, for
   example, and call either lang.all, lang.docpdf, lang.dochtml, or  
lang.dochtmlsingle

   for the target of your choice.
--
project name=ReferenceDocumentation default=all.doc basedir=.



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] RE: testing question

2005-08-09 Thread Christian Bauer


On Aug 9, 2005, at 3:36 PM, Steve Ebersole wrote:


Why a name, though?  I was not planning on allowing lookup of these
things as I don't see a benefit of allowing it.  Do you see a  
benefit to

it?  Hard to explain a configuration necessity that has no purpose...


Not at the moment but I'm somewhat certain that a good example will  
present itself at some point :)




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Why is cglib three JARs?

2005-08-09 Thread Christian Bauer


On Aug 9, 2005, at 1:49 AM, Emmanuel Bernard wrote:


Because the cglib-nodep is buggy.


And that can't be fixed?


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Why is cglib three JARs?

2005-08-08 Thread Christian Bauer
I didn't really understand that change. Why do we have several JARs  
now for CGLIB and why can't we have a single one?




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] RE: testing question

2005-08-08 Thread Christian Bauer


On Aug 8, 2005, at 8:48 PM, Steve Ebersole wrote:


If anyone wants different name(s), speak now or forever hold your
peace...


I think it should have a name= attribute so we keep a consistent  
catalog in the Configuration.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] findOne findOneOrNone suggestion

2005-08-03 Thread Christian Bauer


On Aug 3, 2005, at 5:02 PM, Joris Verschoor wrote:

I've created a report (http://opensource.atlassian.com/projects/ 
hibernate/browse/HHH-820) and I'm creating the patch, which will be  
there in a couple of minutes if sourceforge works


As already said on JIRA, Query.uniqueResult() exists and is documented. 



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] commons logging

2005-07-27 Thread Christian Bauer

I was recently informed of this thread about memory leaks occurring on
undeploy with hibernate and saw a fair bit of criticism on
commons-logging.



Btw, it would be great if someone could look into replacing commons  
logging with Log4j and providing a JDK 1.4 appender for Log4j.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] commons logging

2005-07-27 Thread Christian Bauer


On Jul 27, 2005, at 2:11 PM, Simon Kitching wrote:

Did you read the page I wrote? It's saying that provided that  
hibernate

and/or the container (eg jboss) uses commons-logging correctly there's
no need to move away from it. [1]


I personally don't care about what you wrote... sorry. We are always  
trying to reduce dependencies in Hibernate and we actually discussed  
exactly what I mentioned over a year ago. It's just that nobody had  
time to look into it. Nothing to do with memory leaks or anything.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate CRUD applications

2005-07-26 Thread Christian Bauer

Another piece of the puzzle, if anybody is interested in taking it:

http://forum.hibernate.org/viewtopic.php?t=945552



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Refresh After saveOrUpdate

2005-06-30 Thread Christian Bauer


On Jun 30, 2005, at 7:02 PM, Jason Voegele wrote:


Does anyone have any insight into this problem?


Why do you think the developer mailing list is the right place to ask  
usage questions when everything on our website tells you not to do so?




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] JDK 5.0 needed 3.1 alpha

2005-06-29 Thread Christian Bauer
I compiled it without the 1.4 compatibility switch, on purpose.  
Nobody should use it except for EJB3 previews. This effectively  
avoids people updating to it without a good reason and then reporting  
problems. It's time for that when we label it beta.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Preview: Hibernate EntityManager and Hibernate Annotations

2005-06-24 Thread Christian Bauer
This first preview release of Hibernate EntityManager implements the  
EJB3 persistence API, entity lifecycle, and query features on top of  
the Hibernate core. Together with Hibernate Annotations you can now  
preview and develop on a complete (and standalone) EJB3 persistence  
solution. Use the JBoss EJB3 Preview if you need a full EJB3  
container with enterprise services - Hibernate persistence is included.


Both Hibernate EntityManager and Hibernate Annotations require  
Hibernate 3.1 and JDK 5.0. If you are not using EJB3 persistence,  
please continue using Hibernate 3.0.x (with any JDK supported).  
Please use our forum for questions and feedback.


http://entitymanager.hibernate.org/
http://annotations.hibernate.org/
http://www.jboss.org/products/ejb3



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Mixing column and formula

2005-06-16 Thread Christian Bauer


On Jun 16, 2005, at 8:31 PM, Emmanuel Bernard wrote:

This complexify the annotations (user experience, not the binding  
code), so I'm wondering whether I should allow this kind of  
structure or not.


Also check: http://opensource.atlassian.com/projects/hibernate/browse/ 
HHH-539


Yep, used it recently for a customer who had a composite primary key  
with some fields also part of a composite foreign key (would need  
duplicate column mapping):


set name=feeAssociations lazy=true cascade=none table=RP_FEE
key
column name=RP_ID /
column name=PROP_ID /
/key

composite-element class=FeeAssociation
many-to-one name=feeElement class=com.test.FeeElement
column name=FEE_ID/
formulaPROD_ID/formula
/many-to-one
property name=feeInclusiveSetting column=FEE_INCL_CD /
/composite-element

/set

It's used as a literal join condition.



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Wanted: Documentation maintainer

2005-06-14 Thread Christian Bauer
The Hibernate team is looking for a new member to help with the  
documentation process. This is mostly a maintenance and coordination  
job.


Responsibilities include:

- Organization of the Wiki Community Area on the hibernate.org website
- Coordination of the translator team (15 writers from all over the  
world)

- Working on the DocBook documentation build process
- Helping developers to write consistent docs
- Proof-reading and correction of English (master) documentation

This is good opportunity if you want to get more familiar with  
Hibernate and if you plan to study the documentation in detail.  
However, English should be your native language.


If you are interested in joining a successful open source project,  
drop me an email.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate Tools 3.0 alpha 4

2005-06-08 Thread Christian Bauer
The new updated version of the Hibernate Tools project includes  
significant updates to the Eclipse editors, plugings, and wizards, as  
well as a unified and convenient Ant task for integration of the  
tools in your regular builds. See the What's New overview or download  
directly.


http://www.hibernate.org/hib_docs/tools/newandnoteworthy/hibernate- 
eclipse-news-3.0.0.alpha4.html


http://sourceforge.net/project/showfiles.php? 
group_id=40712package_id=141977





---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Datagen

2005-06-02 Thread Christian Bauer
We have been talking about test data generation for a while. Here is  
what I have in JIRA:


http://opensource.atlassian.com/projects/hibernate/secure/ 
IssueNavigator.jspa?mode=hiderequestId=10410


I've also added this to http://www.hibernate.org/Projects/ 
HowToBuildAndContributeToTools - the overall effort is related to the  
Hibernate Tools project.





---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate Annotations beta 2

2005-05-27 Thread Christian Bauer
This new release, beta 2, is now compatible with the latest Hibernate  
core version. We have also added support for mapping of indexed  
collections (lists, arrays), externalized native SQL queries, and  
more improved Hibernate functionality. The new validator framework  
can be used for declarative data (input) validation in your domain  
model.





---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] forum admins: urgent - password exposure

2005-05-27 Thread Christian Bauer

Kevin Bowen wrote:

Hello,
I need to talk to someone with admin privileges on the hibernate forums
ASAP - I accidentally posted a log excerpt which included an unmasked
password, and the forums don't seem to have message editing or deleting
enabled for users.


Done, deleted



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Improving releases

2005-05-22 Thread Christian Bauer
A major pain when packaging releases has always been the changelog.  
I'd like to use JIRA's built-in feature. That means we all have to do  
two things:


- create a JIRA entry if its going to be non-minor (ie. changelog  
entry needed) change

- your HHH-* commit log message will be used as the changelog message

I hope we can use a script in the future to get this out  
automatically and finally have automated builds with up-to-date content.


http://opensource.atlassian.com/projects/hibernate/secure/ 
ReleaseNote.jspa? 
version=10320styleName=TextprojectId=10031Create=Create


I'm trying to package 3.0.4 and we are almost able to do this  
automatically.



---
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=7412alloc_id=16344op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0.4

2005-05-22 Thread Christian Bauer
Get the updated Hibernate 3.0.4. Included is a Chinese reference  
documentation translation (thanks to Xiaogang Cao and team), the  
ability to fetch several parallel collection roles in one query (read  
the caveats), as well various other minor improvements.



---
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=7412alloc_id=16344op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Why three?

2005-05-19 Thread Christian Bauer
On May 19, 2005, at 2:53 PM, Max Rydahl Andersen wrote:
If we want a foolproof installation then maybe a hibernate- 
alldepends.jar wouldn't be so bad ?
Only if we repackage... and I don't want to go down that road
I had a question earlier about removing commonscollections, but  
noone answered so I couldn't just
remove it.
Just do until someone complains :)

---
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=7412alloc_id=16344op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Why three?

2005-05-19 Thread Christian Bauer
On May 19, 2005, at 4:27 PM, Emmanuel Bernard wrote:
-1 esp the optional stuff in a separate zip
I do like having everything in 1 shot when I dl a lib.
Yes, and not forcing people to download docs would be disastrous...

---
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=7412alloc_id=16344op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0.3

2005-05-08 Thread Christian Bauer
This release includes better alignment with EJB3 fetching behavior,  
new JDBC handling options, various bugfixes, and a new tutorial.


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] New laziness rules

2005-05-02 Thread Christian Bauer
On May 3, 2005, at 1:31 AM, Gavin King wrote:
There's nothing wrong with fetch=join lazy=true if you want
flexibility.
I hate explaining this already...

---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0.2

2005-04-27 Thread Christian Bauer
This maintenance release includes bugfixes and new features, see 
release notes and changelog.

https://sourceforge.net/project/shownotes.php?release_id=323540

---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


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

2005-04-25 Thread Christian Bauer
On Apr 25, 2005, at 6:54 PM, Gavin King wrote:
does that mean we can do 3.0.2 tonight / tomorrow?
Whats so important in 3.0.2?

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] 3.0.2

2005-04-23 Thread Christian Bauer
On Apr 23, 2005, at 7:54 AM, Gavin King wrote:
Are we good for a 3.0.2 release this weekend?
Nope, have to finish new tutorial.

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0.1

2005-04-17 Thread Christian Bauer
Hibernate 3.0.1 fixes minor issues and introduces interesting new HQL 
features (expressions in aggregation functions, various new projection 
options) as well as seamless J2EE/JTA container integration of 
Hibernate Sessions.


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] XDoclet 3.0 DTD generation for Configuration and Hibernate sub tasks

2005-04-03 Thread Christian Bauer
On Apr 3, 2005, at 12:39 PM, dchannon wrote:
  I have just commited changes to XDoclet (1.3 snapshot) to allow 
version 3.0 to be set and the approrpiate DTDs get generated. In 
addition, there is now a version attribute for the configuration as 
well. This should allow many of the existing XDoclet users atleast get 
started with Hibernate 3.0 now that final is out. Further more 
specific hibernate 3.0 changes/enhancements will be made as 
appropriate (and as requested).
When is 1.3 due for release?
--
Christian Bauer
Hibernate JBoss Inc.
[EMAIL PROTECTED]   [EMAIL PROTECTED]
http://hibernate.org  http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0 final

2005-03-31 Thread Christian Bauer
Hibernate 3.0 has been released today and contains minor fixes and new 
functionality (two new database dialects).

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com 


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Issues with the antlr parser

2005-03-17 Thread Christian Bauer
Tobias Järlund wrote:
2. From what I can tell the older syntax (from foo in class bar.Foo) is 
not supported. If this is by design, I think it would be a good idea to 
mention this in the upgrade notes, and update the documentation (it is 
still used in at least two places).
Done
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Hibernate x External Changes

2005-03-06 Thread Christian Bauer
Glauber Andrade wrote:
How do I configure the Hibernate to recognize all changes done by external
events (refresh) ?
Post on the user forum only, please.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] EhCacheProvider class

2005-03-04 Thread Christian Bauer
Jeevak Kasarkod wrote:
I downloaded the release version of Hibernate 3.0 rc1. The 
EhCacheProvider does an import on net.sf.ehcache.CacheManager and 
attempts to catch net.sf.ehcache.CacheException.

I could not locate the net.sf.ehchache package in the source.
Please let me know if something maybe wrong at my end.
It's part of EHCache, there is JAR file in the lib/ directory. Please 
use the user forum in the future if you have Hibernate usage questions. 
Also read the documentation, first chapter.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] CVS Tag for 2.1.8

2005-02-28 Thread Christian Bauer
David Lloyd wrote:
Looks like there's no v2108 tag in CVS.  Was this intentional?

Also, the doc/reference/en/master.xml file says 2.1.7 in CVS head.
Fixed both
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Forum problem

2005-02-28 Thread Christian Bauer
Jenica Humphreys wrote:
It appears that if you use the Search in the hibernate forum you then 
can't open a message in the result set.  The following error is shown:

*Fatal error*: Call to undefined function: phpbb_rtrim() in 
*/var/www/vhosts/forum.hibernate.org/htdocs/viewtopic.php* on line *498
Fixed
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Nightly build/test, with Clover analysis

2005-02-21 Thread Christian Bauer
On Feb 21, 2005, at 3:42 AM, Joshua Davis wrote:
I've got a minimally working nightly build running on my Linux box, 
the results should be publised to a directory at the following URL:
http://shrubbery.mynetgear.net/hibernate
 
This build gets the latest code from CVS, builds it using clover and 
runs the unit tests with the AST Query Translator turned on with an 
HSQLDB database.   There's a cron job that should launch a build at 
3am EST every day.
We can run this on JBoss servers if you can package it up.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Translating documentation

2005-02-16 Thread Christian Bauer
Patrícia Lopes Regina wrote:
I would like to translate the documentation in my language (Portuguese - Brazil)
Please contact Bernardo Erlancher [EMAIL PROTECTED], he is 
currently working on this translation.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Some Wiki and Forum Suggestions

2005-02-14 Thread Christian Bauer
Michael Gloegl wrote:
In the Wiki, the Cowiki text formating rules under the edit box is no 
longer pointing to the correct URL - it currently is 
http://www.develnet.org/95.html but should be http://cowiki.org/104.html
Done
Also in the forum, could we perhaps somehow mark the developers of 
projects we (directly or indirectly) depend on? For example give guys 
like Alin or the Proxool and cglib guys a special tag like jDTS 
developer? I think there is something like this in phpBB as far as I 
know. What do you think of that?
If they tell me their project and nickname, sure.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Re: API name changes

2005-02-14 Thread Christian Bauer
Christian Bauer wrote:
Starting with H3, we recommend the new EJB3-style operations create() 
and merge().

We still have our old methods: save(), update(), saveOrUpdate(), with 
slightly different semantics. What do you think about save(), attach(), 
saveOrAttach()? It might be too much code to change, but this is really 
our last chance to fix it and to help people think in object states, not 
SQL statements (something I repeat about 10 times during a Hibernate 
training).
Again, I repeat this question. It's critical for our docs, training 
material, etc. Repeat: This is the last chance to make any changes. Even 
if you don't really have much to say about it, express your opinion please.

Also, should we rename create() to persist() to be aligned with EJB3 EDR2?
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Is it worth contributing this code or posting it somewhere?

2005-02-10 Thread Christian Bauer
On Feb 10, 2005, at 8:45 AM, Jordan Laughlin wrote:
return only one row (criteria does this as well). The cartesian 
product would show its ugly head if we instead attempted to load 
multiple collections per query, which is not what we are doing: 
instead we are doing one query per collection.

As far as we know Hibernate currently does not allow for object graph 
loading (loading a collection of a collection, etc.). The purpose of 
our code was to do that: if you can suggest a
Aren't those two statements contradictory? First you say: We do it like 
Hibernate, one collection per query in an OUTER JOIN, no product.

Then you say Hibernate doesn't allow several collections in a query, 
thats what we are adding.

I still don't understand what you are trying to achive.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Is it worth contributing this code or posting it somewhere?

2005-02-10 Thread Christian Bauer
On Feb 10, 2005, at 9:05 AM, Gavin King wrote:
There is a difference between multiple collection roles that are
parallel to each other, and when they are in series.
Series Good. Parallel Bad.
OK, got it now :)
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Be Amazed and Delighted by the Wondrous SpecialOneToOneType

2005-02-10 Thread Christian Bauer
On Feb 10, 2005, at 1:35 PM, Gavin King wrote:
Isn't that great, huh? See how flexible our product is! Who needs 
expert groups and specifications when you have us open source 
developers to design such intuitive syntax?
Ugh. I took me about 30 seconds to understand it, weird stuff. I'll 
file this as faking polymorphism a little bit.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] My first Hibernate App,.. got some question, appreciate ur help

2005-02-09 Thread Christian Bauer
On Feb 10, 2005, at 1:27 AM, [EMAIL PROTECTED] wrote:
well, i thought let me try working on some example using Hibernate 
ORM...
There is a user forum, this is the developer list.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Is it worth contributing this code or posting it somewhere?

2005-02-09 Thread Christian Bauer
On Feb 10, 2005, at 5:16 AM, Adrian Ridner wrote:
Thanks for the reply. Sorry I didn't see it before, it got lost in my 
mailbox. I appreciate your feedback.  I guess that answers my original 
question.  We'll read up the docs more to see if we find anything. I 
am wondering if I didn't communicate what we are doing correctly 
though, because we are running this on tables with 5,000,000 rows 
each, and it is faster than anything else we tried.
Then I'm sure it doesn't work. A product with 5.000.000 x 5.000.000 
rows would be noticeable.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Is it worth contributing this code or posting it somewhere?

2005-02-07 Thread Christian Bauer
On Feb 7, 2005, at 11:08 PM, Adrian Ridner wrote:
Did we miss something? I'll be optimistic and hope we didn't reinvent 
the wheel, but if we did, it was a fun exercise :)
Read up on the docs some more. What you try to do would create a 
Cartesian product and be slower than two queries (which is what you 
discovered will happen). This is documented in every other place and a 
sensible limitation. You can write a custom SQL query in very special 
cases, if you are sure the product is faster than two queries.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Connection Pool

2005-02-02 Thread Christian Bauer
Rômulo Cordeiro Lana wrote:
What´s the best connection pool to use with tomcat + hibernate?
Please use the user forum, this is a developer list.
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] Firefox and hibernate.org login

2005-01-31 Thread Christian Bauer
On Jan 31, 2005, at 11:23 PM, Emmanuel Bernard wrote:
Is it just me or we cannot login on the wiki with Firefox.
and no Max, I don't use Opera ;-)
Its true, there is an issue with the old coWiki and Firefox. I think 
its Firefox' fault, but haven't had the time to debug it. Funny is, 
sometimes it works.

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com

---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Doc TODOs

2005-01-28 Thread Christian Bauer
I've been catching up with the H3 doco this week. It would be great if 
all committers would immediately add a TODO in the right section in 
the reference when they implement a feature. I might not catch all of 
them by looking around commit logs and JIRA. A short sentence 
describing the new feature would also make writing about it a lot 
easier :) You don't have to care about revisions as long as its only a 
TODO.

Thanks
--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] API name changes

2005-01-27 Thread Christian Bauer
Starting with H3, we recommend the new EJB3-style operations create() 
and merge().

We still have our old methods: save(), update(), saveOrUpdate(), with 
slightly different semantics. What do you think about save(), attach(), 
saveOrAttach()? It might be too much code to change, but this is really 
our last chance to fix it and to help people think in object states, 
not SQL statements (something I repeat about 10 times during a 
Hibernate training).

--
Christian Bauer
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Hibernate 3.0 beta 2

2005-01-24 Thread Christian Bauer
The next development version of Hibernate3 was released today, included 
are many minor bugfixes, significant improvements to the new query 
parser, and updates to thirdparty libraries.

Enjoy
--
Christian Bauer
+49 171 455 66 53
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] Missing Javadoc

2005-01-23 Thread Christian Bauer
public interface UserType {
	public Object replace(Object original, Object target, Object owner) 
throws HibernateException;
}

--
Christian Bauer
+49 171 455 66 53
callto://christian-bauer
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com 


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


  1   2   3   >