[hibernate-dev] Re: Automatically Upgrade to HTTPS

2020-11-24 Thread Max Rydahl Andersen
can you control the dns ? i.e. for jbang.dev I moved to cloud flare for dns to let me do things GitHub pages and hover.com didn't support doing. cloudflare seem to have more fine grained control options. /max +1 I think we need to move off github pages; it's great for simple projects but

Re: [hibernate-dev] api/doc suggestions

2020-02-19 Thread Max Rydahl Andersen
Finally figure out my atlassian account so i could go with the hibernate issues ;) >> What is the equivalent way to do this in new metadata api: >> >> ``` >> new Configuration().setProperty("hibernate.dialect", >> "org.hibernate.dialect.H2Dialect") >>

[hibernate-dev] api/doc suggestions

2020-02-09 Thread Max Rydahl Andersen
Heya, While working on Quarkus a few of us (Georgios in cc and I in particular) been pondering on doing a guide on best approaches on how to access data a bit more raw (i.e. raw sql, stateless season, etc.) as we got quite a lot of feedback stating Hibernate/JPA was considered complex in

Re: [hibernate-dev] HBM migration suggestions

2016-10-10 Thread Max Rydahl Andersen
ady to repeat it all (script it) multiple times, to prefer > tune the templates and naming strategies iteratively over fixing > things by hand. > > On 10 October 2016 at 12:58, Max Rydahl Andersen <mande...@redhat.com> > wrote: >> hibernate tools can do it for the basic

Re: [hibernate-dev] Changing group ids from org.hibernate to org.hibernate.{project}

2016-10-05 Thread Max Rydahl Andersen
on of usability > for our own sake of selfish sense of organization. > On the other end, maybe grouping them together will make it clearer to > end users which artifacts need to use the same version? > As ultimately, that's what is often unclear.. > > Thanks, > Sanne > >

Re: [hibernate-dev] Eclipse Che - quickstart for Hibernate contributions?

2016-06-12 Thread Max Rydahl Andersen
Hi Sanne, sorry for missing this mail - fell into my "read when on long flights"-folder. Those projects are setup by volunteers using Che and then shared. I've cc'ed you in a thread/mail to them on this subject - I'm also meeting with them this week so might get a more direct answer there.

Re: [hibernate-dev] database names and identifier length

2015-07-24 Thread Max Rydahl Andersen
On 24 Jul 2015, at 16:48, Steve Ebersole wrote: Do we want to consider automatically applying known database limits on various identifier lengths? This is trickier to implement than it might sound. And it would definitely need to wait for the reworking of annotation binding. But in

Re: [hibernate-dev] More Dialect and quoting fun

2015-05-27 Thread Max Rydahl Andersen
On 27 May 2015, at 5:49, Steve Ebersole wrote: If anyone is interested, the issue is here: https://hibernate.atlassian.net/browse/HHH-9820 I do wonder overall about the interplay that should happen between a Dialect and the JdbcEnvironment. I reckon your issue is that you need access to

Re: [hibernate-dev] More Dialect and quoting fun

2015-05-27 Thread Max Rydahl Andersen
The old way was calling one or more of the 50,000 (give or take ;) true/false methods on Dialect at runtime. The new evolving approach is to build delegates/helpers at boot time that encapsulate all that. Most of that work so far is encapsulated by JdbcEnvironment. One piece of this

Re: [hibernate-dev] Hibernate O/RM 5.0.0.Beta2 release

2015-04-30 Thread Max Rydahl Andersen
On 30 Apr 2015, at 6:35, Steve Ebersole wrote: http://in.relation.to/Bloggers/HibernateORM500Beta2Release with respect to: Much improved (and still improving!) schema management tooling for export, validation and migration. Where is the best place to find info on this. As discussed in past

Re: [hibernate-dev] org.hibernate.cfg.Settings deprecated

2015-04-21 Thread Max Rydahl Andersen
As long as we can explicitly disable things via API like we could in past this should be fine. i.e. in tools we used setting properties to disable second level caching, hibernate validator, connection pooling, tx management and search setup since it just doesn't either make sense or won't work

Re: [hibernate-dev] irc team meetings and jbott

2014-01-22 Thread Max Rydahl Andersen
the changes to let others know. /max On Tue 21 Jan 2014 07:45:08 AM CST, Max Rydahl Andersen wrote: so I found whats wrong - the jbott been running for 4 years and one of the things it does when ending meetings is regenerating indexes that was fast the first couple of yearsnow its turned

Re: [hibernate-dev] irc team meetings and jbott

2014-01-21 Thread Max Rydahl Andersen
We have been having a lot of trouble lately with relying on jbott to record the team meetings on irc. A few times jbott has not been in the room. A few times it refuses to start/end meetings. Max, is there anything to be done to make jbott more stable? jbott had been running for months

Re: [hibernate-dev] irc team meetings and jbott

2014-01-21 Thread Max Rydahl Andersen
On 21 Jan 2014, at 14:36, Max Rydahl Andersen wrote: We have been having a lot of trouble lately with relying on jbott to record the team meetings on irc. A few times jbott has not been in the room. A few times it refuses to start/end meetings. Max, is there anything to be done to make

Re: [hibernate-dev] IRC Logs

2012-12-20 Thread Max Rydahl Andersen
yeah, sorry about this someone filled up the machine disk while I was away in Brno. /max On 14 Dec 2012, at 19:34, Gunnar Morling gun...@hibernate.org wrote: Hi, Emmanuel said he wanted to contact Max, not sure what came out of this. --Gunnar Am 14.12.2012 18:56 schrieb Steve Ebersole

Re: [hibernate-dev] change the source to 1.7 in build script?

2012-11-22 Thread Max Rydahl Andersen
FYI, coincidentally I was looking at Java 7 adoption for JBoss Tools users and currently that is at ~24% out ouf ~730.000 starts the last month. Plus Java 7 is not very stable for anything that has do with graphical rendering on either OSX and Linux OpenJDK - so it would currently be a shame if

Re: [hibernate-dev] Quoted names

2012-06-18 Thread Max Rydahl Andersen
sorry for the very slow response rate - mailbox overload. Probably best. This is one of the main issue with the existing metamodel. There are no tests of it. There is virtually no doc. And noone wants to touch the code. Really I would have thought Max the best person to ask. I asked

Re: [hibernate-dev] Some files are missing from hibernate-validator-4.2.0.Final-sources.jar

2012-01-27 Thread Max Rydahl Andersen
Thanks for the info - this just means we won't be able to show the source for this package - too bad, but the reality shady jars live in ;) /max Thanks for the answer. It seems that only the org.hibernate.validator.jtype package is missing. I have created a plugin that automatically opens

Re: [hibernate-dev] forced pushes

2012-01-24 Thread Max Rydahl Andersen
On Jan 24, 2012, at 16:48, Steve Ebersole wrote: Do not use --force with git push when pushing to any of the GitHub hosted hibernate repos. GitHub does not allow us to disable or otherwise limit its use. However, we are now able to see when someone does a forced push. I'm curious -

Re: [hibernate-dev] Question in relation to Hibernate4.0 Final

2012-01-20 Thread Max Rydahl Andersen
...@wuerth-phoenix.com Website: www.wuerth-phoenix.com -Original Message- From: Max Rydahl Andersen [mailto:max.ander...@redhat.com] Sent: Wednesday, December 21, 2011 11:05 AM To: Strong Liu Cc: Demetz, Guenther; Hibernate hibernate-dev Subject: Re: Question in relation

Re: [hibernate-dev] HHH-1123 - Cannot put more than 1000 elements in a InExpression

2011-12-06 Thread Max Rydahl Andersen
to just use java for computation. But I DO think it's actually easier on the temp segment than to not use it, in most cases. yes, but as Steve says - no good generic way of implementing this. /max David On 12/03/2011 05:23 AM, Max Rydahl Andersen wrote: One technical (and probably way out

Re: [hibernate-dev] HHH-1123 - Cannot put more than 1000 elements in a InExpression

2011-12-03 Thread Max Rydahl Andersen
One technical (and probably way out of scope!) way to handle this would be to use a temp table, do a batch insert of the values, then change the in (v1, v2, v3...) to in (select v from temp). I think I would rather hear people complain about query exceptions happening when they are

Re: [hibernate-dev] any suggestion about how to fix HHH-5992?

2011-11-30 Thread Max Rydahl Andersen
On Tue 29 Nov 2011 11:37:59 AM CST, Max Rydahl Andersen wrote: I agree we should not do any magic on a native query; but following this reasoning just anything should be possible, and I wouldn't expect Hibernate to apply such magic to the results either. Why is it even looking at names

Re: [hibernate-dev] any suggestion about how to fix HHH-5992?

2011-11-30 Thread Max Rydahl Andersen
into a map. smaller corner case at least ;) /max On Wed 30 Nov 2011 10:57:31 AM CST, Max Rydahl Andersen wrote: On Nov 30, 2011, at 15:22, Steve Ebersole wrote: Not sure when you sent this out, but I already fixed this (my) yeasterday. The only real option, IMO, is to throw

Re: [hibernate-dev] any suggestion about how to fix HHH-5992?

2011-11-29 Thread Max Rydahl Andersen
the original idea of the native sql approach is to avoid/reduce doing anything magical with the query since there is no way to fix these generally without a full sql parser. So I would say it works as expected. /max On Nov 29, 2011, at 11:59, Strong Liu wrote: T_User id username 1

Re: [hibernate-dev] any suggestion about how to fix HHH-5992?

2011-11-29 Thread Max Rydahl Andersen
experience, otherwise instead of being a nice tool it becomes an impediment and users will rightfully hate you. Sanne On 29 November 2011 15:25, Max Rydahl Andersen max.ander...@redhat.com wrote: the original idea of the native sql approach is to avoid/reduce doing anything magical

Re: [hibernate-dev] Hbm mapping with hibernate 4

2011-11-24 Thread Max Rydahl Andersen
For hibernate guys: to be clear, what Dmitry is working on is to test and develop support in hibernate tools / jboss tools to work with both Hibernate 3.x and Hibernate 4. The docs/migration guide doesn't seem to cover these differences so asked him to raise the question on the list. /max On

Re: [hibernate-dev] Hibernate and Eclipse

2011-10-07 Thread Max Rydahl Andersen
tools to use hibernate4 but there are too many codes need to be changed (well, almost all) I guess you won't like my pull request :( --- Strong Liust...@hibernate.org http://hibernate.org http://github.com/stliu On Oct 6, 2011, at 11:37 PM, Max Rydahl Andersen wrote: On Sep 30

Re: [hibernate-dev] Hibernate and Eclipse

2011-10-06 Thread Max Rydahl Andersen
On Sep 30, 2011, at 20:01, Gail Badner wrote: There have been a couple of comments about problems with eclipse integration with Hibernate 3.6.7: - http://in.relation.to/Bloggers/HibernateCore367FinalRelease#comment21925 -

Re: [hibernate-dev] Hibernate and Eclipse

2011-10-06 Thread Max Rydahl Andersen
http://github.com/stliu On Oct 6, 2011, at 11:37 PM, Max Rydahl Andersen wrote: On Sep 30, 2011, at 20:01, Gail Badner wrote: There have been a couple of comments about problems with eclipse integration with Hibernate 3.6.7: - http://in.relation.to/Bloggers

Re: [hibernate-dev] Hibernate and Eclipse

2011-10-06 Thread Max Rydahl Andersen
I guess you won't like my pull request :( just to be clear - I would love to see a pull request that uses the full new Hibernate 4 API. Been very hard to keep track on what changes we need to do so i'm looking forward to see it. But yes, Dima (dgeraskov) been doing a basic migration which

Re: [hibernate-dev] Hibernate and Eclipse

2011-10-06 Thread Max Rydahl Andersen
with Dima on these since he is doing the same! /max --- Strong Liu st...@hibernate.org http://hibernate.org http://github.com/stliu On Oct 6, 2011, at 11:37 PM, Max Rydahl Andersen wrote: On Sep 30, 2011, at 20:01, Gail Badner wrote: There have been a couple of comments about

Re: [hibernate-dev] IDEA Gradle

2011-09-14 Thread Max Rydahl Andersen
Sorry for the advertising, but I'm sure most people here will welcome the news, likely all except myself and Max: well, the cool thing they actually published the sources. The eclipse stuff is still closed unfortunately ;( /max Nice. I cannot wait for Idea 11. I'll try this asap. Our

Re: [hibernate-dev] Recent change to JBossAppServerJTAPlatform ?

2011-08-09 Thread Max Rydahl Andersen
if I recall java:/TransactionManager is the only place it is posted in AS 4 and 5? Right, java:/TransactionManager is correct before AS7. Do you know the reason for this change BTW? Best to see the http://echelog.matzon.dk/logs/browse/jboss-as7/1312495200 discussion. Its about

[hibernate-dev] Recent change to JBossAppServerJTAPlatform ?

2011-08-05 Thread Max Rydahl Andersen
Hi, I just noticed https://github.com/hibernate/hibernate-core/pull/147/files Does that change work on all previous AS versions or is Hibernate JTA now locked down to run on AS 7 ? if I recall java:/TransactionManager is the only place it is posted in AS 4 and 5? Or am I wrong about that?

Re: [hibernate-dev] metamodel thoughts

2011-06-24 Thread Max Rydahl Andersen
to what you had. yeah, so this looks fine/great. i'm failing to see what changed beyond a more unified api ? /max On 06/23/2011 02:18 PM, Max Rydahl Andersen wrote: sorry i'm a bit slow here but could someone show (pseudo) code for how the new approach would look like versus before? Here

Re: [hibernate-dev] Processing mapping information followup

2011-06-17 Thread Max Rydahl Andersen
Any git branches/forks where Configuration is removed or a test is present that doesn't use the old Configuration approach and i'll try and take a new look. There are some tests in master Could you be a tad more specific ? Package or even a class name to narrow it down :) /max

Re: [hibernate-dev] Processing mapping information followup

2011-06-16 Thread Max Rydahl Andersen
In the new terminology, what we are discussing is the process for handling metadata sources (o.h.metamodel.source). What you describe is really a parallel source (o.h.metamodel.source.jdbc???). So it is going to be completely up to the developer of that code how the binding of source

[hibernate-dev] How to update http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd ?

2011-06-14 Thread Max Rydahl Andersen
Hey, What's the process for updating the file behind http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd ? Been years since I last needed to update it and the systems changed since ;) Anyone got an idea ? /max http://about.me/maxandersen

Re: [hibernate-dev] Processing mapping information followup

2011-06-14 Thread Max Rydahl Andersen
Any idea how much this would affect tools ability to reflect on the metamodel without requiring the actual model classes and types to be available ? At what time will the classes/types be *required* to be available? i.e. for H3 as long as we filled out all the type info in the xml hibernate

Re: [hibernate-dev] How to update http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd ?

2011-06-14 Thread Max Rydahl Andersen
web site. Totally forget how to do that. But its part of the site support docs. I'lll investigate. /max On 06/14/2011 01:35 AM, Max Rydahl Andersen wrote: Hey, What's the process for updating the file behind http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd

Re: [hibernate-dev] Deprecating or removing entirely HashtableCacheProvider?

2011-06-08 Thread Max Rydahl Andersen
Moving it to the hibernate-testing module seems like a good idea to me. Sounds good to me too - the only quirk for it that I recall was that tools like schemaexport etc. shouldn't require cacheproviders, but if the cacheprovider is lazily loaded (i.e. not actually instantiated until used) or

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Max Rydahl Andersen
I've setup @hibernate_dev on Twitter and made GitHub to push commit messages to the account. If you are interested in the commit messages, just follow this account. seriously? This means twitter search for Hibernate will now be rather useless since all commits will show up instead of those

Re: [hibernate-dev] @hibernate_dev setup and pushing GitHub commit messages

2011-06-01 Thread Max Rydahl Andersen
I've setup @hibernate_dev on Twitter and made GitHub to push commit messages to the account. If you are interested in the commit messages, just follow this account. seriously? This means twitter search for Hibernate will now be rather useless since all commits will show up instead of

Re: [hibernate-dev] published groupIds

2011-05-25 Thread Max Rydahl Andersen
As we discussed in a meeting I think 2 weeks ago, I went ahead and spoke with Paul about renaming the groupIds we use for publishing. He said he thought it was fine. He did not foresee any issue with doing that. What will the renames be ? Just wondering if I should do the same rename for

Re: [hibernate-dev] Meeting logs since Max's bot failed us

2011-04-26 Thread Max Rydahl Andersen
jpav: no one started the bot yet emmanuel: #startmeeting jpav: I don't think the bot is even running emmanuel: maxandersen: BOT emmanuel: Ok nevermind let's start sorry for that one - not sure why but jbott was logged into all channels but somehow either got rejected or kicked of

Re: [hibernate-dev] Meeting logs since Max's bot failed us

2011-04-26 Thread Max Rydahl Andersen
just to conclude this one - I had the bot configured to login before nickserv responded; now it waits and thus it should get into hibernate-dev without problems next time something causes a network outage ;) /max On Apr 26, 2011, at 20:53, Max Rydahl Andersen wrote: jpav: no one started

Re: [hibernate-dev] IRC meeting logs via meeting bot

2011-04-19 Thread Max Rydahl Andersen
i.e. #action maxandersen sebersole solve all build problems in the world. and both maxandersen and sebersole will have solve all build problems in the world as an action item in the summary. Very useful, thank you. and in next release it will create JIRAs, assign them to you and attach

Re: [hibernate-dev] IRC meeting logs via meeting bot

2011-04-18 Thread Max Rydahl Andersen
btw.a few keywords that are good to remember. To add some key point to the summary (instead of requiring everyone reading the full log) use #info text or #agreed text if you want to differentiate and it will show up in the summary. If there are action items use #action nick* what and it will

Re: [hibernate-dev] cacheable files

2011-04-16 Thread Max Rydahl Andersen
we are using stax now under the covers as well. These are just different models of jaxp parsing: dom, sax, stax. I wasn't aware of stax / jaxb interoperability so sorry for that noise ;) Right, and the benefit of JAXB is the typed API. sounds good as long as the xml and model still can

Re: [hibernate-dev] cacheable files

2011-04-15 Thread Max Rydahl Andersen
im confused - are we seriously looking at using jaxb for parsing the xml configurations even though they are doing what they can to remove any jaxb stuff from AS7 codebase because of the bad performance and maintenance overhead (especially when its part of the server) ? /max On Apr 13, 2011,

Re: [hibernate-dev] cacheable files

2011-04-13 Thread Max Rydahl Andersen
On Apr 13, 2011, at 24:44, Steve Ebersole wrote: Hm, if we move to jaxb are those generated binding classes serializable? jaxb? i thought we wanted this stuff to be faster, not slower ? (sorry, couldn't resist ;) /max On 04/12/2011 02:41 PM, Hardy Ferentschik wrote: On Apr 12,

Re: [hibernate-dev] cacheable files

2011-04-12 Thread Max Rydahl Andersen
Do we want to make caching of files a flag for processing all of the xml files? Currently we have methods: addFile(String path) addFile(File file) addCacheableFile(String path) addCacheableFile(File file) Could we instead condense these and allow configuration of whether to try and

Re: [hibernate-dev] Session opening

2011-04-06 Thread Max Rydahl Andersen
Like I said, I do not think that is enough as I think that if you get the connection, you also need the transaction context holding that connection. transacvtion context here is the TransactionCoordinator. session.sessionWithOptions().transactionContext().openSession() Okey and the

Re: [hibernate-dev] Session opening

2011-04-05 Thread Max Rydahl Andersen
the source session is closed, correct ? Trying to get my head around some of the old special case assumptions ;) /max On Monday, April 04, 2011, at 04:40 am, Max Rydahl Andersen wrote: RE: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2860 This dealt with cleaning up all

Re: [hibernate-dev] Session opening

2011-04-04 Thread Max Rydahl Andersen
RE: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2860 This dealt with cleaning up all the overloaded openSession methods from SessionFactory and SessionFactoryImplementor. The new main method for obtaining a Session is SessionFactory.withOptions() which returns a

Re: [hibernate-dev] Integrator locator

2011-04-04 Thread Max Rydahl Andersen
pm, Emmanuel Bernard wrote: There is one for search too. But should we have a global flag to disable all integrations? Does it makes sense (what about Bean Validation for example? On 31 mars 2011, at 20:08, Adam Warski wrote: On Mar 31, 2011, at 12:05 PM, Max Rydahl Andersen wrote: btw

Re: [hibernate-dev] Session opening

2011-04-04 Thread Max Rydahl Andersen
Sorry - didn't get the mail thread in proper order (damn VPN!) From reading the whole thread I guess the answer is: session.sessionWithOptions().connection().openSession() or even session.sessionWithOptions().transactionContext().openSession() I'm still a bit fuzzy about where the lifecycle

Re: [hibernate-dev] Integrator locator

2011-03-31 Thread Max Rydahl Andersen
Any thinking done on how CDI enabled applications could be using CDI to wire this up ? /max On Mar 27, 2011, at 19:27, Steve Ebersole wrote: HHH-5562 is done, which introduces a locator/discovery means for integrating with Hibernate. Specifically it introduces the (alternate name

Re: [hibernate-dev] Integrator locator

2011-03-31 Thread Max Rydahl Andersen
btw. any way to disable specific discovery items ? i.e. I would like to not have search and envers enabled when the tools are doing query plans/executions since it then suddenly requires much more configuration to have it setup and run. /max On Mar 31, 2011, at 12:00, Max Rydahl Andersen

Re: [hibernate-dev] Shaded build for the HV annotation processor

2011-03-31 Thread Max Rydahl Andersen
On Mar 24, 2011, at 17:10, Hardy Ferentschik wrote: On Wed, 23 Mar 2011 15:41:29 +0100, Max Rydahl Andersen max.ander...@redhat.com wrote: Speaking of shading, this could be an easy solution for METAGEN-53 as well. For metagen-53 I recall that the only dependency is class name lookup

Re: [hibernate-dev] building core from master

2011-03-31 Thread Max Rydahl Andersen
2)Eclipse the configuration files generated by gradle are totally wrong, but I could fix them by hand. Now Eclipse refuses to compile the project as there's a circular dependency: the testsuite from hibernate-core depends on the hibernate-testing module, which in turn depends on

Re: [hibernate-dev] building core from master

2011-03-31 Thread Max Rydahl Andersen
. But since we have different opinions on consequences and effects of cyclic dependencies i'll just leave it at that. /max On Mar 31, 2011, at 1:07 PM, Sanne Grinovero wrote: 2011/3/31 Steve Ebersole st...@hibernate.org: On Thursday, March 31, 2011, at 11:52 am, Max Rydahl Andersen wrote

Re: [hibernate-dev] Shaded build for the HV annotation processor

2011-03-24 Thread Max Rydahl Andersen
Speaking of shading, this could be an easy solution for METAGEN-53 as well. For metagen-53 I recall that the only dependency is class name lookup which could just as easily be replaced with strings to avoid the multijar setup. Maybe the same goes for validator annotation processor ? /max

Re: [hibernate-dev] hibernate-tools moved to git

2011-03-09 Thread Max Rydahl Andersen
on that subject, anyone know how to get git commits to show up at http://opensource.atlassian.com/projects/hibernate/browse/HBX ? /max On Mar 9, 2011, at 11:30, Max Rydahl Andersen wrote: Hi, https://github.com/hibernate/hibernate-tools is now live. I've locked down tools in svn

Re: [hibernate-dev] hibernate-tools moved to git

2011-03-09 Thread Max Rydahl Andersen
Fisheye. Could you provide a *tad* more info ? :) ..or are you saying one should just use fisheye to search for the match instead of having it directly in jira ? /max On Wednesday, March 09, 2011, at 08:06 am, Max Rydahl Andersen wrote: on that subject, anyone know how to get git

Re: [hibernate-dev] hibernate-tools moved to git

2011-03-09 Thread Max Rydahl Andersen
issues @ http://support.atlassian.com/ if you want to have them host it for you. On Wednesday, March 09, 2011, at 08:50 am, Max Rydahl Andersen wrote: Fisheye. Could you provide a *tad* more info ? :) ..or are you saying one should just use fisheye to search for the match instead

Re: [hibernate-dev] Foreign key to not primary key column.

2011-03-07 Thread Max Rydahl Andersen
Dmitry, Could you make the patch a pull-request on hibernate 3.x and 4.x git version ? Then I think it can/will be accepted/processed faster. Thanks, Max On Mar 2, 2011, at 10:44, Dmitry Geraskov wrote: Hey, guys, it is possible that foreign key references non-primary key, but some

Re: [hibernate-dev] Integrating new transaction work.

2011-03-04 Thread Max Rydahl Andersen
On Mar 4, 2011, at 18:02, Emmanuel Bernard wrote: 1. I think I'm fine with that. I never really trusted Hibernate to properly implement this anyways :) Was nested transactions actually ever possible ? (i know some weird databases support it...just wondering if anyone actually used it ;)

Re: [hibernate-dev] Spring Cache Abstraction

2011-02-24 Thread Max Rydahl Andersen
Is it just me or did they just make a weapon to shoot everyone in their foot ? Caching entities like that is dangerous and really hard to catchweird how neither their docs, blogs or javadocs mentions the problem of accidentally sharing out JPA entities across sessions /max On Feb 23,

Re: [hibernate-dev] HHH-5562, services and eventlisteners

2011-02-08 Thread Max Rydahl Andersen
On Feb 9, 2011, at 07:55, Adam Warski wrote: Do you have in mind the process of discovery (that services would also be discovered via META-INF/services, like event listeners), or that the event listener registry should just be another Hibernate service? If that happens I hope we will have

[hibernate-dev] svn2git migration steps ?

2011-01-31 Thread Max Rydahl Andersen
Hi, I'll be releasing the final version of hibernate tools to match what will be in jboss tools 3.2 soon and thought it would be a good time to move the svn repo to git. Anyone got the steps for how it was done for the rest that I could possibly reuse ? Thanks, Max

Re: [hibernate-dev] Contributing to Hibernate development

2010-12-03 Thread Max Rydahl Andersen
Is there any way to get notified about pullrequests or does one actually have to visit github to see ? /max On Dec 3, 2010, at 14:31, Strong Liu wrote: actually, I'd think pull request is the same thing as patch attached to a jira case. every commitor can deal with that if he/she think the

Re: [hibernate-dev] Contributing to Hibernate development

2010-12-03 Thread Max Rydahl Andersen
im browsing the github repo and i can't find where I can add my self explicitly beyond where Im not already. weird. /max On Dec 3, 2010, at 15:27, Steve Ebersole wrote: You need to add yourself explicitly to the teams with access to the repo. As stated members of the organization owner

Re: [hibernate-dev] Contributing to Hibernate development

2010-12-03 Thread Max Rydahl Andersen
. On Friday, December 03, 2010, at 08:45 am, Hardy Ferentschik wrote: You are not part of the core-dev team - https://github.com/organizations/hibernate/teams/18292 On Fri, 03 Dec 2010 15:40:22 +0100, Max Rydahl Andersen max.ander...@redhat.com wrote: im browsing the github repo and i

Re: [hibernate-dev] HHH-5721 - GPL v3 license

2010-11-24 Thread Max Rydahl Andersen
Yes, GPL-3 doesn't mix well with LGPL. /max On Nov 24, 2010, at 17:27, Scheper, Erik-Berndt wrote: Hi, I was checking out HHH-5721, but it contains a patch that is licensed under GPL-v3. I guess this is incompatible with Hibernate's license, or am I mistaken here? Regards,

Re: [hibernate-dev] meta/ and HBMBinder

2010-10-18 Thread Max Rydahl Andersen
It's used to allow injecting global meta tags when generating code via hibernate tools. Depending on how hibernate 4 refactoring goes we might not need it anymore...i.e. since hibernate tools would need a rewrite anyway ;0) /max On Oct 16, 2010, at 21:25, Steve Ebersole wrote:

Re: [hibernate-dev] [hibernate-announce] Hibernate Metamodel Generator 1.1.0.CR1 is out

2010-10-15 Thread Max Rydahl Andersen
Hardy, Have you tried setting up this annotation processor in Eclipse recently ? I did with the original one; just curious if we continued ensuring it work in the various IDE;s and especially Eclipse that has lowerlevel hooks into Eclipse JDT to make it more incremental than other IDE's. /max

Re: [hibernate-dev] [hibernate-announce] Hibernate Metamodel Generator 1.1.0.CR1 is out

2010-10-15 Thread Max Rydahl Andersen
I did with the original one; just curious if we continued ensuring it work in the various IDE;s and especially Eclipse that has lowerlevel hooks into Eclipse JDT to make it more incremental than other IDE's. I just recently in combination with

Re: [hibernate-dev] Discussion of services

2010-10-12 Thread Max Rydahl Andersen
Personally I think y'all are getting a little too hung up the on injection of dependent services here. It is a quite limited scope and the implementation is both dead simple and already done (its not like this is going to drag on for years like we have seen elsewhere). It is not the

Re: [hibernate-dev] Fail fast feature for Hibernate Validator

2010-10-05 Thread Max Rydahl Andersen
On Oct 5, 2010, at 17:43, Emmanuel Bernard wrote: If we /really/ want stopAfterNFailures, I'd go straight to it. It's easy to implement and will confuse people less. But the number of failures will be a guaranteed to be above int (if there are enough ;) ) and the order will be unspecified

Re: [hibernate-dev] Table and quoted names

2010-10-04 Thread Max Rydahl Andersen
Totally agreedI guess the question is though if that is going to part of what we today call Dialect or something else (If i follow Steve's comments right) The vast majority of databases out there have more or less decent JDBC drivers. Actually, that ain't true when it comes to

Re: [hibernate-dev] Discussion of services

2010-10-04 Thread Max Rydahl Andersen
I remember Mark P. mentioning they (drools) have some basic bootstrap for their core which is simplistic and then if containers want it can use another DI to set it up for user visibile customization (i.e. spring, cdi etc.) Not sure how they did it though - but might be worth a look ? /max On

Re: [hibernate-dev] Table and quoted names

2010-10-01 Thread Max Rydahl Andersen
, Max Rydahl Andersen wrote: missing attachement? /max On Sep 30, 2010, at 15:01, Steve Ebersole wrote: True enough. Attached is the code I developed for Hibernate 4 to handle this better. Care to gander? On Thu, 2010-09-30 at 15:09 +0300, Dmitry Geraskov wrote: Hi, guys, while I

Re: [hibernate-dev] Table and quoted names

2010-10-01 Thread Max Rydahl Andersen
I'd like to figure out if this could be determined by looking at the DatabaseMetaData before making the Dialects have to specify this. With the Dialects its just another thing we need to keep in synch. Not sure if you saw my comments in ObjectName wrt DatabaseMetaData, but those 2 were just

Re: [hibernate-dev] Table and quoted names

2010-10-01 Thread Max Rydahl Andersen
Ok, saw it now. I'm eery to requiring databasemetadata access as part of the Table model since I (at least until now) have been using them extensively without wanting to require a running db...(which is not a requirement today). I have to be honest that I fail to grasp when you would

Re: [hibernate-dev] Please provide guide line

2010-09-30 Thread Max Rydahl Andersen
hibernate.org, click doc. /max On Sep 30, 2010, at 08:02, Brajesh Patel wrote: Hello all, Please provide beginner guide for learn hibernate. Thanks in advance. -- Thanks Brajesh Patel ___ hibernate-dev mailing list

Re: [hibernate-dev] Table and quoted names

2010-09-30 Thread Max Rydahl Andersen
missing attachement? /max On Sep 30, 2010, at 15:01, Steve Ebersole wrote: True enough. Attached is the code I developed for Hibernate 4 to handle this better. Care to gander? On Thu, 2010-09-30 at 15:09 +0300, Dmitry Geraskov wrote: Hi, guys, while I was fixing some bug in hibernate

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

2010-09-28 Thread Max Rydahl Andersen
TransformOnRead TransformOnWrite ? MutateOnRead/Write ? /max On Sep 28, 2010, at 15:28, Steve Ebersole wrote: access does not capture the essence of what you are doing though which is mutating values to and fro. On Tue, 2010-09-28 at 08:57 -0400, Chris Bredesen wrote: read + write =

[hibernate-dev] .project/.classpath removed from hibernate tools trunk - use m2eclipse or similar

2010-09-23 Thread Max Rydahl Andersen
Hi, FYI I removed .classpath and .project from hibernatetools core project now that the pom.xml file is sane enough to be used from within m2eclipse. Thus if you update use m2eclipse to get a proper .project/.classpath instead of the current sometime machine specific metadata. Thanks, Max

Re: [hibernate-dev] Message-Templates from multiple JARs

2010-02-16 Thread Max Rydahl Andersen
- Emmanuel Bernard emman...@hibernate.org wrote: I don't see i18n as something that should necessarily be packaged inside a component. Resource keys are generally grouped in one or two files for the overall application (so that fixing a typo is quick). You must be developing small or

Re: [hibernate-dev] Unable to dispatch Entities in different jars

2010-02-05 Thread Max Rydahl Andersen
This discussion is super relevant for multi module project development in IDE's too. I've followed up - I hope emmanuel do too since this one actually is one of my biggest issues I have when it comes to autoscanning. /max - Bouiaw bou...@gmail.com wrote: Thanks for your answer. I

[hibernate-dev] Welcome Dima Geraskov as Hibernate Tools committer

2009-10-09 Thread Max Rydahl Andersen
Hi, Welcome Dima as a committer to hibernate svn to work on Hibernate Tools. His username is dgeraskov in case you bump into him in the svn logs ;) /max ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org

Re: [hibernate-dev] Unable to compile core

2009-10-01 Thread Max Rydahl Andersen
remove the line that says something about javassist byte enhancement. It breaks 9 out of 10 for me too. afaik, its some plugin Steve put into to generate the Version string - but it fails to work on my 3 machines, but work fine on Steve's ... I need one of those ;) /max Hardy Ferentschik

Re: [hibernate-dev] trunk project layout

2009-09-11 Thread Max Rydahl Andersen
In the words of Arnaud (commenter on the blog), isn't the GateIn approach what you want ? 1 project with submodules, all have the same version thus the parent is the reactor ? btw. I remember we initially did this parent were put in a dir on its own to make eclipse happy - that is not really

Re: [hibernate-dev] trunk project layout

2009-09-11 Thread Max Rydahl Andersen
In the words of Arnaud (commenter on the blog), isn't the GateIn approach what you want ? 1 project with submodules, all have the same version thus the parent is the reactor ? Different discussions. The GateIn approach is *functionally* no different than what we have today Max. The

Re: [hibernate-dev] trunk project layout

2009-09-11 Thread Max Rydahl Andersen
1 project with submodules, all have the same version thus the parent is the reactor ? btw. I remember we initially did this parent were put in a dir on its own to make eclipse happy - that is not really a concern anymore since later eclipse versions can handle having a root project and

Re: [hibernate-dev] Patch for HHH-272: Custom SQL for column gets and sets

2009-09-10 Thread Max Rydahl Andersen
thanks - I forgot the insert sql literals into the insert/update/query sql requirement :) /max Rob Hasselbaum wrote: On 09/07/2009 06:37 PM, Max Rydahl Andersen wrote: What is this doing that a parameterized custom type can't do ? Is this just to get a cleaner hbm.xml syntax or ? /max

Re: [hibernate-dev] Is Eclipse RCPed application including hibernate library covered under LGPL?

2009-08-18 Thread Max Rydahl Andersen
It seems that eclipse RCP is static link, because all related jars (all related libraries) are included in RCPed executable form automatically. Users can replace the hibernate.jar in your RCP app. Users can rebuild hibernate.jar and just put their own. assuming of course that you are

Re: [hibernate-dev] Is Eclipse RCPed application including hibernate library covered under LGPL?

2009-08-17 Thread Max Rydahl Andersen
Your application does not need to be LGPL as long as it follows the rules layed out in LGPL. i.e. as long as user can replace the hibernate jars with their own - and unless you are doing really funky things in your Eclipse RCP app then that is all doable by modifiying the plugin directory or

  1   2   >