MongoDB work in progress branch
by Sanne Grinovero
Hi all,
you can now find the "mongodb" branch in the reference repository (
git://github.com/hibernate/hibernate-ogm.git )
This is now:
- rebased on latest master
- includes Guillaume Scheibel's initial pull
- includes Oliver Carr's patch for Calendar
I'll be off for afternoon, back to help in the evening and tomorrow.
Cheers,
Sanne
12 years, 8 months
Re: [hibernate-dev] Candidates for the May SourceForge Project Of The Month
by Steve Ebersole
Selective quoter ;)
Your project is on the ballot for the May POTM, and I wanted to give
you plenty of warning, so that you can take advantage of this
opportunity for further promotion of your project. The vote will take
place on TwtPoll.com, which facilitates promotion of the poll via
Twitter. Note that this also requires a Twitter account to vote, due to
the need to prevent vote fraud, and the lack of a voting system built
into SourceForge itself. I can elaborate on that some more if desired.
...
I'll follow up in the next day or two with the URL of the vote itself -
that's not set up just yet
So as I read it, the voting will be done via twitter. The poll simply
has not been set up yet (May is few days away yet)...
On Tue 03 Apr 2012 10:58:19 AM CDT, Max Rydahl Andersen wrote:
> Great, but I only see this:
>
>> I'll follow up in the next day or two with the URL of the vote itself -
>> that's not set up just yet
>
> Is there a link I'm missing ?
>
> /max
>
> On Apr 3, 2012, at 4:44 PM, Steve Ebersole wrote:
>
>> Hibernate has been nominated for SourceForge Project Of The Month for
>> May! Voting instructions below if you wish to vote us up..
>>
>>
>> -------- Original Message --------
>> Subject: Candidates for the May SourceForge Project Of The Month
>> Date: Tue, 3 Apr 2012 10:42:07 -0400
>> From: Rich Bowen<rbowen(a)geek.net>
>> To: sfcommunity<communityteam(a)sourceforge.net>
>>
>>
>>
>> Hi,
>> Rich Bowen here from SourceForge.
>>
>> As you may know, each month the SourceForge community at large votes for
>> the project of the month for the next month. You can see past POTMs at
>> https://sourceforge.net/blog/potm/
>>
>> Your project is on the ballot for the May POTM, and I wanted to give you
>> plenty of warning, so that you can take advantage of this opportunity
>> for further promotion of your project. The vote will take place on
>> TwtPoll.com<http://TwtPoll.com>, which facilitates promotion of the
>> poll via Twitter. Note that this also requires a Twitter account to
>> vote, due to the need to prevent vote fraud, and the lack of a voting
>> system built into SourceForge itself. I can elaborate on that some more
>> if desired.
>>
>> Being Project of the Month means:
>>
>> * A project description and link at the top center of the SourceForge
>> front page for one month
>> * A blog post and permanent web page about your project
>> * A podcast, which you can then use for whatever you want in the future
>> * A permanent "badge" on your project page indicating that you were POTM
>> in May, 2012
>>
>> I'll follow up in the next day or two with the URL of the vote itself -
>> that's not set up just yet. Meanwhile, please let me know if, for any
>> reason, you don't wish to participate in this.
>>
>> Finally, because I realize that many of you have more than one project,
>> I've included the complete list of projects which are on the ballot.
>>
>> Thanks for being part of the SourceForge community!
>>
>> -----------------------------------------------------------------
>>
>> Hibernate: Hibernate - Relational Persistence for Idiomatic Java
>> http://sourceforge.net/projects/hibernate
>>
>> PNG reference library: libpng: Reference library for supporting the
>> Portable Network Graphics (PNG) format.
>> http://sourceforge.net/projects/libpng
>>
>> IPCop Firewall: Linux firewall distribution geared towards home and SOHO
>> users. http://sourceforge.net/projects/ipcop
>>
>> JFreeChart: JFreeChart is a free (LGPL) chart library for the Java(tm)
>> platform. It supports bar charts, pie charts, line charts, time series
>> charts, scatter plots, histograms, simple Gantt charts, Pareto charts,
>> bubble plots, dials, thermometers and more.
>> http://sourceforge.net/projects/jfreechart
>>
>> Privoxy: Privoxy is a non-caching web proxy with advanced filtering
>> capabilities for enhancing privacy, modifying web page data and HTTP
>> headers, controlling access, and removing ads and other obnoxious
>> Internet junk. http://sourceforge.net/projects/ijbswa
>>
>> Bacula: Bacula is a set of computer programs that permit managing
>> backup, recovery, and verification of computer data across a network of
>> computers of different kinds. Based on Source Forge downloads, Bacula is
>> the most popular Open Source backup program.
>> http://sourceforge.net/projects/bacula
>>
>> Coppermine Photo Gallery: Coppermine is an easily set-up, fast,
>> feature-rich photo gallery script with mySQL database, user management,
>> private galleries, automatic thumbnail creation, ecard feature and a
>> template system for easy customization to match the rest of a site.
>> http://sourceforge.net/projects/coppermine
>>
>> CodeLite: codelite is an open-source, cross platform IDE for the C/C++
>> programming languages (build and tested on Windows 7, Windows Vista,
>> Ubuntu 11.04, and Mac OSX 10.5.8). codelite is distributed under the
>> terms of the GPLv2 license http://sourceforge.net/projects/codelite
>>
>> Luminance HDR: Complete solution for HDR photography
>> http://sourceforge.net/projects/qtpfsgui
>>
>> Mobile Atlas Creator: This application creates off-line atlases of
>> raster maps for various cell phone apps on Android, iPhone and WindowsCE
>> as well as GPS devices (Garmin, Magellan and others)
>> http://sourceforge.net/projects/mobac
>>
>>
>>
>>
>> --
>> Rich Bowen :: rbowen(a)geek.net<mailto:rbowen@geek.net> :: @rbowen
>> Community Growth Hacker
>> SourceForge.net<http://SourceForge.net> :: @sourceforge
>>
>> ====
>> This e- mail message is intended only for the named recipient(s) above.
>> It may contain confidential and privileged information. If you are not
>> the intended recipient you are hereby notified that any dissemination,
>> distribution or copying of this e-mail and any attachment(s) is strictly
>> prohibited. If you have received this e-mail in error, please
>> immediately notify the sender by replying to this e-mail and delete the
>> message and any attachment(s) from your system. Thank you.
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
--
steve(a)hibernate.org
http://hibernate.org
12 years, 8 months
helloworld application using Eclipse IDE.
by Praveen Jain
Dear mailing users,
I am new learner for hibernate please provide me from where I can prepare first helloworld application using Eclipse IDE.
Regards,
Praveen Jain
12 years, 8 months
Fwd: [Hibernate Development] - Releasing Hibernate Core
by Strong Liu
FYI
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio
Begin forwarded message:
> From: Piotr Findeisen <do-not-reply(a)jboss.com>
> Subject: Re: [Hibernate Development] - Releasing Hibernate Core
> Date: April 3, 2012 7:00:20 PM GMT+08:00
> To: Strong Liu <stliu(a)hibernate.org>
>
> JBoss Community
> Releasing Hibernate Core
> new comment by Piotr Findeisen View all comments on this document
> Hi,
>
> short question: is this guide followed?
>
> There is the 'stable' branch, but currently it points at '4.0.0.CR7' release. Does it mean that later releases should not be considered stable?
>
>
> Best regards,
>
> Piotr
>
12 years, 8 months
Meeting
by Steve Ebersole
I got dropped from my portable internet and cannot connect at all at the
moment. We really need to change this meeting time. The current time is
unworkable for me every other week. Either we need to move this 2.5 hours
later or move it to another day. If another day, Thursday is the only other
day that works for me in the same general timeframe.
steve(a)hibernate.org
http://hibernate.org
12 years, 8 months
Fwd: Candidates for the May SourceForge Project Of The Month
by Steve Ebersole
Hibernate has been nominated for SourceForge Project Of The Month for
May! Voting instructions below if you wish to vote us up..
-------- Original Message --------
Subject: Candidates for the May SourceForge Project Of The Month
Date: Tue, 3 Apr 2012 10:42:07 -0400
From: Rich Bowen <rbowen(a)geek.net>
To: sfcommunity <communityteam(a)sourceforge.net>
Hi,
Rich Bowen here from SourceForge.
As you may know, each month the SourceForge community at large votes for
the project of the month for the next month. You can see past POTMs at
https://sourceforge.net/blog/potm/
Your project is on the ballot for the May POTM, and I wanted to give you
plenty of warning, so that you can take advantage of this opportunity
for further promotion of your project. The vote will take place on
TwtPoll.com <http://TwtPoll.com>, which facilitates promotion of the
poll via Twitter. Note that this also requires a Twitter account to
vote, due to the need to prevent vote fraud, and the lack of a voting
system built into SourceForge itself. I can elaborate on that some more
if desired.
Being Project of the Month means:
* A project description and link at the top center of the SourceForge
front page for one month
* A blog post and permanent web page about your project
* A podcast, which you can then use for whatever you want in the future
* A permanent "badge" on your project page indicating that you were POTM
in May, 2012
I'll follow up in the next day or two with the URL of the vote itself -
that's not set up just yet. Meanwhile, please let me know if, for any
reason, you don't wish to participate in this.
Finally, because I realize that many of you have more than one project,
I've included the complete list of projects which are on the ballot.
Thanks for being part of the SourceForge community!
-----------------------------------------------------------------
Hibernate: Hibernate - Relational Persistence for Idiomatic Java
http://sourceforge.net/projects/hibernate
PNG reference library: libpng: Reference library for supporting the
Portable Network Graphics (PNG) format.
http://sourceforge.net/projects/libpng
IPCop Firewall: Linux firewall distribution geared towards home and SOHO
users. http://sourceforge.net/projects/ipcop
JFreeChart: JFreeChart is a free (LGPL) chart library for the Java(tm)
platform. It supports bar charts, pie charts, line charts, time series
charts, scatter plots, histograms, simple Gantt charts, Pareto charts,
bubble plots, dials, thermometers and more.
http://sourceforge.net/projects/jfreechart
Privoxy: Privoxy is a non-caching web proxy with advanced filtering
capabilities for enhancing privacy, modifying web page data and HTTP
headers, controlling access, and removing ads and other obnoxious
Internet junk. http://sourceforge.net/projects/ijbswa
Bacula: Bacula is a set of computer programs that permit managing
backup, recovery, and verification of computer data across a network of
computers of different kinds. Based on Source Forge downloads, Bacula is
the most popular Open Source backup program.
http://sourceforge.net/projects/bacula
Coppermine Photo Gallery: Coppermine is an easily set-up, fast,
feature-rich photo gallery script with mySQL database, user management,
private galleries, automatic thumbnail creation, ecard feature and a
template system for easy customization to match the rest of a site.
http://sourceforge.net/projects/coppermine
CodeLite: codelite is an open-source, cross platform IDE for the C/C++
programming languages (build and tested on Windows 7, Windows Vista,
Ubuntu 11.04, and Mac OSX 10.5.8). codelite is distributed under the
terms of the GPLv2 license http://sourceforge.net/projects/codelite
Luminance HDR: Complete solution for HDR photography
http://sourceforge.net/projects/qtpfsgui
Mobile Atlas Creator: This application creates off-line atlases of
raster maps for various cell phone apps on Android, iPhone and WindowsCE
as well as GPS devices (Garmin, Magellan and others)
http://sourceforge.net/projects/mobac
--
Rich Bowen :: rbowen(a)geek.net <mailto:rbowen@geek.net> :: @rbowen
Community Growth Hacker
SourceForge.net <http://SourceForge.net> :: @sourceforge
====
This e- mail message is intended only for the named recipient(s) above.
It may contain confidential and privileged information. If you are not
the intended recipient you are hereby notified that any dissemination,
distribution or copying of this e-mail and any attachment(s) is strictly
prohibited. If you have received this e-mail in error, please
immediately notify the sender by replying to this e-mail and delete the
message and any attachment(s) from your system. Thank you.
12 years, 8 months
Evolvement of SPIs
by Gunnar Morling
Hi,
related to my earlier mail on deprecations there's another thought I'd
like to discuss.
When evolving an SPI (typically *implemented* by clients), other
restrictions apply than when evolving an API (typically *used* by
clients). More specifically, it's no problem to add new methods to an
API interface (existing clients continue to function without changes),
while that's not true for SPI interfaces (existing implementations
break).
AFAIK there are basically two approaches for handling the evolvement of SPIs.
One is to use use abstract classes instead of interfaces for SPI
types. This allows to add new methods in future versions as long as a
sensible default implementation in the abstract class can be provided.
Implementation classes can override that default implementation if
they want to.
The other approach is to create a new interface extending the existing
one in order to add new methods:
public interface Foo {
void bar();
}
public interface Foo2 extends Foo {
void baz();
}
Clients implement the latest version they are aware of and want to
support. For our own code this means that we have to perform some
instanceof calls to determine the version of the passed SPI types.
My question now is, whether you got any recommendations for this. Do
you have any experience with either approach in other Hibernate
projects?
Thanks,
--Gunnar
12 years, 8 months
HV: Handling of deprecations
by Gunnar Morling
Hi all,
Hardy and I have been discussing approaches for deprecating certain
features in Hibernate Validator [1], and we thought it might be a good
idea to get some more feedback on this from you folks.
Basically we've identified two areas of deprecation which need to be addressed.
One are changes related to the separation of API, SPI and internal
classes [2]. Here we need to move some classes around (e.g. from API
to SPI). Originally we thought about adding deprecation markers
(@Deprecated("Will be removed in a future release")) in HV 4.3 and
provide the replacements in HV 5. But then we started to wonder
whether that's actually a good approach as it gives clients
deprecations which they effectively can't get rid of as of HV 4.3.
Only when HV 5 is released they can do that, and in fact then
immediately have to, since the old API will be gone.
So a better approach might be to add the deprecations *and* the
replacements in HV 4.3 and remove the old classes in HV 5. This would
give clients one release time to act upon the deprecation, but would
require us to keep several classes twice (old and new version).
The other area of deprecation is the API for method validation. This
will be standardized in BV 1.1 (=HV 5), while we currently have a
proprietary API for this in HV. We can't add the new API to HV 4.3 as
it isn't finalized yet. I see two options for this:
* Don't do anything related in HV 4.3; Deprecate the old API and add
the new one in HV 5; remove the old one in 5.1.
Pro: no immediately breaking changes for clients, deprecations are
done as originally intended.
Con: We'd have the old and the new API in HV 5. Originally we didn't
want that due to complexity reasons.
* Add deprecation markers as means of heads-up for users to 4.3;
remove the old and add the new API in HV 5.
Pro: Likely easier for us as we don't have to maintain to APIs.
Con: Immediately breaking changes for clients in HV 5, they have to
immediately adapt their code when upgrading to HV 5.
I'm not really sure which is the better option here. Given that method
validation is the biggest new feature of BV 1.1 and HV 5 will be the
first release to implement that new version of the spec, I think it
would be ok if that release breaks clients without a previous
deprecation period. On the other hand it might actually be not that
complex to keep the old and the new API in HV 5 and remove the old one
in 5.1.
So what do you think? Are there clearly defined guidelines on how to
handle this for the other Hibernate products (ORM, Search etc.)?
Thanks,
--Gunnar
[1] https://hibernate.onjira.com/browse/HV-561
[2] https://hibernate.onjira.com/browse/HV-557
[3] https://hibernate.onjira.com/browse/BVAL-241
12 years, 8 months
patching javassist - which ver?
by Nikita Tovstoles
Hello,
Long time listener, first time caller here - thanks for an excellent
framework.
We've been profiling our Hibernate 3.6.10-based app and noticed a perf
bottleneck in javassist.util.proxy.RuntimeSupport.find2methods.
Unfortunately, this method, which has a synch. block, is being called on
every invocation of every proxied entity method (see
javassist.util.proxy.ProxyFactory.makeForwarder(), called indirectly by
ProxyFactory.createClass()). In our testing, the result is that our service
call's latency increases from 33 to 55, 260, 400ms as concurrency increases
1-10-20-30 users on a 4-core CPU. At 20 and 30 users 51% of CPU time is
spent contending for a monitor in RuntimeSupport.find2methods.
Since find2methods merely interrogates class metadata, seems like its return
values should be cached (in a ConcurrentMap?). Since this is a big problem
for us, I am happy to submit a patch to javassist, but would like to know
which version should I be patching, given that I am primarily interesting in
using javassist in conjunction with Hibernate? Currently, hibernate-core
4.1.1 uses javassist 3.15.0-GA, 3.10.Final uses 3.12. Latest GA is 3.16-1.
I'd appreciate any other advice as well (perhaps this problem's been
discussed?)
Thank you,
-nikita
12 years, 8 months