Re: [hibernate-dev] HV: Handling of deprecations

2012-04-03 Thread Hardy Ferentschik

+1 for this approach. 

On Apr 3, 2012, at 12:20 AM, Gunnar Morling wrote:

> Hi,
> 
> thanks for your feedback.
> 
> I think we might go for a combined approach. For everything not
> related to method validation (that is, the api/spi split related
> changes), I've now added deprecation markers and at the same time the
> new types [1]. So clients could adapt to these changes based on 4.3
> and we can remove the old stuff in HV 5. That is, we're using the
> deprecation mechanism as intended.
> 
> This generally works pretty good, although it causes some name
> changes, if for instance the return type of a method changes (there
> can't be two methods with the same name but different return type).
> 
> For the method validation API I've added deprecation markers, so that
> users are informed about the upcoming change. In HV 5 we still can
> decide whether to keep the old API around or remove it instantly. As
> you say, this should be documented in the Wiki or release notes as
> well.

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Evolvement of SPIs

2012-04-03 Thread Emmanuel Bernard
I need to write it down but the sum up is there 
https://issues.jboss.org/browse/TAG-47 Unfortunately the discussion happened on 
a non public mailing list.

The problem always happens at the borders. I cannot in good conscience consider 
ConstraintValidator or FieldBridge contracts for advanced users as I expect 
most users to implement it several times in his application. If one consider it 
an SPI, we are more likely to make it evolve than an API which in this case 
would be a mistake. It also help us make a distinction between what is 
expected, what is advanced and what is off limit from a customer PoV wrt APIs.

On 3 avr. 2012, at 00:33, Gunnar Morling wrote:

> Hi,
> 
>> What's your definition of an SPI
> 
> I think an SPI is something which the user implements (as you say
> typically advanced users which need to plug-in custom functionality
> into the framework) opposed to an API, which is something which a user
> just uses/invokes.
> 
>> That's the proposal I have pushed to the common guidelines at JBoss.
> 
> Do you have a link to these guidelines?
> 
> I think I like the combined interface/abstract implementation approach.
> 
> --Gunnar
> 
> 
> 2012/4/2 Emmanuel Bernard :
>> 
>> On 2 avr. 2012, at 11:44, Hardy Ferentschik wrote:
>> 
 
 What's your definition of an SPI, in the team we have slightly different 
 ones.
 
 In Hibernate search an SPI is targeted at frameworks or hyper advanced 
 user who are willing to integrate or enhance Hibernate Search. Otherwise, 
 they are considered APIs - which includes interfaces you might need to 
 implement like FieldBridge. Hibernate ORM has a different semantic where 
 an API is what the application directly code on.
>>> 
>>> The HV interpretation of SPI is the same view as in ORM. Imo It makes for a 
>>> simpler, easier to understand cut between API and SPI.
>> 
>> You guys think too much of your own comfort and less of the user's ;P
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev


___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] helloworld application using Eclipse IDE.

2012-04-03 Thread 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
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Fwd: Candidates for the May SourceForge Project Of The Month

2012-04-03 Thread 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 
To: sfcommunity 



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 , 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 :: rbo...@geek.net  :: @rbowen
Community Growth Hacker
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Meeting

2012-04-03 Thread Steve Ebersole
2.5 or 3.5 hours later is really late for Strong though.

Using WorldClock: 
http://www.timeanddate.com/worldclock/meetingtime.html?iso=20120405&p1=24&p2=33&p3=234&p4=37

Seems to me the most workable times are 13:00 UTC:
http://www.timeanddate.com/worldclock/meetingdetails.html?year=2012&month=4&day=5&hour=13&min=0&sec=0&p1=24&p2=33&p3=234&p4=37

or 14:00 UTC:
http://www.timeanddate.com/worldclock/meetingdetails.html?year=2012&month=4&day=5&hour=14&min=0&sec=0&p1=24&p2=33&p3=234&p4=37

13:00 is the time we were doing the meetings.  14:00 is an hour later 
(hour better for Gail, hour worse for Strong).

Gail?  Strong?

On Thu 29 Mar 2012 01:55:54 PM CDT, Gail Badner wrote:
> I'm mainly working days now, so Thursday 2.5 hours later or 3.5 hours later 
> is fine with me.
>
> - Original Message -
>> From: "Strong Liu"
>> To: "Steve Ebersole"
>> Cc: hibernate-dev@lists.jboss.org
>> Sent: Wednesday, March 28, 2012 7:06:31 PM
>> Subject: Re: [hibernate-dev] Meeting
>>
>> I'm fine with pushing it 1 hour later and I totally understand the
>> painful of getting up too earlier :D
>>
>> but I remember Gail said she like the meeting time currently, 6 am,
>> so she can get some sleep after meeting, so, maybe we need to hear
>> her option , anyway, i'm fine with each time
>>
>> -
>> Best Regards,
>>
>> Strong Liu
>> http://about.me/stliu/bio
>>
>> On Mar 29, 2012, at 2:56 AM, Steve Ebersole wrote:
>>
>>> Should we do a meeting tomorrow?  I don't think we really have
>>> anything pressing at the moment.
>>>
>>> John personally, I dont think doing it at 8am our time (US Central)
>>> is too bad considering it is quite late evening already for
>>> Strong.  Strong, what do you think?
>>>
>>>
>>> On Tue 27 Mar 2012 08:20:43 AM CDT, John Verhaeg wrote:
 I'm good with Thursday, too, but it would be nice if it was at
 least one hour later.

 On Mar 27, 2012, at 8:16 AM, Strong Liu wrote:

> okay, let's move it to thursday if no objections from others,
>
> moving this 2.5 hours later means 11:30pm for me
> -
> Best Regards,
>
> Strong Liu
> http://about.me/stliu/bio
>
> On Mar 27, 2012, at 9:13 PM, Steve Ebersole wrote:
>
>> 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.
>>
>> st...@hibernate.org
>> http://hibernate.org
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

 JPAV




>>>
>>> --
>>> st...@hibernate.org
>>> http://hibernate.org
>>
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>

--
st...@hibernate.org
http://hibernate.org
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Meeting

2012-04-03 Thread Strong Liu
UTC 14:00 is fine (15:00 is fine as well)
-
Best Regards,

Strong Liu 
http://about.me/stliu/bio

On Apr 3, 2012, at 11:54 PM, Steve Ebersole wrote:

> 2.5 or 3.5 hours later is really late for Strong though.
> 
> Using WorldClock: 
> http://www.timeanddate.com/worldclock/meetingtime.html?iso=20120405&p1=24&p2=33&p3=234&p4=37
> 
> Seems to me the most workable times are 13:00 UTC:
> http://www.timeanddate.com/worldclock/meetingdetails.html?year=2012&month=4&day=5&hour=13&min=0&sec=0&p1=24&p2=33&p3=234&p4=37
> 
> or 14:00 UTC:
> http://www.timeanddate.com/worldclock/meetingdetails.html?year=2012&month=4&day=5&hour=14&min=0&sec=0&p1=24&p2=33&p3=234&p4=37
> 
> 13:00 is the time we were doing the meetings.  14:00 is an hour later (hour 
> better for Gail, hour worse for Strong).
> 
> Gail?  Strong?
> 
> On Thu 29 Mar 2012 01:55:54 PM CDT, Gail Badner wrote:
>> I'm mainly working days now, so Thursday 2.5 hours later or 3.5 hours later 
>> is fine with me.
>> 
>> - Original Message -
>>> From: "Strong Liu"
>>> To: "Steve Ebersole"
>>> Cc: hibernate-dev@lists.jboss.org
>>> Sent: Wednesday, March 28, 2012 7:06:31 PM
>>> Subject: Re: [hibernate-dev] Meeting
>>> 
>>> I'm fine with pushing it 1 hour later and I totally understand the
>>> painful of getting up too earlier :D
>>> 
>>> but I remember Gail said she like the meeting time currently, 6 am,
>>> so she can get some sleep after meeting, so, maybe we need to hear
>>> her option , anyway, i'm fine with each time
>>> 
>>> -
>>> Best Regards,
>>> 
>>> Strong Liu
>>> http://about.me/stliu/bio
>>> 
>>> On Mar 29, 2012, at 2:56 AM, Steve Ebersole wrote:
>>> 
 Should we do a meeting tomorrow?  I don't think we really have
 anything pressing at the moment.
 
 John personally, I dont think doing it at 8am our time (US Central)
 is too bad considering it is quite late evening already for
 Strong.  Strong, what do you think?
 
 
 On Tue 27 Mar 2012 08:20:43 AM CDT, John Verhaeg wrote:
> I'm good with Thursday, too, but it would be nice if it was at
> least one hour later.
> 
> On Mar 27, 2012, at 8:16 AM, Strong Liu wrote:
> 
>> okay, let's move it to thursday if no objections from others,
>> 
>> moving this 2.5 hours later means 11:30pm for me
>> -
>> Best Regards,
>> 
>> Strong Liu
>> http://about.me/stliu/bio
>> 
>> On Mar 27, 2012, at 9:13 PM, Steve Ebersole wrote:
>> 
>>> 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.
>>> 
>>> st...@hibernate.org
>>> http://hibernate.org
>>> ___
>>> hibernate-dev mailing list
>>> hibernate-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> 
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> 
> JPAV
> 
> 
> 
> 
 
 --
 st...@hibernate.org
 http://hibernate.org
>>> 
>>> ___
>>> hibernate-dev mailing list
>>> hibernate-dev@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>> 
> 
> --
> st...@hibernate.org
> http://hibernate.org

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


[hibernate-dev] Fwd: [Hibernate Development] - Releasing Hibernate Core

2012-04-03 Thread Strong Liu
FYI
-
Best Regards,

Strong Liu 
http://about.me/stliu/bio

Begin forwarded message:

> From: Piotr Findeisen 
> Subject: Re: [Hibernate Development] - Releasing Hibernate Core
> Date: April 3, 2012 7:00:20 PM GMT+08:00
> To: Strong Liu 
> 
> 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
> 

___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] helloworld application using Eclipse IDE.

2012-04-03 Thread Seiya Kawashima
Hi Praveen,

I'm not quite sure if the links that I put here are adequate or not since
they don't have 'helloworld' sample code that you wanted. However, they
have sample code that let you get started with Hibernate. One of them has
sample code with Eclipse and the other doesn't, but you can follow how to
use Hibernate API from the code. Also you can download the sample code and
import it as a maven project on Eclipse if my understanding is correct.

   1. Hibernate Tutorial
   , which has sample
   code with Eclipse and Maven. However, the code uses old Hibernate whose
   versions are 3.2 and 3.6 with MySQL 5.0 and Oracle 11g.
   2. Hibernate Getting Started
Guide,
which is the official Hibernate documentation by the authors. This
   documentation is the latest one and has sample code with Maven.

If they don't work for you or mislead you, I apologize in advance.

On Tue, Apr 3, 2012 at 8:02 AM, Praveen Jain <
praveen_hibernate_mail...@yahoo.com> wrote:

> 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
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



-- 
Thank you
Seiya
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Candidates for the May SourceForge Project Of The Month

2012-04-03 Thread 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
>> To:  sfcommunity
>>
>>
>>
>> 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, 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
>>