Re: [hibernate-dev] mutable versus immutable natural keys

2011-12-07 Thread Chris Bredesen
On 12/07/2011 10:29 AM, Steve Ebersole wrote: > One of the enhancements I want to get into 4.1 is HHH-2879 / HHH-2896 > regarding adding an actual API for entity loading by natural key. Woot. > However, I think at the same time we should be more explicit and > consistent about what it means when

Re: [hibernate-dev] multi-tenancy and ConnectionProvider

2011-03-23 Thread Chris Bredesen
But 3 is how it's done today since we don't have the other solutions. So yeah it's magical, but people do manage to make it work. I will concede that it is not always perceived as straightforward, however. Something to think about in the grander scheme of things is how someone would deal with

Re: [hibernate-dev] Hibernate Core is now using Git

2010-10-07 Thread Chris Bredesen
Z-Shell also has good native (?) command completion for git and ships with both GNU/Linux and OS X... And for users of both platforms (like myself), zsh feels more consistent between Linux and OS X whereas bash does not (for whatever reason). -CB On 10/07/2010 09:32 AM, Scott Marlow wrote: >

Re: [hibernate-dev] Discussion of services

2010-10-04 Thread Chris Bredesen
On 10/02/2010 06:39 PM, Steve Ebersole wrote: > https://sourceforge.net/apps/mediawiki/hibernate/index.php?title=Category:Services Isn't there a service-lifecycle-and-dependency-injection library in our arsenal we can use? -CB ___ hibernate-dev mailing

Re: [hibernate-dev] Annotation name for column-level read/write expression

2010-09-28 Thread Chris Bredesen
read + write = access @ColumnAccessExpression? On 09/28/2010 07:33 AM, Steve Ebersole wrote: > Really we went through the same discussion when developing the original > feature in terms of what to "call it" when discussing/documenting it. I > like the "read" and "write" aspects; its the general

Re: [hibernate-dev] where can I learn about contributing a patch to hibernate?

2010-09-21 Thread Chris Bredesen
Welcome! First step would be to file a JIRA and include the patch there: http://opensource.atlassian.com/projects/hibernate/browse/HHH Also it helps immensely if there is a test case for the bug included in the patch. If not, definitely run the test suite and ensure the patch does not cause a

Re: [hibernate-dev] solidDB Hibernate dialect ?

2010-04-16 Thread Chris Bredesen
ards, >> >> Niall >> >> IBM Ireland Information Services Limited registered in Ireland with number >> 97537. Registered office: Oldbrook House, 24-32 Pembroke Road, >> Ballsbridge, Dublin 4 >> >> >> >>Chris Bredesen >>

Re: [hibernate-dev] solidDB Hibernate dialect ?

2010-04-16 Thread Chris Bredesen
On 04/15/2010 07:39 AM, Niall DOWNEY wrote: > Hi All, > I work for IBM and we are investigating adding our solidDB dialect to the > existing set in Hibernate. Can someone tell me how we go about this and who > should we talk to ?. > > Apologies if this is off-topic but it was suggested in the "Hibe

Re: [hibernate-dev] release script

2010-02-11 Thread Chris Bredesen
On 02/11/2010 12:12 PM, Hardy Ferentschik wrote: >> On Thu, 2010-02-11 at 11:41 -0300, Hardy Ferentschik wrote: >>> We probably should add the script to the codebase. What's about >>> src/main/script >>> under the top level directory? > >> Or /etc. That's where you generally put scripts. I had ac

Re: [hibernate-dev] [hibernate-announce] Hibernate 3.5.0-Beta-3 release

2010-01-14 Thread Chris Bredesen
On 01/14/2010 05:34 AM, Emmanuel Bernard wrote: > Or simply remove them now that ANN and HEM are part of Core. The only > drawback I see is that HEM runs before Core but I guess we could > trigger the call to the static version display from HEM to Core. They're still separate jars though, right?

[hibernate-dev] Sonar for Hibernate 3.5

2009-10-21 Thread Chris Bredesen
You guys seen this yet? http://nemo.sonarsource.org/project/index/154273 Do the makers of Sonar just randomly run against common OSS projects or did someone request inclusion for Hibernate? -CB ___ hibernate-dev mailing list hibernate-dev@lists.jboss.

Re: [hibernate-dev] [infinispan-dev] Hibernate 3.5.0.Beta-1 released

2009-09-09 Thread Chris Bredesen
On 09/09/2009 01:09 PM, Sanne Grinovero wrote: > 2009/9/9 Steve Ebersole: >> Again, there is no default cache provider. Â Users must decide which to >> use. > > oh, I'm sorry. There are lots of articles online saying that ehcache > is the default; > did this change recently or have they always been

Re: [hibernate-dev] [infinispan-dev] [ISPN-6] (Infinispan cache provider for Hibernate) Remaining TODOs, notes and questions

2009-08-05 Thread Chris Bredesen
On 08/05/2009 12:52 PM, Brian Stansberry wrote: > Semi-tangent: in general I really dislike if people have to configure > JBC/Infinispan to get standard behaviors (e.g. eviction). Much better if > people can use the standard configuration mechanism of whatever service > is using JBC/Infinispan, an

Re: [hibernate-dev] Hibernate 3.3.1.GA compatibility question

2009-06-04 Thread Chris Bredesen
Pete, As this list is intended for discussions about the development of Hibernate (not usage of), I'd start with a JIRA search of Hibernate Core sorted by date, descending to see what was recently fixed. Or check the change logs for 3.3.2. Both are easy to find in JIRA. http://opensource.a

Re: [hibernate-dev] Why cglib was replaced with javassist?

2009-05-29 Thread Chris Bredesen
First result from a search in JIRA reveals this http://opensource.atlassian.com/projects/hibernate/browse/HHH-2506 So I think that's your answer :) -CB Unmesh joshi wrote: hi, Till hibernate 3.2 cglib was default bytecode provider. why was it changed to javassist? thanks, unmesh

Re: [hibernate-dev] Database Refresh Issue(Save and query)

2009-05-12 Thread Chris Bredesen
Please post this issue on the user forum. This list is for discussion about the development of Hibernate itself. -Chris sridhar veerappan wrote: Hi, I am using hibernate 1.2, when I save the data it is getting save in the database(save) , but immediatly i am(query) checking for the updated

Re: [hibernate-dev] L2 cache and entity as parameters

2009-05-05 Thread Chris Bredesen
AFAIR this also causes some funky serialization issues in certain cases (can't find the issue at the moment). -CB Emmanuel Bernard wrote: http://darren.oldag.net/2008/11/hibernate-query-cache-dirty-little_04.html ___ hibernate-dev mailing list hibern

Re: [hibernate-dev] Dialect support for SQL comments.

2009-05-04 Thread Chris Bredesen
Daniel, Thanks for the work on this. You should file a JIRA and include your patch there so it can be considered for inclusion. Cheers, Chris Daniel Bell wrote: Hi, I have recently tried turning on SQL comments in hibernate 3.2.6.ga. However, I found that our database (informix 7.31) did

Re: [hibernate-dev] what's going on jboss.org???

2009-04-23 Thread Chris Bredesen
If you're getting the multiple last resources message, then you're not using XA resources. The allowMultipleLastResources setting is a very dangerous thing to use and I would not recommend enabling it. All that said, I don't understand why there'd be any long timeouts with all of this -

Re: [hibernate-dev] Antlr3 / JDK 1.5

2009-04-20 Thread Chris Bredesen
No issues here. -CB Steve Ebersole wrote: I am working wth Alexandre Porcelli on some major changes to the HQL translators. Since the changes are drastic we decided to move from Antlr2 to Antlr3 in the process as Antlr3 offers many benefits over Antlr2. The only concern I have with the mov

Re: [hibernate-dev] want to join hibernate development community

2009-04-14 Thread Chris Bredesen
Some observations on this thread: 1. You do not need m2eclipse. /trunk and /Branch_3_3 both use Maven 2 and will build straight away with "mvn compile". 2. You can generate Eclipse or IDEA project files from the command line in the standard Maven way (mvn eclipse:eclipse or mvn idea:idea) an

Re: [hibernate-dev] hibernate search + indexing with transaction issue

2009-03-23 Thread Chris Bredesen
This list is not for support, it's for the development of Hibernate. You can take your question to the forums or raise a JIRA if you think you've found a bug. Best, Chris Yan Falken wrote: ok - I think it should support multiple works as there is no way to control clients to do just one oper

Re: [hibernate-dev] Another disk crash?

2009-02-26 Thread Chris Bredesen
I've reported such things to our internal IT folks a few times over the last few months (just yesterday for h.org, but not the forums -- not sure if it's the same box). They do "something" and then it starts working. I have never gotten a straight answer on what "something" is or when this wi

Re: [hibernate-dev] large hql queries holding classloader lock for too long in weblogic

2008-12-30 Thread Chris Bredesen
Umesh, This is good information but it should be raised on the user forum or perhaps filed as a JIRA with a test case. This list is for discussion of the development of Hibernate (not *using* Hibernate). Cheers, Chris Unmesh joshi wrote: Hi, We had an issue in our project where large hql

Re: [hibernate-dev] How to tune the Hibernate cache for a big database table

2008-12-17 Thread Chris Bredesen
This is a question that should be asked on the forum. This list is for issues about the development *of* hibernate, not developing applications *with* Hibernate. Cheers, Chris Mariani, Renato wrote: Having a big table to mapping, I’m thinking to divide it into more different physical table

Re: [hibernate-dev] TableGenerator missing "not null"

2008-12-12 Thread Chris Bredesen
Juraci Costa wrote: - "Chris Bredesen" escreveu: The not null constraint is redundant in Oracle and possibly others; you wind up with two constraints on the table if you specify PK & not null. I don't think so. I tested in our QA lab in both Oracle 9i and 10g. Only

Re: [hibernate-dev] TableGenerator missing "not null"

2008-12-12 Thread Chris Bredesen
The not null constraint is redundant in Oracle and possibly others; you wind up with two constraints on the table if you specify PK & not null. Perhaps we need an attribute on the Dialect for this... -CB Juraci Costa wrote: Guys, As suggested in a previous topic, I'll pay a genuine Czech be

Re: [hibernate-dev] Re: IRC Client For Setting Environment

2008-12-11 Thread Chris Bredesen
Spell "freenode" correctly and you will have more success :) Thamayanthi k wrote: Please find the attached log, not able to connect to netweork, i updated the network to FreeNode Thamayanthi On Thu, Dec 11, 2008 at 4:08 AM, Thamayanthi k <[EMAIL PROTECTED] > wrote:

Re: [hibernate-dev] Interested in new development

2008-12-09 Thread Chris Bredesen
You'll need to connect to irc.freenode.net with an IRC client. Information is here: http://freenode.net/irc_servers.shtml -Chris Thamayanthi k wrote: Could you please help me to proceed further? Thamayanthi On Mon, Dec 8, 2008 at 7:28 PM, Thamayanthi k <[EMAIL PROTECTED]

Re: [hibernate-dev] Interested in new development

2008-12-08 Thread Chris Bredesen
Hibernate uses Subversion and you should be using the Anonymous link listed on the page Max sent. -Chris Thamayanthi k wrote: Hi All, Can any one help me to setup the environment to start understand and work? Thanks Thamayanthi On Mon, Dec 8, 2008 at 8:21 AM, Thamayanthi k <[EMAIL PROTEC

Re: [hibernate-dev] Anyone having problems in "tutorials" module?

2008-12-01 Thread Chris Bredesen
I saw this too and fixed it the same way. I never got around to filing a JIRA and committing. -Chris Juraci Costa wrote: All, Hudson jobs for trunk are failing due to a dependency missing: Path to dependency: 1) org.hibernate:hibernate-tutorials:pom:3.4.0-SNAPSHOT 2) org.slf4

Re: [hibernate-dev] CharacterTypeMapping within Oracle10gDialect

2008-11-12 Thread Chris Bredesen
A CLOB is an entirely different animal than a text/char/varchar column. I'd be somewhat surprised to find out that my Types.VARCHAR got turned into a LOB, personally - even if they are not recommended on Oracle. Of course you can extend the Dialect in any way you see fit, or just map your pro

[hibernate-dev] mvn eclipse:eclipse

2008-11-06 Thread Chris Bredesen
All, I'm not sure when this broke, but Maven 2.0.9 (perhaps others) will not create Eclipse projects using 'mvn eclipse:eclipse'. Even though the various modules are indeed aggregated in a multi-module POM, the plugin insists on inter-referencing the modules as jars rather than project depen

Re: [hibernate-dev] Hibernate Core 3.3 / HEM/HAN 3.4.0 migration hooplas

2008-09-19 Thread Chris Bredesen
Emmanuel Bernard wrote: Thinking out loud. Couldn't we check if the first SLF4J call raises CNFE and wraps that in a meaningful Exception HibernateException("You forgot to add a SLF4J implementation (like slf4log4j) in your class path, go do slf4j.org blah blah"); If this is doable (sounds li

Re: [hibernate-dev] Hibernate Core 3.3 / HEM/HAN 3.4.0 migration hooplas

2008-09-19 Thread Chris Bredesen
Emmanuel Bernard wrote: Lost of people are bitten by the slf4j implementation drop issue: unless you drop an slf4j impl, you get nasty CNFE. I wonder if we could make that easier for users. I had a chat with a former coworker last night who was starting with Hibernate and had downloaded 3.3.

Re: [hibernate-dev] Contributed with HiRDB Dialect

2008-09-17 Thread Chris Bredesen
guess (a) is easier for both of us if you don't have to keep HiRDB with you for regular testing. I already have the test result on 3.2.5. If you would like me to test on another version, I could do it also. Thanks, Tomoto On Fri, 05 Sep 2008 13:35:00 -0400 Chris Bredesen <[EMAIL PROTECTE

Re: [hibernate-dev] Contributed with HiRDB Dialect

2008-09-05 Thread Chris Bredesen
Tomoto, Thank you for the contribution! Is there somewhere that one might obtain a copy of HiRDB to run the unit tests against? -Chris [EMAIL PROTECTED] wrote: Hi, my name is Tomoto at Software Division in Hitachi. I have posted a dialect for HiRDB (Hitachi's RDBMS, see *1) to JIRA. http:/

Re: [hibernate-dev] 3.3 and maven-eclipse-plugin

2008-08-19 Thread Chris Bredesen
Chris Bredesen wrote: Max Rydahl Andersen wrote: 1) Are you using the *final* Ganymede ? the RC1 of Ganymede had a broken understanding of project names vs. directory names. Yep. No mention of RC1 anywhere. Version: 3.4.0 Build id: I20080617-2000 2) That m2eclipse actually resolves

Re: [hibernate-dev] 3.3 and maven-eclipse-plugin

2008-08-19 Thread Chris Bredesen
Max Bowsher wrote: There does exist a corner case however - once you import a project into Eclipse, Eclipse no longer cares about the name value in the on-disk .project file. I suppose you had the relevant directories added to Eclipse using manually created rather than plugin-generated projects.

Re: [hibernate-dev] 3.3 and maven-eclipse-plugin

2008-08-19 Thread Chris Bredesen
Max Rydahl Andersen wrote: 1) Are you using the *final* Ganymede ? the RC1 of Ganymede had a broken understanding of project names vs. directory names. Yep. No mention of RC1 anywhere. Version: 3.4.0 Build id: I20080617-2000 2) That m2eclipse actually resolves dependencies to project depend

Re: [hibernate-dev] 3.3 and maven-eclipse-plugin

2008-08-19 Thread Chris Bredesen
Max Bowsher wrote: Hi Max. Chris Bredesen wrote: and it creates them with the assumption that the project names are the same as the artifact ID. This is in fact not the case. It should be the case, and is for me. What is it for you, and have you any idea why it's different? The pr

[hibernate-dev] 3.3 and maven-eclipse-plugin

2008-08-18 Thread Chris Bredesen
All, I just brought down a fresh copy of Branch_3_3, compiled and then ran mvn eclipse:eclipse. The Eclipse projects were created mostly fine and they all imported into Ganymede. However, there's an issue with each module's dependency on hibernate-core and hibernate-testing. The maven-ecli

Re: [hibernate-dev] (Newbie question) Where to find the Hibernate3 module in svn?

2008-07-21 Thread Chris Bredesen
The 3.2 branch for Hibernate core is: http://anonsvn.jboss.org/repos/hibernate/core/branches/Branch_3_2/ -Chris Hugh M wrote: I am trying to check out the source for hibernate according to instructions on http://www.hibernate.org/6.html. This page refers to the module "Hibernate3" in a couple

Re: [hibernate-dev] Work on HHH-3110

2008-06-19 Thread Chris Bredesen
Les Hazlewood wrote: Hi guys, It has been a while since I've talked to most of the Hibernate team - I hope all is well with everyone. I can say that I miss that I miss working with the people, not so much the consulting travel :-P Anyway, lemme get to business. I upgraded from 3.2.5 to 3.2.6

Re: [hibernate-dev] Work on HHH-3110

2008-06-19 Thread Chris Bredesen
Les Hazlewood wrote: I agree with you Chris, it does better simulate it. But Hibernate has always been deployable outside of a container. Shouldn't it retain that philosophy in its code base as well, architecting flexible approaches that work seamlessly both in a JEE container and out? That's

Re: [hibernate-dev] Work on HHH-3110

2008-06-19 Thread Chris Bredesen
joël Winteregg wrote: I also had the same issue which was fixed using an update of the transaction manager I use (Bitronix 1.3). A light JNDI server is now embedded in it... This is an alternative that I've discussed with others off list. IMHO, this better simulates the in-container JTA envir

Re: [hibernate-dev] No successful builds since move to Maven

2008-05-16 Thread Chris Bredesen
Steve Ebersole wrote: I even forget the details now. Perhaps I used the command line eclipse generation (mvn eclipse:eclipse) and sent that to Max to test. Do you recall Max? That's the only way I've ever been able to build /trunk in Eclipse. But, the last time was also many moons ago...

Re: [hibernate-dev] TransactionException

2008-05-07 Thread Chris Bredesen
This list is for the discussion of Hibernate development, not the usage of Hibernate. You should post this on the forum: http://forum.hibernate.org The advice you followed only makes sense if you were already using C3P0, so when you post on the forum, please include all Hibernate config opti

Re: [hibernate-dev] Migration to Hibernate Core 3.3

2008-05-02 Thread Chris Bredesen
Hardy Ferentschik wrote: On Fri, 02 May 2008 15:23:49 +0200, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: latest means you local version in the build terminology I set up so you need to checkout commons-annotations / annotations / entitymanager and run ant jar on them. The jar will be taken f

Re: [hibernate-dev] Is this a bug or am I just handling it the wrong way ?

2008-03-12 Thread Chris Bredesen
joël Winteregg wrote: Hello Chris, Thanks for your email. As you will notice I posted a related question on http://opensource.atlassian.com/projects/hibernate/browse/HHH-3110 this morning. I haven't looked closely enough to comment on the query problem but I can confirm that your assessme

Re: [hibernate-dev] Is this a bug or am I just handling it the wrong way ?

2008-03-12 Thread Chris Bredesen
joël Winteregg wrote: For that problem, I think that hint would help me: "Either setup BTM to bind to JNDI or provide an implementation of org.hibernate.transaction.TransactionFactory that uses the purely standalone/in-VM BTM" But that would be the second phase ;-) I haven't looked closely

Re: [hibernate-dev] Using hibernate with UDFs

2007-12-19 Thread Chris Bredesen
Could you set the parameters as connection/session level variables using T-SQL, eliminating the function params entirely? If so, you could implement a ConnectionProvider which did this on getConnection() and undid it on closeConnection() (the latter is very important). You'd then only need so