Hello,
this is looking very promising, congratulations for the slides too
they made me understand it well without needing explanations.
Thanks :)
I am seeing many similarities with Hibernate Search,
maybe it is possible to reuse the annotations (and/or code)
of it for your upcoming support
Hello,
one feature I find missing from Hibernate Search is a possibility to
easily implement a web search.
A good example is a blog app, where you can search contents of posts.
A post is a simple entity with a body field, which is indexed by
Hibernate Search/Lucene.
You then have the
Hello,
Writing such a queryparser is really easy if you consider acceptable
to catch QueryParseExceptions
what I usually do in case of such an exception is report a JSF
validation error with some instructions about
query syntax.
Well, Google doesn't show validation exceptions if you mistype the
Hello,
I like the idea of a parser using the Google syntax (you don't have
to disable explicit fields BTW - recognzing a term:term syntax
should be doable). The hard problem to crack is what's behind. I
explain that in Hibernate Search in Action, a lot of good search
engine do searches
Hello,
currently I'm a working for the jboss.org team, but as you maybe
remember I also created the Envers project (http://www.jboss.org/
envers/). I would like to change my scope of work a bit and work
officialy on Envers. But, as the logical place to do this would be
in hibernate, this
I'm just a contributor for Search, but if you may be interested in
my opinion:
we released software yesterday in production which uses Envers 1.0GA
and it's really being useful.
Great to know it's being used :)
And I learned in some minutes how to use it :-)
So if I could vote I would
But, as the logical place to do this would be in hibernate, this
brings the question: would you (= the Hibernate team) be interested
in Envers and in me developing it further? :)
I'll take the lack of answers as a no :) But thanks, Max and Sanne :)
Meanwhile, maybe it will interest some of
Hello,
I can see the confusion. Hibernate has a similar annotation for
optimistic locking which nearly matches Versioned in Envers.
Yes, @Version. But it's for a totally different thing. So far I only
once I had a question on the forum if @Versioned and @Version are
related in any way. Do
Hello,
I wonder if it really has to be a project on its own?
A module in core would make more sense?
I wouldn't have anything against :)
Though I'd have to do some adaptation changes. As I was originally
targeting Envers to support JPA mappings, I assumed that it will be
working in an
Hello,
I can see the confusion. Hibernate has a similar annotation for
optimistic locking which nearly matches Versioned in Envers.
Yes, @Version. But it's for a totally different thing. So far I
only once I had a question on the forum if @Versioned and @Version
are related in any way. Do
Hello,
I'd say either @Audited or @Historized. @Audited sounds more
natural
to me, but like I said above I think @Historized is more correct.
the dictionary has a similar word - historicized - that me means to
render historic.
But having a @Historicized annotation doesn't seem very
Hello,
When you form a Hibernate Disjunction criteria, but don't add any
clauses to it, you get a criteria that matches everything.
Generally, when you perform a reduction over an empty list, the
expected result is the identity element for the reduction. For
example, the sum of the empty list
Hello,
a user on forums is posting about an HQL like
delete from product where id = 4
which - in case of Hibernate Search - is not going to remove the
relevant document from the index.
Another interesting case would be
delete from product
Any thoughts about this? Should we always use
.
wdyt?
On Tue, 2009-11-24 at 08:20 +0100, Adam Warski wrote:
Hello,
a user on forums is posting about an HQL like
delete from product where id = 4
which - in case of Hibernate Search - is not going to remove the
relevant document from the index.
Another interesting case would be
delete
that indeed does provide the
information lazily, we could definitely benefit from it. But that has
a cost so I think I would still keep it optional on the HSearch side.
On 24 nov. 09, at 19:53, Adam Warski wrote:
Hello,
I don't exactly know how bulk operations work, and I didn't know
Hello,
First is that we actually only use the temporary table approach in the
case of update/delete against 'multi-table structures'. In a basic or
table-per-hierarchy entity structure the temporary table is currently
not used. If this is something y'all agree is needed, what I can do is
Hmm, I had this when I upgraded the TestNG dependency to 5.10, so I reverted it
back to 5.8 - do you have the latest pom?
Also, my $MAVEN_OPTS are: -Xmx512m.
Adam
On Dec 18, 2009, at 4:24 AM, Hardy Ferentschik wrote:
Hi,
just wondering whether someone could confirm that the reactor build
maven versions 2.2.1 and 3.0 alpha 5. All with the
same result - OutOfMemoryError :(
--Hardy
On Fri, 18 Dec 2009 03:50:08 -0300, Adam Warski a...@warski.org wrote:
Hmm, I had this when I upgraded the TestNG dependency to 5.10, so I reverted
it back to 5.8 - do you have the latest
Turns out that Idea uses a different classpath (invalid) when running tests so
it didn't read the right log4j.properties.
Maven did, but it didn't help; I test with the 5.10 dependency.
Maybe there's simply too many tests to log info about? ;)
Adam
On Dec 18, 2009, at 2:50 PM, Adam Warski
used to have -Xmx1024m for $MAVEN_OPTS and I tried now also -Xmx512.
I also tried different maven versions 2.2.1 and 3.0 alpha 5. All with the
same result - OutOfMemoryError :(
--Hardy
On Fri, 18 Dec 2009 03:50:08 -0300, Adam Warski a...@warski.org wrote:
Hmm, I had this when I
2009 07:08:54 -0300, Adam Warski a...@warski.org wrote:
Heh, the obvious thing to do - using Google - gave an answer.
It's a known problem when there are many tests:
http://code.google.com/p/testng/issues/detail?id=24
The only solution so far is to increase the memory for Maven.
Adam
-Xmx1024 - that's what I used to have, mainly driven by the fact that once
upon
a time the docbook plugin needed to work.
Btw, I also have the problem if I just try to run the Envers build.
That's very weird. I just ran all tests, a clean install took 1m 30s, even
with default maven
Hello,
turns out that MAVEN_OPTS does not help in this case at all. The surefire
plugin per default uses the forkMode 'once', meaning a new JVM gets created
for running the tests. Command line arguments passed via MAVEN_OPTS only apply
for the JVM running the build.
To increase the heap
Hello,
I updated trunk and get the following test failure during build:
Failed tests:
init(org.hibernate.envers.test.integration.naming.VersionsJoinTableRangeComponentNamingTest)
I don't see any details about this failure and cannot seem to run
Hello,
1) There need be a separation between the database model and the
entity model and there should be a binding that describes the
relation between the 2. As far as Hibernate processing is concerned
(run-time) it is this binding information that is of the utmost
importance. Yes you are
Hello,
Though it uncovered a weird problem.
When I run the entire envers test suite, I pass with flags up.
When I specifically run VersionsJoinTableRangeComponentNamingTest
That's probably because the test is disabled in the suite :).
--
Adam
___
Hello,
Right, I tried to explain the failure in the first email. But AFAIK the bug
has been there for a little while (ie before the work i've done in the last
couple of days).
yes, it's there for at least two weeks. I mentioned it on IRC before but I
guess it didn't draw any attention.
I
In fact I think it's a user-contributed test case.
So damn you users, damn you! ;)
Adam
OK I've fixed this problem but only to discover another one :(
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4805
Basically, Adam makes use of generics to declare its components. Since
Hello,
So after chasing bugs after bugs for 25 generations, I've got something that
does not cover all cases (that are not within JPA's boundaries anyway) but at
least that does not throw weird exceptions. To test it, you need to get the
latest trunk of HEM and use the latest published
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev
know.
So, any opinions pro/con to changing the
org.hibernate.transaction.JDBCTransaction? :)
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org
and actually roll
it back if an error occurs.
Right. Then I was thinking about two solutions:
1) as Hernan wrote above
2) check if the TX wasn't rolled back by the synchronization
(tx.isMarkedForRollBack or sth similar) explicitly. If so, rethrow the
exception.
--
Adam Warski
http
Regards,
Strong Liu stliu at redhat.com
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
Hello,
where is the uncategorized test?
would you please give the url, thanks
e.g. in latest build, the (root) category has 522 tests:
http://hudson.jboss.org/hudson/view/hibernate/job/hibernate-core-trunk/lastBuild/testReport/%28root%29/
--
Adam Warski
http://www.warski.org
http
for the answers.
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
there is a workaround,
http://jira.opensymphony.com/browse/TESTNG-204?focusedCommentId=32518page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_32518
Ah :) Only 524 annotations to change ;) Some day maybe ... :)
--
Adam Warski
http://www.warski.org
http
:00 PM, Adam Warski wrote:
In an ideal world, a Synchronization should swallow exceptions (or do
whatever it wants with it) if the exception should not tamper with the main
Hibernate execution. In a word, Synchronization would be in control. It has
my preference but It's a change
with
scripting languages and such, but beyond that I am not sure TBH.
Envers is also using the Map mode to map audit entities. Maybe an entity type
could be bound to a single entity mode? At least in the scope of a session
factory?
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
be illegal to use a different entity mode than the
one specified for a SessionFactory, as long as one entity type is used
consistently with one entity mode? (Currently Envers specifies the entity mode
as map in the hibernate entity mapping it generates)
--
Adam Warski
http://www.warski.org
http
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https
-jar and are not transitive deps of
the hibernate core artifact)?
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
:)
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
I'll report the first time I'll have to do that.
Adam
On Oct 29, 2010, at 8:11 PM, Steve Ebersole wrote:
Curious what happens if you go the other direction (imho the more natural
direction)? Working from master to the 3.6 branch...
On Friday, October 29, 2010, at 01:02 pm, Adam Warski
locally!
On Friday, October 29, 2010, at 01:19 pm, Adam Warski wrote:
I'll report the first time I'll have to do that.
Adam
On Oct 29, 2010, at 8:11 PM, Steve Ebersole wrote:
Curious what happens if you go the other direction (imho the more natural
direction)? Working from master
---
Steve Ebersole st...@hibernate.org
http://hibernate.org
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https
mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org
to decide if we want to go the opposite way.
---
Steve Ebersole st...@hibernate.org
http://hibernate.org
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http
Ebersole wrote:
This is exactly what I have done. There is no standard java mechanism for
doing this. Your link simply shows how one piece of java (Sound API) does it.
On Wednesday, March 30, 2011, at 11:22 am, Adam Warski wrote:
Did you think about using the java services mechanism? Essentialy
Even better then :)
Adam
On Mar 30, 2011, at 8:23 PM, Steve Ebersole wrote:
Hibernate 4 targets java 6
On Wednesday, March 30, 2011, at 01:16 pm, Adam Warski wrote:
Heh sorry, pasted the wrong link :) This should be the right one:
http://java.sun.com/developer/technicalArticles/javase
that, can't think of anything :)
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
:)
Adam
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
method and Hibernate would delegate the unwrap calls to
each integrator until a non null object is returned.
It's just a thought, WDYT?
But while EntityManager wraps a Session object, a Session doesn't wrap a
FullTextSession, but the other way round, no?
--
Adam Warski
http://www.warski.org
http
be something like a per-session
service? :)
Envers could use it as well, right now just as search has
Search.getFullTextSession, envers has AuditReaderFactory.getFor
So we could have session.service(AuditReader.class / FullTextSession.class).
Adam
On Apr 6, 2011 6:15 AM, Adam Warski
similar to the ones in EM. Not sure it would be useful though ;)
Adam
On 04/06/2011 06:26 AM, Adam Warski wrote:
On Apr 6, 2011, at 1:20 PM, Steve Ebersole wrote:
The phrase 'unwrap' might be a bit misleading there because you may not be
dealing with wrapped objects. But the idea itself
returns the already created FTS (so there would
be a per-session cache of the created wrappers inside the Session).
Adam
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https
( AuditReader.class ).someEnversSpecificMethod()
or
session.as( FullTextSession.class )...
On 04/06/2011 06:26 AM, Adam Warski wrote:
On Apr 6, 2011, at 1:20 PM, Steve Ebersole wrote:
The phrase 'unwrap' might be a bit misleading there because you may
not be dealing with wrapped objects
there is an compile error in envers in 3.6 branch, which causes our internal
hudson job fail, would you please take a look, thanks
Ah, I didn't commit one file yesterday. Fixed now, sorry!
--
Adam Warski
http://www.warski.org
http://www.softwaremill.eu
/stliu/jboss-as/commit/616237755626672157fb2ae565fadb16cf47af89
thoughts?
I wish I could help here, but regarding Integrators and the way they are
discovered I guess Steve is the best person :).
Although if it's working - great!
--
Adam Warski
http://twitter.com/#!/adamwarski
http
?
What do you think?
Adam
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
is enabled.
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
/listinfo/hibernate-dev
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.warski.org
http://www.softwaremill.eu
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
Looks good. I added a few minor comments. I'd like to see the Map
sizing thing addressed and the 4.0 port done, but I have no problems
with these changes.
On Fri 08 Jul 2011 07:32:25 AM CDT, Adam Warski wrote:
As Eric wrote this fix is needed to fix an Envers issue (HHH-6349), however
I don't
which would depend on
org.hibernate, but the Hibernate doesn't seem to see the Envers Integrator.
Strong Liu: isn't it something you've prepared a patch for? I don't think it
was included?
Adam
On Jun 21, 2011, at 8:23 AM, Adam Warski wrote:
On Jun 20, 2011, at 7:56 PM, Scott Marlow wrote
is if integrator discovery will work in such case - if not, I think
it should be made to work. This affects also Search, I think, which also uses
Integrators? And any other Integrators that users may write and include as a
library in their application or as a module in JBoss.
Adam
--
Adam Warski
got it working in AS7 and you've done the
integration for AS7.1. So do you still need the demo app?
Adam
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org
___
hibernate-dev mailing list
hibernate
http://github.com/stliu
On Aug 4, 2011, at 8:35 PM, Scott Marlow wrote:
On 08/04/2011 04:05 AM, Strong Liu wrote:
---
Strong Liust...@hibernate.org
http://hibernate.org
http://github.com/stliu
On Aug 4, 2011, at 2:48 AM, Adam Warski wrote:
On Aug 3, 2011, at 5:44 PM, Strong
would mean that the file in META-INF specifying the integrator is
visible, but the class itself - not.
Adam
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org
___
hibernate-dev mailing list
Here's the Envers forum post: http://community.jboss.org/message/629739#629739
And stack trace: http://pastie.org/2612279
Adam
On Oct 3, 2011, at 11:05 AM, Adam Warski wrote:
Hello,
was Hibernate4 integrator discovery tested on Tomcat7? I have two users
reporting that they tried to use
Adam, are there any Envers issues that should be backported for 3.6.10? If
so, please create new issues for them and assign as appropriate.
Nope, nothing that I'm aware of. We've been adding some new features only.
--
Adam Warski
http://twitter.com/#!/adamwarski
http
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org
___
hibernate-dev mailing list
hibernate-dev
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Adam Warski
http://twitter.com/#!/adamwarski
http://www.softwaremill.com
http://www.warski.org
public class AbstractB {
private String strValue;
}
@NotAudited has precedence - so not audited.
I hope things are a bit clearer :). I suppose we should document these rules.
If, of course, you think these rules are sound - any other ideas are always
welcome :)
Adam
--
Adam Warski
http
meone familiar with Envers please take a look at [1] when you have a
> chance.
>
> Thanks!
> Gail
>
> [1] https://github.com/hibernate/hibernate-orm/pull/1079
> <https://github.com/hibernate/hibernate-orm/pull/1079>
> [2] https://github.com/hibernate/hibernate-orm
76 matches
Mail list logo