[hibernate-dev] Feature proposal: Add Session-level batch size configuration

2015-11-04 Thread Vlad Mihalcea
Hi, I was browsing the Hibernate code and realized that the Batch/Non-Batch decision is taken based on the value of the "hibernate.jdbc.batch_size" SessionFactory configuration. Wouldn't be more flexible if we allow the Session to have a setBathSize(int size) method to override the batching config

[hibernate-dev] Hibernate documentation on GitHub

2015-11-10 Thread Vlad Mihalcea
Hi, What do you think if the Hibernate documentation would be on GitHub? It would be much easier for anyone to contribute to it and maybe fix typos and suggest improvements. Vlad ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists

[hibernate-dev] Sub entities and Multi-version support

2015-11-13 Thread Vlad Mihalcea
I've been seeing many blogs and articles against single-version optimistic locking, which can cause a transaction to abort even if two concurrent transactions don't modify the same records. While dynamic updates can help, many fear to use it because of performance issues (for very large tables).

Re: [hibernate-dev] Lazy attribute loading group support

2015-11-16 Thread Vlad Mihalcea
Hi, Sounds like a good idea. I like the lazy fetch profiles. Previously it required the Blob to be moved to a different table. Vlad Vlad On Mon, Nov 16, 2015 at 11:09 PM, Steve Ebersole wrote: > Regarding HHH-10267... > > 5.1 will include a new feature allowing users to specify groups for >

[hibernate-dev] Why does Hibernate has aggressive connection releasing for JTA

2015-11-17 Thread Vlad Mihalcea
Hi, Does anyone remember why does Hibernate support aggressive connection releasing? I've never found this requirement in either JTA or JDBC spec. Was it something required by the Java EE application server? Vlad ___ hibernate-dev mailing list hibernate

Re: [hibernate-dev] Sub entities and Multi-version support

2015-11-18 Thread Vlad Mihalcea
iple sub-tables, but to fetch the whole entity back, we would have to join all sub-tables, which has a performance impact on its own. Vlad On Wed, Nov 18, 2015 at 12:52 PM, Gunnar Morling wrote: > Hi Vlad, > > 2015-11-13 23:22 GMT+01:00 Vlad Mihalcea : > > I've been see

Re: [hibernate-dev] Sub entities and Multi-version support

2015-11-18 Thread Vlad Mihalcea
x). Does it make sense? Vlad On Wed, Nov 18, 2015 at 4:33 PM, Steve Ebersole wrote: > > On Wed, Nov 18, 2015 at 6:08 AM Vlad Mihalcea > wrote: > >> Hi Gunnar, >> >> The best article on this subject is this one: >> >> >> http://www.anyware.co.uk/

Re: [hibernate-dev] Why does Hibernate has aggressive connection releasing for JTA

2015-11-18 Thread Vlad Mihalcea
to still come back and add that; so much so in fact that > the enum already exists[1] :). > > [1] org.hibernate.ConnectionAcquisitionMode > > On Wed, Nov 18, 2015 at 1:45 AM Vlad Mihalcea > wrote: > >> Hi, >> >> Does anyone remember why does Hibernate supp

[hibernate-dev] Fwd: Sub entities and Multi-version support

2015-11-18 Thread Vlad Mihalcea
Actually both merge() and update() can still cause a "write skew" phenomena, especially when using dynamic updates + OptimisticLockType DIRTY or OptimisticLockType ALL

Re: [hibernate-dev] Hibernate documentation on GitHub

2015-11-19 Thread Vlad Mihalcea
Hi Steve, I didn't know of GitBook before. I was thinking if we can embed links in the jboss.org/hibernate documentation to the actual branch/documentation-file in Github. Something like a side arrow that, when being clicked, it can navigate to the GitHub page hosting the actual file that rendere

Re: [hibernate-dev] UserCollectionType mapping for Ceylon

2015-11-21 Thread Vlad Mihalcea
I think that only the Java Collection types work with the JPA @OneToMany associations, as it's described int his issue: https://hibernate.atlassian.net/browse/HHH-4417 So, even when specifying a @CollectionType, the return type must be a List/Set: @OneToMany(...) @CollectionType( type="MyCustomL

Re: [hibernate-dev] Why does Hibernate has aggressive connection releasing for JTA

2015-12-01 Thread Vlad Mihalcea
; P.S. I had to remove your image as the mailing list does not accept > attachments. > > On Thu, Nov 19, 2015 at 1:11 AM Vlad Mihalcea > wrote: > >> I wrote a test to replicate the aggressive release overhead ( >> https://github.com/vladmihalcea/high-performance-ja

[hibernate-dev] Documentation project - asciidoctor + CSS

2015-12-02 Thread Vlad Mihalcea
Hi, I started migrating the 5.0 docbook documentation to asciidoctor, and, because there wasn't any converter for such a task, I wrote a small shell script which uses pandoc. I managed to generate the asciidoc files from the current docbook, by using the html format the docbook generates. The res

Re: [hibernate-dev] Documentation project - asciidoctor + CSS

2015-12-02 Thread Vlad Mihalcea
Hi, > > On Wed, Dec 02, 2015 at 01:28:59PM +0200, Vlad Mihalcea wrote: > > > I started migrating the 5.0 docbook documentation to asciidoctor, and, > > because there wasn't any converter for such a task, I wrote a small shell > > script which uses pandoc. > >

Re: [hibernate-dev] Bytecode enhancement configuration

2015-12-04 Thread Vlad Mihalcea
I like the idea of having multiple properties to enable a particular bytecode enhancement feature. It could be that the clients want to speed-up dirty checking but they don't really use the lazy initialization. Vlad On Fri, Dec 4, 2015 at 8:29 AM, Luis Barreiro wrote: > Hi all, > > I would like

Re: [hibernate-dev] Bytecode enhancement configuration

2015-12-04 Thread Vlad Mihalcea
I investigated this issue: On master it's all fine: but the 5.0.5 tag didn't declare the Bytecode chapter: Vlad On Fri, Dec 4, 2015 at 1:43 PM, Steve Ebersole wrote: > On Fri, Dec 4, 2015 at 4:50 AM Sanne Grinovero > wrote: > > > Hi Luis, > > thanks for

[hibernate-dev] The 5.0 user guide is fully migrated to AsciiDoc

2015-12-04 Thread Vlad Mihalcea
Hi, I managed to migrate the whole User Guide to AsciiDoctor and you can check it out on this branch: https://github.com/vladmihalcea/hibernate-orm/tree/feature/asciidocs Next week, I'll start reading and reviewing it, and make a plan of what needs to be written so we have a full 5.0 user refere

[hibernate-dev] Hibernate site SEO optimization

2015-12-04 Thread Vlad Mihalcea
Hi, It seems like a good step to tackle the SEO optimization problem is to offer a "curent" link in our site to point to the latest docs. That's how PostgreSQL and Spring do it and once this link is indexed by google, it will always render the latest version of the docs: http://www.postgresql.org

[hibernate-dev] Spam on the Hibernate forum

2015-12-05 Thread Vlad Mihalcea
Hi, I saw there is some spam posting on the forum: https://forum.hibernate.org/search.php?search_id=unanswered Can we block the users to avoid sending more advertising links? Vlad ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://li

Re: [hibernate-dev] Spam on the Hibernate forum

2015-12-05 Thread Vlad Mihalcea
; Some of us start their day with 5 minutes forum cleanup, then 20 > minutes helping on some questions.. in the weekends you probably see > it at its worst as for example in my case I might not clean at all, or > do a quick check much later than normal. > > Sanne > > On 5 December

[hibernate-dev] Delay the identity generation to flush-time for transactional contexts too

2015-12-05 Thread Vlad Mihalcea
HI, I always wandered why the identity generator needs to assign an identifier prior to flushing. Because of this behavior, the JDBC batching is disabled which is bad news for MySQL where most setups use IDENTITY instead of TABLE generation type. Since the AbstractSaveEventListener supports the s

Re: [hibernate-dev] Hibernate site SEO optimization

2015-12-07 Thread Vlad Mihalcea
are available there. It's only that results from there have not a good > search result ranking apparently. > > --Gunnar > > > > 2015-12-04 20:42 GMT+01:00 Vlad Mihalcea : > > Hi, > > > > It seems like a good step to tackle the SEO optimization probl

[hibernate-dev] The HHH-9764 issue

2015-12-07 Thread Vlad Mihalcea
Hi, Someone on Twitter pointed out this issue: https://hibernate.atlassian.net/browse/HHH-9764 I managed to add a test case using the Hibernate ORM Test Templates and the issue is replicated. The question is whether we should run the version check when loading entities from the database. This iss

Re: [hibernate-dev] Spam on the Hibernate forum

2015-12-07 Thread Vlad Mihalcea
9:01, andrea boriero wrote: > > cleaned up :) > > > > On 5 December 2015 at 15:27, Vlad Mihalcea > wrote: > >> > >> Hi, > >> > >> Can someone make me admin as well, as I can help with the cleaning as > >> well. > >&

Re: [hibernate-dev] Delay the identity generation to flush-time for transactional contexts too

2015-12-07 Thread Vlad Mihalcea
on the instances passed > (and constructed) by the end user, I suspect such a feature would only > be safe to be enabled for those using bytecode enhanced entities? > > Seems like a big one.. you think it's worth it? People might simply > use an in-memory id generation stra

Re: [hibernate-dev] Delay the identity generation to flush-time for transactional contexts too

2015-12-07 Thread Vlad Mihalcea
t; > On Sat, Dec 5, 2015 at 11:46 PM Vlad Mihalcea > wrote: > >> HI, >> >> I always wandered why the identity generator needs to assign an identifier >> prior to flushing. >> > > In general, how else do you propose to obtain the identifier with which w

Re: [hibernate-dev] The HHH-9764 issue

2015-12-07 Thread Vlad Mihalcea
Thanks for investigating it. On Mon, Dec 7, 2015 at 9:40 PM, Gail Badner wrote: > This is something that got broken in 4.3 when we moved to using load > plans. I agree this needs to be fixed. I will get to this later this week. > > On Mon, Dec 7, 2015 at 12:18 AM, Vlad Mihal

Re: [hibernate-dev] Delay the identity generation to flush-time for transactional contexts too

2015-12-07 Thread Vlad Mihalcea
IDENTITY insert to flush-time. Vlad On Mon, Dec 7, 2015 at 9:04 PM, Steve Ebersole wrote: > WDYM by "Hibernate-native Batching API"? > > > On Mon, Dec 7, 2015 at 12:57 PM Vlad Mihalcea > wrote: > >> I'm sure it require a significant change since the persiste

[hibernate-dev] Forum changes proposal

2015-12-07 Thread Vlad Mihalcea
Hi, I was discussing with Steve on the HipChat page yesterday that we should probably enable these forum options: Enable queued posts: Ability to put registered users posts to post approval if their post count is lower than the specified value below. This setting has no effect on the permission se

Re: [hibernate-dev] Hibernate site SEO optimization

2015-12-08 Thread Vlad Mihalcea
canonical URL, I'll ask if we need both actions. > > On 7 December 2015 at 08:12, Vlad Mihalcea > wrote: > > Thanks for pointing that out. > > > > The robots.txt is in place https://docs.jboss.org/robots.txt. > > But I couldn't find the sitemap.xml > >

[hibernate-dev] Support for org.hibernate.flushMode setting

2015-12-08 Thread Vlad Mihalcea
Hi, I stumble don this question on the forum: https://forum.hibernate.org/viewtopic.php?f=1&t=1042301 I remember there used to be a "org.hibernate.flushMode" configuration property (Steve mentioned this configuration property on SO too): http://stackoverflow.com/questions/13259677/how-do-i-set-

Re: [hibernate-dev] Support for org.hibernate.flushMode setting

2015-12-08 Thread Vlad Mihalcea
ted that on > the EntityManagerFactory/SessionFactory. > > On Tue, Dec 8, 2015 at 11:50 AM Vlad Mihalcea > wrote: > >> Hi, >> >> I stumble don this question on the forum: >> >> https://forum.hibernate.org/viewtopic.php?f=1&t=1042301 >> >&g

Re: [hibernate-dev] Forum changes proposal

2015-12-08 Thread Vlad Mihalcea
O are important and we should blend them, rather than pick one over the other. Vlad On Wed, Dec 9, 2015 at 12:42 AM, Brett Meyer wrote: > On 12/08/2015 02:46 AM, Vlad Mihalcea wrote: > > Hi, > > > > I was discussing with Steve on the HipChat page yesterday that we should

Re: [hibernate-dev] Forum changes proposal

2015-12-09 Thread Vlad Mihalcea
l the > users ourselves if they don't help each other too. > > > So both the forum and SO are important and we should blend them, rather > > than pick one over the other. > > > > Vlad > > > > On Wed, Dec 9, 2015 at 12:42 AM, Brett Meyer > wrote: >

Re: [hibernate-dev] Forum changes proposal

2015-12-09 Thread Vlad Mihalcea
Nice! It works guys. Go to the forum and check the post that I entered. It has a question mark attached and if you log out you cannot see it. This got to discourage the spammers, for sure. Vlad On Wed, Dec 9, 2015 at 12:28 PM, Vlad Mihalcea wrote: > I think we have the opt

Re: [hibernate-dev] Hibernate site SEO optimization

2015-12-09 Thread Vlad Mihalcea
Related to this, the sitemap is limited to 50k entries and hosting multiple projects, each one with tons of pages, is going to limit the number of entries we get in the sitemap. Is there any change we host the docs on hibernate.org and simply redirect the old pages from http://docs.jboss.org/hiber

Re: [hibernate-dev] Forum changes proposal

2015-12-09 Thread Vlad Mihalcea
Interesting thoughts. In last 6 days we got 24 questions about Hibernate and around 30-40 spam messages. That's why I think it's good to have that option enabled, otherwise the forum will not look professional at all. Once a user has been accepted, any new post will propagate automatically. So it

Re: [hibernate-dev] Forum changes proposal

2015-12-09 Thread Vlad Mihalcea
Sounds reasonable and straightforward. I subscribe to have dedicated channels to our community and to make it clear which one is best suited for a given topic. Vlad On Wed, Dec 9, 2015 at 11:58 PM, Sanne Grinovero wrote: > On 9 December 2015 at 20:49, Hardy Ferentschik > wrote: > > Hi, > > > >

Re: [hibernate-dev] [ORM] Synchronization on AbstractLoadPlanBasedLoader

2015-12-14 Thread Vlad Mihalcea
Hi, We really need to test it thoroughly because the current pooled optimizer are reasonably fast especially when used with a database sequence. The table generators are slow because of the row-level locking, so I won't include those in this discussion. What strikes me is the synchronized block w

Re: [hibernate-dev] [ORM] Synchronization on AbstractLoadPlanBasedLoader

2015-12-14 Thread Vlad Mihalcea
> hibernate-dev discussion? > > > On Mon, Dec 14, 2015 at 11:10 AM Vlad Mihalcea > wrote: > >> Hi, >> >> We really need to test it thoroughly because the current pooled optimizer >> are reasonably fast especially when used with a database sequence. >

Re: [hibernate-dev] IP banned from forum

2015-12-21 Thread Vlad Mihalcea
Hi Gunnar, I added an IP ban on a Class A private address that generated tens of span in the last two days. I thought that most users will use the actual domain IP, but it looks like this is not the case with phpBB. I'll remove that and it will work for you. Vlad On Mon, Dec 21, 2015 at 10:33 AM

Re: [hibernate-dev] javax.money

2015-12-22 Thread Vlad Mihalcea
That's how Bitronix Transaction Manager managed optional dependencies as well. In its case cglib and javassist were optional dependencies and at runtime the framework decided whether to load one provider or the other. Vlad On Tue, Dec 22, 2015 at 8:01 PM, Sanne Grinovero wrote: > On 22 December

Re: [hibernate-dev] javax.money

2015-12-22 Thread Vlad Mihalcea
ly). > > 'optional' is flat out wrong; that is well documented elsewhere. I can > be persuaded to use 'provided' for something like this, as I already stated. > > > On Tue, Dec 22, 2015 at 12:26 PM Vlad Mihalcea > wrote: > >> That's how Bi

[hibernate-dev] HHH-5855 bug report and a possible fix

2015-12-23 Thread Vlad Mihalcea
Hi guys I decided to spend some time to investigate the infamous HHH-5855 ( https://hibernate.atlassian.net/browse/HHH-5855 ) bug and this is my report. One of the first thing that I noticed is that Sets are fine, while this bug only replicates with bidirectional Bags. After some hours of debug

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2015-12-23 Thread Vlad Mihalcea
e: > >> Hi Vlad, >> >> I've spend quite a bit of time on this one and already have a fix. I just >> have some tests to add to confirm. I will look into what you suggest, but >> please check with me first if you see that an issue is assigned to me. >> >>

[hibernate-dev] Merry Christmas everyone

2015-12-24 Thread Vlad Mihalcea
Merry Christmas guys and have a great time during the winter holidays. Vlad ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

[hibernate-dev] Hibernate biweekly newsletter

2015-12-24 Thread Vlad Mihalcea
Hi, I have an idea of hosting a biweekly newsletter on the in.releation.to blog with blogs, articles and worthy SO questions related to the Hibernate products. We could start this in 2016. This way we can promote the ones writing about Hibernate and we can also share more info on our blog. Let m

Re: [hibernate-dev] Hibernate biweekly newsletter

2015-12-27 Thread Vlad Mihalcea
Great. I'll start collecting material from SO, Twitter, Reddit and prepare a list for the first post. Vlad On Sun, Dec 27, 2015 at 6:49 PM, Hardy Ferentschik wrote: > Hi, > > > +1 from me on the concept. > > Same here. What would you write about? > > We tried several times to ramp up on the num

[hibernate-dev] Spambots can break the gdCaptcha we use for the forum

2015-12-27 Thread Vlad Mihalcea
Hi, I bumped into this phpBB discussion, where it's started that most captchas have been broken by spambots (including the gdCaptcha we use for the Hibernate forum): https://www.phpbb.com/community/viewtopic.php?f=46&t=2122696 Should we add an admin user registration option, which might break th

[hibernate-dev] Inactive users Hibernate forum

2015-12-28 Thread Vlad Mihalcea
Hi, I switched to manual activation of users to see if that breaks the spamming bots. Since we have around 400 inactive users on the forum, I was wondering if we can just delete those since they haven't ever responded to the activation email that was sent to them? Some are inactive from 2006. If

Re: [hibernate-dev] Inactive users Hibernate forum

2015-12-28 Thread Vlad Mihalcea
atic registration, but > restrict them until we've approved one of their posts. Any reason for > the switch? > > Brett Meyer > 3River Development, LLC > br...@3riverdev.com > 260.349.5732 > > On 12/28/2015 03:38 AM, Vlad Mihalcea wrote: > > Hi, > > >

[hibernate-dev] Hibernate forum inactive users pruning

2016-01-06 Thread Vlad Mihalcea
Hi, Among all 75000 registered users, 1 used to be inactive ones (registered without any post). Regular users are always creating an account and post at least one question on the forum, so there is no reason why we should keep 13 years old user accounts that haven't posted anything on the for

Re: [hibernate-dev] Hibernate forum inactive users pruning

2016-01-06 Thread Vlad Mihalcea
performance of the forum. > > On Wed, Jan 6, 2016 at 9:53 AM Vlad Mihalcea > wrote: > >> Hi, >> >> Among all 75000 registered users, 1 used to be inactive ones >> (registered without any post). >> >> Regular users are always creating an account and

Re: [hibernate-dev] HHH-10307 - JTA dependency

2016-01-06 Thread Vlad Mihalcea
Hi, Since the Hibernate core relies on the JTA dependency, I think we shouldn't provide that dependency. When someone doesn't want it he should explicitly mark that (e.g. Maven exclude). This way we can also address the parent issue: https://hibernate.atlassian.net/browse/HHH-10178 Vlad On Wed,

Re: [hibernate-dev] HHH-10307 - JTA dependency

2016-01-06 Thread Vlad Mihalcea
have argued this for ages... I think this is a fundamental missing > construct in Maven dependency mappings: the ability to say "remap" all > references to a particular spec jar coord to another. Gradle luckily > allows users to do that (granted somewhat verbosely), Maven simply do

[hibernate-dev] Quoting JPA specs

2016-01-07 Thread Vlad Mihalcea
Hi, I know that any quoting from a copyrighted material needs written approval. The JPA specs are under copyright, so instead of quoting we should just provide the section and make a summary in our own wording. Vlad ___ hibernate-dev mailing list hibern

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2016-01-07 Thread Vlad Mihalcea
. I wanted to create a pull request of what I have so far. I > will revisit it when I return to work 1/14/16. I plan to address the other > bugs separately. > > Regards, > Gail > > [1] https://github.com/hibernate/hibernate-orm/pull/1212 > > On Wed, Dec 23, 2015 at 12:05 PM

[hibernate-dev] Is the the optional=false @OneToOne lazy retrieval still relevant

2016-01-08 Thread Vlad Mihalcea
Hi, I remember that for a bidirectional @OneToOne relationship, the optional = false attribute could instruct Hibernate to always generate a Proxy (because this association cannot be null), so, if the fetch is LAZY, it would not generate a secondary query upon fetching the parent-side entity. I t

Re: [hibernate-dev] Is the the optional=false @OneToOne lazy retrieval still relevant

2016-01-10 Thread Vlad Mihalcea
over 5 > years ago: > > https://hibernate.atlassian.net/browse/HHH-3930 > > Martijn > > > On Fri, Jan 8, 2016 at 4:08 PM, Vlad Mihalcea > wrote: > > Hi, > > > > I remember that for a bidirectional @OneToOne relationship, the optional > = > > false a

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-11 Thread Vlad Mihalcea
I used Java 8 syntax in the User Guide tests as I remembered that tests can use it, but I also agree that this is a rather strange move. Since we need to support Java 1.6, maybe it's a better idea to use the latest JDK just in the modules where we have no other choice. For testing, I think that 1.6

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
roposal to use the same JDK for tests and main code in > > > > a given module. > > > > > > > > Infinispan requires Java8 at runtime too, so that module should be > the > > > > only one to use Java8? > > > > > > > > On 12 January 2016

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
sure your examples actually compile (and pass > tests) and you don't need to copy & paste them. > > Cheers, > > --Gunnar > > [1] > https://raw.githubusercontent.com/hibernate/hibernate-validator/master/documentation/src/main/asciidoc/ch11.asciidoc > > > 201

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
Gunnar >> >> [1] >> https://raw.githubusercontent.com/hibernate/hibernate-validator/master/documentation/src/main/asciidoc/ch11.asciidoc >> >> >> 2016-01-13 15:30 GMT+01:00 Vlad Mihalcea : >> > Hi Steve, >> > >> > The User Guide illust

Re: [hibernate-dev] Hibernate ORM and Java 8 usage

2016-01-13 Thread Vlad Mihalcea
urse one can skip it for quick docs > rendering during authoring. > > > 2016-01-13 15:57 GMT+01:00 Vlad Mihalcea : > >> This is how you mark an anchor in the source code: >> >> >> //tag::constraintMapping[]HibernateValidatorConfiguration configuration >>

Re: [hibernate-dev] JIRA: Activity dashboard not accessible for anonymous users

2016-01-13 Thread Vlad Mihalcea
Although not related to the issue, can someone add more rights to my JIRA account, at least to edit my own posts. Vlad On Thu, Jan 14, 2016 at 9:02 AM, Gunnar Morling wrote: > Hi, > > When not being logged into JIRA, I am getting an error when opening > the "Activity" view in JIRA, e.g. at > ht

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
I see that the production and the staging are out of sync now and trying to merge the upstream production leads to a merge commit. How do we normally handle the cases when the production branch history diverges from staging? Vlad On Thu, Jan 14, 2016 at 8:46 AM, Gunnar Morling wrote: > Davide

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
Hi, > > On Thu, Jan 14, 2016 at 10:37:42AM +0200, Vlad Mihalcea wrote: > > I see that the production and the staging are out of sync now and trying > to > > merge the upstream production leads to a merge commit. > > > > How do we normally handle the cases when the

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
eave it set to (or > fast-forwardable to) production when I am done with a given authoring > job. So the next guy coming after me doesn't have to care about any > non-published commits on staging. > > > 2016-01-14 10:21 GMT+01:00 Vlad Mihalcea : > > Hi, > > >

[hibernate-dev] Activate URL links on blog

2016-01-14 Thread Vlad Mihalcea
Hi, Since we are now moderating the forum and disallow new users from posting, we can activate links on the forum to increase user experience. What do you think? Vlad ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/m

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
Thanks. The two branches are now in-sync. Vlad On Thu, Jan 14, 2016 at 2:22 PM, Hardy Ferentschik wrote: > Hi, > > > Do we have to rewrite the staging history to match production and force > > push it? > > If you want staging to look like production, just push the production > branch onto stagi

[hibernate-dev] Forum database banned emails issue

2016-01-15 Thread Vlad Mihalcea
Hi, I tried to import the last 24 hour forum spam emails form https://www.stopforumspam.com/, which is around 50k email entries. The email were imported, but now the banned email page of the forum doesn't load anymore. The problem is related to how phpBB renders the page since there's a dropdown

[hibernate-dev] Keyset pagination support

2016-01-16 Thread Vlad Mihalcea
Hi, I think it will be useful to consider adding support for Keyset pagination: http://use-the-index-luke.com/no-offset This could be a very strong feature that would set us apart from our competition. Vlad ___ hibernate-dev mailing list hibernate-dev

Re: [hibernate-dev] Forum database banned emails issue

2016-01-16 Thread Vlad Mihalcea
anyone who knows this information, could you also update that > > resources page? > > > > On Fri, Jan 15, 2016 at 4:57 AM Vlad Mihalcea > > wrote: > > > >> Hi, > >> > >> I tried to import the last 24 hour forum spam emails form > >> ht

Re: [hibernate-dev] Forum database banned emails issue

2016-01-16 Thread Vlad Mihalcea
PM, Sanne Grinovero wrote: > I Vlad, > I'm sorry, it seems my credentials expired. I opened a ticket, it > might take some time though. > You might want to open a ticket to get credentials too. > > Sanne > > On 16 January 2016 at 11:42, Vlad Mihalcea > wrote:

[hibernate-dev] The stable docs

2016-01-19 Thread Vlad Mihalcea
Hi, I remember that the stable docs were fixed and they were pointing to 5.0.6, but now, they are referring 4.0.1: http://docs.jboss.org/hibernate/stable/core/javadocs/ Does the project release procedure copy the old docs onto the stable folder? Vlad

Re: [hibernate-dev] 2LC docs

2016-01-20 Thread Vlad Mihalcea
Hi Radim, I'm now filling in the missing sections on the Caching chapter in the 5.1 User Guide. Vlad On Wed, Jan 20, 2016 at 11:32 AM, Radim Vansa wrote: > I would say that the best source is 4.x docs, since the cited source is > what I describe by 'close to nothing'. > > I understand that for

Re: [hibernate-dev] 2LC docs

2016-01-21 Thread Vlad Mihalcea
think. Vlad On Wed, Jan 20, 2016 at 11:57 AM, Vlad Mihalcea wrote: > Hi Radim, > > I'm now filling in the missing sections on the Caching chapter in the 5.1 > User Guide. > > Vlad > > On Wed, Jan 20, 2016 at 11:32 AM, Radim Vansa wrote: > >> I would say that t

Re: [hibernate-dev] 2LC docs

2016-01-25 Thread Vlad Mihalcea
Hi, I have some sequence diagrams depicting the async/sync behavior if you are interested: For async: NONSTREICT_READ_WRITE and READ_WRITE: http://vladmihalcea.com/2015/05/18/how-does-hibernate-nonstrict_read_write-cacheconcurrencystrategy-work/ http://vladmihalcea.com/2015/05/25/how-does-hibern

Re: [hibernate-dev] 2LC docs

2016-01-25 Thread Vlad Mihalcea
gt; cache concurrency strategy, should it? CCS should define only the isolation > level achieved, and that is: > * nonstrict-read-write: read committed with short window for stale reads > during commit > * read-write: read committed > * transactional: serializable > > Radim >

Re: [hibernate-dev] Fwd: Build failed in Jenkins: hibernate-orm-master-h2 #1316

2016-01-26 Thread Vlad Mihalcea
I could replicate it on my local machine too: javadoc: error - java.lang.ClassCastException: com.sun.tools.javadoc.MethodDocImpl cannot be cast to com.sun.tools.javadoc.AnnotationTypeElementDocImpl :documentation:aggregateJavadocs FAILED http://stackoverflow.com/questions/44853/why-am-i-getting-a

Re: [hibernate-dev] Fwd: Build failed in Jenkins: hibernate-orm-master-h2 #1316

2016-01-26 Thread Vlad Mihalcea
t found that too. But what specifically? I found it by brute >> force lol >> >> >> On Tue, Jan 26, 2016 at 10:07 AM andrea boriero >> wrote: >> >>> the failure is caused by the javadoc of >>> AvailabeSettings#GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN

Re: [hibernate-dev] Configuration to support batching (or sorting) of DELETE statements efficiently

2016-01-26 Thread Vlad Mihalcea
This must be done like insert but in reverse order. With inserts, we need to add parents first and children after, because of the foreign key constraints. For delete, we need to group children first and delete them prior to deleting parents. Is there something that prevents us from implementing th

Re: [hibernate-dev] Configuration to support batching (or sorting) of DELETE statements efficiently

2016-01-27 Thread Vlad Mihalcea
Then we can add this task as a feature request and see when we have some time to add support for it. Vlad On Wed, Jan 27, 2016 at 6:54 PM, Steve Ebersole wrote: > Just pesky things like resources ;) > > On Wed, Jan 27, 2016 at 12:43 AM Vlad Mihalcea > wrote: > >> This mus

[hibernate-dev] JDBC warnings performance matter

2016-01-27 Thread Vlad Mihalcea
Hi, The guys at Plumbr wrote an article about how MySQL JDBC warnings are handled by Hibernate: https://plumbr.eu/blog/io/how-we-accidentally-doubled-our-jdbc-traffic-with-hibernate I remember seeing this issue on StackOverflow too and I was curious if you want to tweak it a little bit. I also a

Re: [hibernate-dev] Configuration to support batching (or sorting) of DELETE statements efficiently

2016-01-27 Thread Vlad Mihalcea
I created this JIRA issue for this: https://hibernate.atlassian.net/browse/HHH-10483 Vlad On Wed, Jan 27, 2016 at 7:02 PM, Vlad Mihalcea wrote: > Then we can add this task as a feature request and see when we have some > time to add support for it. > > Vlad > > On Wed, Jan 2

Re: [hibernate-dev] HHH-6726 LONG and LONG RAW column types in Oracle

2016-01-27 Thread Vlad Mihalcea
Hi, Shouldn't we use the database metadata to know what SQL column type we are mapping to? I don't think we should do heuristic determination of types: Type result = metadata.getTypeResolver().heuristicType( typeName, typeParameters ); When Hibernate starts, we could inspect the underlying tabl

Re: [hibernate-dev] How best to eliminate the Javassist dependency from Hibernate applications...

2016-02-03 Thread Vlad Mihalcea
Hi, If the user has used bytecode enhancement, the generated transformed entity classes depend on Javassist too, and that's even more complicated because it requires the client to regenerate those classes if we drop support for Javassist. Vlad On Wed, Feb 3, 2016 at 4:55 PM, Emmanuel Bernard wr

Re: [hibernate-dev] User guide test failure

2016-02-05 Thread Vlad Mihalcea
Hi, I committed a fix. The issue was due to time zones, so the result set varies between 1 and 2 because the entities were added with a LocalDateTime. I'll check it on Jenkins too. Let me know if it works now. Vlad On Fri, Feb 5, 2016 at 11:44 AM, Gail Badner wrote: > Hi, > > I just pulled and

Re: [hibernate-dev] Entity-joins (HHH-16 and HHH-7321)

2016-02-08 Thread Vlad Mihalcea
Hi. It's fine to assume that implicit joins and entity-joins don't mix and document this behavior. When using explicit joins: select f.id, c.name, f.postDate, u.username from FinancialRecord f inner join f.customer c left join User u on f.lastUpdateBy = u.username We get

Re: [hibernate-dev] HHH-9548 - stored procedures and null parameter values

2016-02-08 Thread Vlad Mihalcea
I agree that it looks quite strange, especially considering the existing API. I believe that, if JPA falls short on specifying something, we should rather cover that in the Hibernate-specific API. Vlad On Tue, Feb 9, 2016 at 1:06 AM, Steve Ebersole wrote: > I have heard no feedback, especially

[hibernate-dev] Batch version data support in Dialect

2016-02-08 Thread Vlad Mihalcea
Hi, While browsing the PRs on GitHub, I stumbled on this issue: https://hibernate.atlassian.net/browse/HHH-10290 In the current implementation, the hibernate.jdbc.batch_versioned_data property is set to true and we override it at Dialect-level as follows: public Oracle12cDialect() { super();

Re: [hibernate-dev] Batch version data support in Dialect

2016-02-10 Thread Vlad Mihalcea
t > setting". That's not how SessionFactoryOptionsStateStandardImpl and the > config map building works. > > On Mon, Feb 8, 2016 at 11:58 PM Vlad Mihalcea > wrote: > >> Hi, >> >> While browsing the PRs on GitHub, I stumbled on this issue: >>

Re: [hibernate-dev] Starting 5.1.0 release

2016-02-10 Thread Vlad Mihalcea
Congrats! I checked the docs but the User Guide is still the old one: http://docs.jboss.org/hibernate/orm/5.1/userGuide/en-US/html_single/ Should we make the switch in a future release? On Wed, Feb 10, 2016 at 8:20 PM, Sanne Grinovero wrote: > Congratulations!! > > On 10 February 2016 at 18:16

Re: [hibernate-dev] Starting 5.1.0 release

2016-02-10 Thread Vlad Mihalcea
Hi, I haven't changed the current build process. I'll have to investigate where to make the change. On Wed, Feb 10, 2016 at 9:01 PM, Steve Ebersole wrote: > I thought you had updated the documentation build to build this? > > > On Wed, Feb 10, 2016 at 12:31 PM

Re: [hibernate-dev] Version-specific data on hibernate.org (was Re: Starting 5.1.0 release)

2016-02-10 Thread Vlad Mihalcea
; > productization? To be honest, I am not even sure those builds (and maybe > > even 5.0 at this point) should be updating the doc server. > > > > > > > > On Wed, Feb 10, 2016 at 1:09 PM Steve Ebersole > > wrote: > > > >> I need to deal with

Re: [hibernate-dev] Eager fetch and duplicates of collection elements

2016-02-11 Thread Vlad Mihalcea
Hi, True. I also wondered why don't we use the DISTINCT as the default mechanism. While the underlying SQL would return a result-set according to the total number of joined relations, we are building the entity tree hierarchy and I don's see why a user would be interested in getting duplicate root

Re: [hibernate-dev] documentation translations

2016-02-11 Thread Vlad Mihalcea
I think it's nearly impossible to keep documentation to date across several languages. If the users haven't complained that we didn't maintain the non-English docs, I'd suppose we could simply focus on the English version only. Google Chome does a decent job when translating articles from English

Re: [hibernate-dev] Who deleted http://docs.jboss.org/hibernate/validator ?

2016-02-12 Thread Vlad Mihalcea
The 5.1 docs are also missing too: http://hibernate.org/orm/documentation/5.1 I remember I saw the old-style guide right after the 5.1 release. Vlad On Fri, Feb 12, 2016 at 6:44 PM, Steve Ebersole wrote: > That's strange. As far as I know we actually cannot delete from there. At > least I w

Re: [hibernate-dev] Who deleted http://docs.jboss.org/hibernate/validator ?

2016-02-12 Thread Vlad Mihalcea
e.org/validator/documentation/ >>>> >> > >>>> >> > >>>> >> > >>>> >> > On Fri, Feb 12, 2016 at 5:08 PM, Steve Ebersole < >>>> st...@hibernate.org> >>>> >> >

Re: [hibernate-dev] 5.1 ORM docs

2016-02-12 Thread Vlad Mihalcea
That's great news. We have the chance of overriding the old Google index now because the new User Guide has a different content than the old doc. If by default, we redirect the user to the "current" version, then we could make sure that Google returns the same link even after we switch to a new ve

  1   2   3   4   >