[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).

[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

[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

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

2015-11-18 Thread Vlad Mihalcea
that way, and hope 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 <mihalcea.v...@gmail.com> > wrote: > >> Hi, >&

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

2015-11-18 Thread Vlad Mihalcea
nse? Vlad On Wed, Nov 18, 2015 at 4:33 PM, Steve Ebersole <st...@hibernate.org> wrote: > > On Wed, Nov 18, 2015 at 6:08 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi Gunnar, >> >> The best article on this subject is this one: >> >>

[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

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

2015-12-07 Thread Vlad Mihalcea
19:01, andrea boriero <drebor...@gmail.com> wrote: > > cleaned up :) > > > > On 5 December 2015 at 15:27, Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> > >> Hi, > >> > >> Can someone make me admin as well, as

[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=1042301 I remember there used to be a "org.hibernate.flushMode" configuration property (Steve mentioned this configuration property on SO too):

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

2015-12-08 Thread Vlad Mihalcea
know we have never supported that on > the EntityManagerFactory/SessionFactory. > > On Tue, Dec 8, 2015 at 11:50 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> I stumble don this question on the forum: >> >> https://forum.hibe

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

2015-12-02 Thread Vlad Mihalcea
rg> wrote: > 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 use

[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

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

[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

[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:

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

2015-12-05 Thread Vlad Mihalcea
essed last summer. > > 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. >

Re: [hibernate-dev] Hibernate site SEO optimization

2015-12-07 Thread Vlad Mihalcea
he latest final version docs > 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 <mihalcea.v...@gmail.com>: > > Hi, > > > > It seems like a good

[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

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 <mihalcea.v...@gmail.com> wrote: > I thin

Re: [hibernate-dev] Forum changes proposal

2015-12-09 Thread Vlad Mihalcea
n 9 December 2015 at 07:02, Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > > Hi, > > > > I agree that a value of 1 is sufficient too. Once a user posted a > > Hibernate-related question, there is no way he will want to spam the > forum. > > +1 > Is t

Re: [hibernate-dev] Forum changes proposal

2015-12-08 Thread Vlad Mihalcea
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 <br...@hibernate.org> wrote: > On 12/08/2015 02:46 AM, Vlad Mihalcea wrote: > > Hi, > > > > I was discussing with Steve on the HipChat pa

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

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

[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

[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

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 <gbad...@redhat.com> 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

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

2015-12-07 Thread Vlad Mihalcea
the IDENTITY insert to flush-time. Vlad On Mon, Dec 7, 2015 at 9:04 PM, Steve Ebersole <st...@hibernate.org> wrote: > WDYM by "Hibernate-native Batching API"? > > > On Mon, Dec 7, 2015 at 12:57 PM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >>

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

2015-12-07 Thread Vlad Mihalcea
he 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 strategy. > >

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

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

2015-12-14 Thread Vlad Mihalcea
nd the other current > hibernate-dev discussion? > > > On Mon, Dec 14, 2015 at 11:10 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> We really need to test it thoroughly because the current pooled optimizer >> are reasonably fast

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

[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

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

2016-01-06 Thread Vlad Mihalcea
t on overall > performance of the forum. > > On Wed, Jan 6, 2016 at 9:53 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> Among all 75000 registered users, 1 used to be inactive ones >> (registered without any post). >> >&g

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
nsitively. > > I 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 verbosel

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

2016-01-07 Thread Vlad Mihalcea
work-in-progess. 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

[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

Re: [hibernate-dev] javax.money

2015-12-22 Thread Vlad Mihalcea
atically). > > '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 <mihalcea.v...@gmail.com> > wrote: > >> That's how Bitron

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

[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

[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=2122696 Should we add an admin user registration option, which might break the

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

[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.

Re: [hibernate-dev] Inactive users Hibernate forum

2015-12-28 Thread Vlad Mihalcea
to allow automatic 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, >

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

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

2015-12-23 Thread Vlad Mihalcea
at.com> wrote: > >> 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

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

2015-12-01 Thread Vlad Mihalcea
applications. > > 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 <mihalcea.v...@gmail.com> > wrote: > >> I wrote a test to replicate the aggressive release overhead ( >> ht

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

2015-11-18 Thread Vlad Mihalcea
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 <gun...@hibernate.org> wrote: > Hi Vlad, > > 2015-11-13 23:22 GMT+01:00 Vlad Mihalcea <mihalc

[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-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] 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(

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

[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

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

[hibernate-dev] Jira issues to integrate in 5.1

2016-06-07 Thread Vlad Mihalcea
Hi, Because 5.1 is the last version supporting 1.6, I think it's worth to integrate as many fixes as we can that are now only available on the 5.2 branch. Therefore, I collected a list of issues so that you can tell me which ones you'd like me to cherry pick on 5.1:

[hibernate-dev] RequiresDialects vs RequiresDialect

2016-06-08 Thread Vlad Mihalcea
Hi, While writing a cross-dialect test, I bumped into the following issue: https://hibernate.atlassian.net/browse/HHH-10814 The question is why do we have a @RequiresDialects annotation: @RequiresDialects({ @RequiresDialect(PostgreSQL81Dialect.class),

[hibernate-dev] Stream result change proposal

2016-06-07 Thread Vlad Mihalcea
Hi, While writing documentation for the new 5.2 Query.stream() API, I realized that we don't return a Stream, but a Stream which could confuse users. This is because ScrollableResultsImpl does something like this: if ( result != null && result.getClass().isArray() ) { currentRow =

Re: [hibernate-dev] Stream result change proposal

2016-06-07 Thread Vlad Mihalcea
lass.cast( row[0] ) ) call should be avoided and we should return a Stream in this case. Vlad On Tue, Jun 7, 2016 at 12:50 PM, Vlad Mihalcea <mihalcea.v...@gmail.com> wrote: > Hi, > > While writing documentation for the new 5.2 Query.stream() API, I realized > that we

[hibernate-dev] SQL query interceptor

2016-06-08 Thread Vlad Mihalcea
Hi, During testing, it's very useful to have an SQL query interceptor that we can inspect to see if the generated SQL query contains a certain SQL clause. There are multiple ways we could implement this kind of feature: 1. We could add a public String[] getSQLQueries(); in the Statistics

[hibernate-dev] Regarding release versioning

2016-06-08 Thread Vlad Mihalcea
Hi, I have seen the frustration from the Spring Data team trying to keep up with our code changes that break their integrations, and I was wondering if we should use some Release candidates prior to releasing a start of a branch, even if it's a minor one. This way, instead of 5.2.0, we could

Re: [hibernate-dev] Regarding release versioning

2016-06-08 Thread Vlad Mihalcea
ate Search). >> >> I could have pre-tested snapshot builds but didn't have time for that >> - and didn't expect 5.2 to be released without a Beta period, or I >> would have made time for that. >> >> >> On 8 June 2016 at 08:09, Vlad Mihalcea <mihalcea.v...@gmail.com&g

Re: [hibernate-dev] Regarding release versioning

2016-06-08 Thread Vlad Mihalcea
. Vlad On Wed, Jun 8, 2016 at 5:32 PM, Steve Ebersole <st...@hibernate.org> wrote: > On Wed, Jun 8, 2016 at 9:20 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> If there is a backward incompatibility issue, we catch it in the CR >> release and, by the time

[hibernate-dev] Code style question

2016-05-30 Thread Vlad Mihalcea
Hi, I'm currently using the IDEA code style from the GitHUb repo: https://github.com/hibernate/hibernate-ide-codestyles However, not all classes use the same styling, so which one is correct in regards to Annotations parameters? 1. OnExpectedFailure @Retention( RetentionPolicy.RUNTIME )

[hibernate-dev] UserType backward incompatibility in 5.2

2016-06-01 Thread Vlad Mihalcea
Hi, I think that HEM introduced a backward incompatibility for UserTypes because the contract has changed for nullSafeGet and nullSafeSet. Instead of a SessionImplementor, we now need to provide a SharedSessionContractImplementor. This is going to break all UserTypes classes that were

[hibernate-dev] 5.1 branch backporting

2016-05-31 Thread Vlad Mihalcea
Hi, I have backported some fixed to 5.1, and I'm not sure if that was the right thing to do. I know that for 5.0 we should ask Gail if to backport anything Now that we moved to 5.2, should we also ask Gail when to backport something to 5.1 too? Vlad

[hibernate-dev] Handling connections properly during testing with Java 1.8

2016-06-16 Thread Vlad Mihalcea
Hi, Now that we moved to Java 1.8, would you like to add a task so that we manage the Session/Transaction automatically using a test utility like the ones I added in the documentation tests: doInHibernate( this::sessionFactory, session -> { Person person = new Person(); person.id = 1L;

Re: [hibernate-dev] Handling connections properly during testing with Java 1.8

2016-06-16 Thread Vlad Mihalcea
re asking specifically. You mean a task to change each > and every test in the Hibernate testsuite? > > > On Thu, Jun 16, 2016 at 9:18 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> Now that we moved to Java 1.8, would you like to add

Re: [hibernate-dev] HIbernate ORM CI builds

2016-06-18 Thread Vlad Mihalcea
+1 too. On Sat, Jun 18, 2016 at 8:50 PM, Chris Cranford wrote: > +1 > > I think (1) and (2) on each push still makes sense with (3) being nightly. > > Chris > > > On 06/18/2016 11:33 AM, Steve Ebersole wrote: > > We have been having a lot of timeouts on the ORM CI builds.

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

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

[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

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"

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

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
rg> wrote: > 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 han

Re: [hibernate-dev] staging Blog site

2016-01-14 Thread Vlad Mihalcea
I always try to leave 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 <mihalc

[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

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

2016-01-13 Thread Vlad Mihalcea
;> >> Cheers, >> >> --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 <mihalcea.v...@gmail.com>: >

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

2016-01-13 Thread Vlad Mihalcea
Sanne Grinovero <sa...@hibernate.org>: > > > > +1 for Vlad's proposal 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 > > &

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

2016-01-13 Thread Vlad Mihalcea
y you are 100% 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 > &

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

2016-01-13 Thread Vlad Mihalcea
and of course one can skip it for quick docs > rendering during authoring. > > > 2016-01-13 15:57 GMT+01:00 Vlad Mihalcea <mihalcea.v...@gmail.com>: > >> This is how you mark an anchor in the source code: >> >> >> //tag::constraintMapping[]HibernateValidat

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

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

2016-01-16 Thread Vlad Mihalcea
PM, Sanne Grinovero <sa...@hibernate.org> 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 Mih

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

2016-01-16 Thread Vlad Mihalcea
iki > > area. For anyone who knows this information, could you also update that > > resources page? > > > > On Fri, Jan 15, 2016 at 4:57 AM Vlad Mihalcea <mihalcea.v...@gmail.com> > > wrote: > > > >> Hi, > >> > >> I tried to import t

[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] Hibenrate-orm migration guides in one landing page

2016-06-29 Thread Vlad Mihalcea
Hi, I've seen questions on our forum and SO related to migration from 3.x to 5.x, and users are complaining that it's difficult to follow the migration guides since they are scattered among hibernate.org and GitHub. Emmanuel pointed out that in Hibernate Search we have a single migration page:

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

2016-02-10 Thread Vlad Mihalcea
don't "change the environment > setting". That's not how SessionFactoryOptionsStateStandardImpl and the > config map building works. > > On Mon, Feb 8, 2016 at 11:58 PM Vlad Mihalcea <mihalcea.v...@gmail.com> > wrote: > >> Hi, >> >> While browsing the PRs on GitHub, I stumb

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 <st...@hibernate.org> wrote: > I thought you had updated the documentation build to build this? > > > On Wed, Feb 10, 201

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

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

[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() {

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,

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

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

2016-02-12 Thread Vlad Mihalcea
>>>> >> > On Fri, Feb 12, 2016 at 5:08 PM, Steve Ebersole < >>>> st...@hibernate.org> >>>> >> > wrote: >>>> >> > >>>> >> >> What's the level of versions for the validator docs on the server? >>>>

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

[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

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

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

2016-01-26 Thread Vlad Mihalcea
f >>> AvailabeSettings#GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN_DEFINITIONS >>> I'm fixing it >>> >>> On 26 January 2016 at 15:55, Vlad Mihalcea <mihalcea.v...@gmail.com> >>> wrote: >>> >>>> I could replicate

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 <st...@hibernate.org> wrote: > Just pesky things like resources ;) > > On Wed, Jan 27, 2016 at 12:43 AM Vlad Mihal

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

Re: [hibernate-dev] http://www.hibernatespatial.org/

2016-02-24 Thread Vlad Mihalcea
erwards I can make some time to help you write it up. > > Regards, > > Karel > > > On 20 Feb 2016, at 22:22, Vlad Mihalcea <mihalcea.v...@gmail.com> wrote: > > > > Hi Karel, > > > > Next week, I'm going to finish the SQL native chapter and the

  1   2   3   4   >