You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by badmi89 <ba...@gmail.com> on 2011/09/24 00:12:00 UTC
Configure Tapestry with classic Hibernate, not tapestry-hibernate
library
Like subject says, i would like to configure Hibernate in Tapestry, but using
only classic hibernate framework, not tapestry-hibernate, if you know what i
mean? And if you have any link for this like tutorial, that would be nice.
Thank you
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4835387.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Good luck. Be nice and remember that there may not be an exact answer you are looking for,
especially if your questions are phased vaguely.
On Sep 26, 2011, at 12:28 PM, badmi89 wrote:
> Thank you, i wish i got this answer earlier.
> I agree, my mistake, i'm sorry Ulrich and Lenny
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4842011.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
Thank you, i wish i got this answer earlier.
I agree, my mistake, i'm sorry Ulrich and Lenny
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4842011.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Hi
As Josh had already pointed out, you should look at the source code of tapestry-hibernate for integration. There is also
https://github.com/tawus/tawus/tree/master/tawus-hibernate
which has tapestry-hibernate integration but without the use of tapestry-hibernate.
Also this might help
http://tawus.wordpress.com/2011/04/28/tapestry-magic-9-integrating-with-hibernate-and-multiple-database-support/
What Ulrich and Lenny are pointing to you is the problem with your approach. IMHO, asking a question about how an integration is done is too vague to be answered. The best answer you can get is what Josh already gave you, look into the integration source code itself.
Also, being part of a community is also about respecting others and being tolerant.
Best of luck
Cheers
Taha
On Sep 26, 2011, at 9:14 PM, badmi89 wrote:
> Thank you for your help, but i found my solution.
> Tapestry is my first web framework, so maybe i ask sometimes stupid
> questions, sorry if i offended someone, its hard to be beginner, especially
> at programming, cheers ;)
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841857.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
Thank you for your help, but i found my solution.
Tapestry is my first web framework, so maybe i ask sometimes stupid
questions, sorry if i offended someone, its hard to be beginner, especially
at programming, cheers ;)
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841857.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Christophe Cordenier <ch...@gmail.com>.
Hi
I think the best thing you have to do is to read the documentation from
hibernate itself,
see for exemple
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html#configuration-j2ee
Remember that Tapestry applications are Web applications, so you can
configure hibernate and retrieve the Hibernate Session as is any other web
application
The tapestry-hibernate is a really convenient way to integrate hibernate
because it does automatic lookup for entities, allows you to friendly
customize Hibernate Configuration, ... in the Tapestry way
2011/9/26 Lenny Primak <lp...@hope.nyc.ny.us>
> Tapestry and its supporting libraries are geared to making applications.
> There is no need to describe how tapestry-hibernate is made,
> so nobody has made it.
>
>
> On Sep 26, 2011, at 11:14 AM, badmi89 wrote:
>
> > Im sorry i think there is misunderstanding, when i said "it would be nice
> to
> > use independent libraries and describe whole process of integrating" i
> didnt
> > meant for you guys to describe it. I said I am doing work about Hibernate
> > and I SHOULD DESCRIBE IT THERE, i just hopped someone here can help me
> find
> > tutorial for this, because every tutorial i find is with
> tapestry-hibernate
> > libraries
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841745.html
> > Sent from the Tapestry - Dev mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Regards,
Christophe Cordenier.
Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Tapestry and its supporting libraries are geared to making applications.
There is no need to describe how tapestry-hibernate is made,
so nobody has made it.
On Sep 26, 2011, at 11:14 AM, badmi89 wrote:
> Im sorry i think there is misunderstanding, when i said "it would be nice to
> use independent libraries and describe whole process of integrating" i didnt
> meant for you guys to describe it. I said I am doing work about Hibernate
> and I SHOULD DESCRIBE IT THERE, i just hopped someone here can help me find
> tutorial for this, because every tutorial i find is with tapestry-hibernate
> libraries
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841745.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
Im sorry i think there is misunderstanding, when i said "it would be nice to
use independent libraries and describe whole process of integrating" i didnt
meant for you guys to describe it. I said I am doing work about Hibernate
and I SHOULD DESCRIBE IT THERE, i just hopped someone here can help me find
tutorial for this, because every tutorial i find is with tapestry-hibernate
libraries
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841745.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Keep your personal attacks out of the forum. What Ulrich said was right and
in lighthearted humor. Now do your homework yourself and
stop asking people to do it for you.
On Sep 26, 2011, at 11:00 AM, badmi89 wrote:
> I dont know are you blind or what? If you read this topic again you will
> notice that i wrote twice "Link to this like tutorial would be nice", i
> didnt asked you or anybody else to describe it again just for me, i was
> wondering if someone already wrote this so i can use it. And of course
> everything i need to know i search for it on Google first, but i didnt
> managed to find anything so i asked here.
> If you singed up for this forum so you can mock people, go somewhere else,
> im here to learn, and i hoped some experienced people could help me, but i
> guess i was wrong. Im sorry for asking
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841689.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
I dont know are you blind or what? If you read this topic again you will
notice that i wrote twice "Link to this like tutorial would be nice", i
didnt asked you or anybody else to describe it again just for me, i was
wondering if someone already wrote this so i can use it. And of course
everything i need to know i search for it on Google first, but i didnt
managed to find anything so i asked here.
If you singed up for this forum so you can mock people, go somewhere else,
im here to learn, and i hoped some experienced people could help me, but i
guess i was wrong. Im sorry for asking
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841689.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate
library
Posted by Ulrich Stärk <ul...@spielviel.de>.
You are funny. On the one hand you want to "describe whole process of integrating, not just, someone
else did that for you, that's magic", on the other hand you want us to describe that process for
you? Josh pointed you to one place where you can look everything up. Others are mailing list
archives from before the tapestry-hibernate integration existed and maybe also one or two tutorials
in the wiki. Now go and do your homework assignment yourself!
Uli
On 26.09.2011 16:32, badmi89 wrote:
> Uh i was hopping there is easier way to do this. How did people used
> Hibernate with Tapestry before tapesrty-hibernate was released???
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841564.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
Uh i was hopping there is easier way to do this. How did people used
Hibernate with Tapestry before tapesrty-hibernate was released???
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4841564.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Josh Canfield <jo...@gmail.com>.
Try the source for tapestry- hibernate.
On Sep 24, 2011 6:18 AM, "badmi89" <ba...@gmail.com> wrote:
> I am student, and i need it for my work. I'm writing about Hibernate, so
it
> would be nice to use independent libraries and describe whole process of
> integrating, not just, someone else did that for you, that's magic.
> Can i find anywhere this like tutorial?
>
> --
> View this message in context:
http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4836556.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
Re: Configure Tapestry with classic Hibernate, not
tapestry-hibernate library
Posted by badmi89 <ba...@gmail.com>.
I am student, and i need it for my work. I'm writing about Hibernate, so it
would be nice to use independent libraries and describe whole process of
integrating, not just, someone else did that for you, that's magic.
Can i find anywhere this like tutorial?
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4836556.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: Configure Tapestry with classic Hibernate, not tapestry-hibernate library
Posted by Howard Lewis Ship <hl...@gmail.com>.
Why?
On Fri, Sep 23, 2011 at 3:12 PM, badmi89 <ba...@gmail.com> wrote:
> Like subject says, i would like to configure Hibernate in Tapestry, but using
> only classic hibernate framework, not tapestry-hibernate, if you know what i
> mean? And if you have any link for this like tutorial, that would be nice.
>
> Thank you
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Configure-Tapestry-with-classic-Hibernate-not-tapestry-hibernate-library-tp4835387p4835387.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org