Hi Sanne,
whatever you consider to implement in Hibernate ORM/Search/OMG
I think you should use/follow the MicroProfile Health spec [1].
As far as I know WildFly Swarm supports already this spec.
Best regards,
Andrej Golovnin
[1] https://github.com/eclipse/microprofile-health/
> On 31.
version ever because I have more patches. But this is another story.
:-) )
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
gt;
This is an old patch. The current version does not extend CHM and even
does not use it. It adds ca. 30 lines of code and modifies two classes
to achieve the most memory savings.
And Sanne, it is not needed to be sorry. Thanks to GIT I can apply my
patches to the new version of Hibernate with
roblems before you ship a new version of Hibernate.
It should be a good job for a student. :-)
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
s. So what?
>
> If we can come up with some patches, it would be nice if you could test them
> with your workload.
When you are ready, sent me links to the pull requests and I'll test them.
Best regards,
Andrej Golovnin
___
hiberna
ity classes
to mapped supper-classes. This may help to reduce memory consumption too.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
Hi Sebastian,
instead of RDBMS and Hibernate and/or your own solution
you can just use a tool that was specifically designed
to store/access secrets in a secure manner, for example this one:
https://www.vaultproject.io/
Best regards,
Andrej Golovnin
952/uses-for-java8-optional?answertab=votes#tab-top
IntelliJ IDEA warns you for example when you use Optional
as field type.
Best regards,
Andrej Golovnin
> 2. Allow retrieving Objects from Hibernate as Optional
>
> The second part is really about allowing users to request th
emoved.
They are marked as deprecated. Please read the JavaDocs
(http://lucene.apache.org/core/5_4_0/core/org/apache/lucene/search/Query.html)
and/or source code.
> Andrej: are you needing that upgrade soon? Any interesting reasons?
I don’t need it soon. And I’m just interested in per
ernate Search 5.5.
>
> What do you all think about that?
Yes, please upgrade.
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
Hi Gunnar,
> Should we consider to drop this feature in HS 6?
-1, we use it, I think, in at least 3 places in our application.
Removing it would make our code more complicated.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-
> On 02.12.2014, at 00:31, Steve Ebersole wrote:
>
> I am finishing up the initial 5.0 work for master right now. I will work on
> these next. Ping me at the end of the week so I dont forget :)
Ping. :)
>
> On Mon, Dec 1, 2014 at 3:07 PM, Andrej Golovnin wrote:
>
> They should get moved to the 4.3-based master. I think I found the relevant
> issues:
>
> * Oracle12cDialect - https://hibernate.atlassian.net/browse/HHH-9044
> * PostgreSQL92Dialect & PostgreSQL94Dialect -
> https://hibernate.atlassian.net/browse/HHH-9167
>
> I have reopened them and targe
dialects:
Oracle12cDialect
PostgreSQL92Dialect
PostgreSQL94Dialect
Are you going to restore this dialects from the old master
or should I add them back with the new pull request?
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.
> Here are mines:
I mean from me. I should not write emails early in the morning. I was still
asleep. :-)
> https://github.com/hibernate/hibernate-orm/pull/779
> https://github.com/hibernate/hibernate-orm/pull/782
> https://github.com/hibernate/hibernate-orm/pull/777
> >
> > Overall, checking
-orm/pull/777
>
> Overall, checking that the PR still applies is a good idea too.
I'll do that on the weekend.
>
> On Thu, Oct 30, 2014 at 5:34 PM, Andrej Golovnin wrote:
>
> > On 30.10.2014, at 23:15, Steve Ebersole wrote:
> >
> > Well maybe rather than
ng any new pull requests
in the future?
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
uot; slots
+1 for any of the above but only when we use "IN"-clause.
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
plain output:
Query: SELECT * FROM test WHERE oid IN (100, 101, 102, null, null, null);
"Index Scan using test_pkey on public.test (cost=0.00..29.69 rows=3 width=9)
(actual time=0.023..0.033 rows=3 loops=1)"
" Output: oid, ttt&
Hi Eric,
> One option we use on our uPortal installs is to enable
> -XX:+UseCompressedStrings
The support for compressed strings were removed in JDK 7.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
t was 'I', you will see an
error message, when
the statement is executed. I personally don't think, that someone would use non
ASCII
letters for names of database objects. But who knows.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
eeded to set hibernate.default_batch_fetch_size to 16 or maybe
the lower value would also give us decent performance.
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
Hi Scott,
> Validation-mode is part of the JPA 2.0 spec and its not a property.
>
> Try adding:
>
> NONE
you are absolutely right. I think I was blind. I don't understand
how could I overlook it.
Thanks!
Best regards,
Andrej Golovnin
_
assumes that the validation
mode would be defined
in the persistence.xml by the tag "validation-mode". This tag has been added in
JPA 2.1 which is not yet
final. Solution: add NONE to
persistence.xml, although it violates
the persistence_2_0.xsd schema. At least it
.listeners.envers.autoRegister"
for Validator? I would like to disable Validator completely as it produces too
much garbage
(look at the pictures) when the application is deployed.
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hib
Hi Sanne,
> Andrej, what's the overall size you would save by dropping the
> Configuration object?
16187776 bytes.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailm
created in
Configuration#buildSessionFactory() (lines 1770-1781)
- indirect reference from inner class created in constructor of
SessionFactoryImpl (lines 230-253)
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
memory) during creation of SessionFactoryImpl.
But it should help to reduce memory if we use it wherever it makes sense.
What do you think?
BTW, what is the purpose of CollectionHelper.EMPTY_LIST?
Why don't you use Collections.EMPTY_LIST?
That's all for
#x27;t use Validator.
None of our classes has Validator related annotations
So why they are loaded at all? I have tried to exclude this modules
in jboss-deployment-structure.xml by adding following exclusions:
But it does not seem to wor
your persistence.xml.
No problem. Here it is:
java:/MyDS
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate
finishes or consider using
LinkedList. In my case the #seconPasses has the size of 0. But the backend
array has the length of ca. 27000. With this change you will not save a lot of
memory, but I welcome every single byte I can get. :-)
Best regards
Andrej Golovnin
__
Hi,
it seems that screen shots were stripped by the mailing list software.
I have uploaded them to flickr. Here are the links:
http://www.flickr.com/photos/78207256@N07/7166944408/in/photostream
http://www.flickr.com/photos/78207256@N07/7166945108/in/photostream
Best regards
Andrej Golovnin
On
g hundreds of users. And now using the same memory settings I can
just deploy the application. :-(
Best regards
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
or Partner would contain the field
OID from Partner indexed with NOT_ANALYZED_NO_NORMS
and it will contain also the field "defaultAddress.OID". But the
field "defaultAddress.OID" would have norms. This is what I see
at least with Luke
enefit this would resolve the concerns raised by some
> users about having their domain model need to "depend" on our
> annotations at compile time.
We have no problem to depend on your annotations at compile time. :-)
Best regards,
Andrej Golovnin
___
Hibernate Search and Hibernate helped us to create a really cool
product, so kudos to all who have contributed to this great projects!
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
tion server
with the
new Hibernate Search and our application and I have seen this message more
than 100 times in the log file. I doubt it should be logged in the constructor.
IMHO a static initialization block would be a better place.
Best regards,
Andrej Golovnin
e directories correctly, but I agree let's
> change that to INFO. Could you open a JIRA, and maybe you could patch
> the code and send a pull request?
OK, I will do it.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
ution would be OK for me.
What do you think?
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
rectories (btw.
IMHO it should
be logged with info level and not warning. in other case we must configure
nagios to
ignore this warnings.). For me it is pretty useless information.
Best regards,
Andrej Golovnin
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
on
the issue HSEARCH-761.
Could you please verify what is the right property name and either correct the
Hibernate Search Guide or change the property name in the Environment
class to the old one.
Thanks in advance!
Best regards
Andrej Golovnin
___
h
41 matches
Mail list logo