[Doc-Bug?] Hibernate Tutorial 1.4 -> SimpleDateFormat not synchronized
by andresgr
Hi.
In section 1.4 of hibernate tutorial we can read:
"The dateFormatter is a tool we'll need later to convert Date objects
from and to strings. It makes sense to only have one formatter as a
member of the servlet."
But in the javadoc from SimpleDateFormat we can read:
"Date formats are not synchronized. It is recommended to create
separate format instances for each thread. If multiple threads access
a format concurrently, it must be synchronized externally."
I think this should be fixed.
--
-=-=-=-=-=-=-=-=-=-=-=-=-
Andrés González.
http://coyotevil.blogspot.com
17 years, 7 months
Re: Hibernate Lucene - forum issue
by Emmanuel Bernard
Hi Ales
Yes let's move that to the mailing list
What is DynamicBoost?
I've added support for @Boost on both attributes and entity
I have also introduced a Bridge notion that do the translation between
the property and the Lucene field. I'm almost done with that one. This
is very much like the Hibernate Type in it's flexibility and I'll add
some specific annotations support for numeric padding and date resolution
I fixed the concurrency issues in the Lucene event a while back using a
reentrant lock per DirectoryProvider. Did you check the code in
http://anonsvn.jboss.org/repos/hibernate/branches/Lucene_Integration/
I'm interested in seeing some additional issue if any.
What is additional POJO handling?
PS I remember an old JIRA issue of you talking about a filter
capability. I thing it's a nice idea, would probably make sense after
the core work is stable.
Ales Justin wrote:
> Hey,
>
> I extended the initial usage quite a lot - needed some additional stuff.
> Some additional annotations - Boost, DynamicBoost, DateField, ...
> Rewritten current LuceneListener - had problems with concurrency,
> additional pojo handling, ...
>
> I can sum up some stuff (non customized stuff) and send it - if you're
> interested.
> If so - to you or to the mailing list?
>
> Rgds, Ales
>
> ps: coming to JBW Berlin?
17 years, 7 months