Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-18 Thread ael
mp;can=2&q=&sort=filename Keep it up... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3218483.html Sent from the Tapestry - User mailing li

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-13 Thread ael
Best Example http://lombok.demon.co.uk/folderTap5/ Good Luck... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3211319.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-10 Thread ael
Thanks i will try to use tapestry-hibernate integration & see what will be the difference of these ^_^... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3206907.html Sent from the Tapestry -

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Kalle Korhonen
On Fri, Oct 8, 2010 at 11:32 AM, Rich M wrote: > Ah, darn it. This is for a vital product and my company wouldn't let me use > 5.2 until its a final release. However, a little bit of digging I was able > to improve on my previous code for 5.1.0.5. Albeit no @CommitAfter, but it > does seem a bette

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
Ah, darn it. This is for a vital product and my company wouldn't let me use 5.2 until its a final release. However, a little bit of digging I was able to improve on my previous code for 5.1.0.5. Albeit no @CommitAfter, but it does seem a better solution that using Transaction explicitly (which

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Thiago H. de Paula Figueiredo
On Fri, 08 Oct 2010 14:40:29 -0300, Rich M wrote: Hi, Hi! I'm using 5.1.0.5, good to know about the annotations for services. Please try 5.2 and tells us what happens. Your code seems OK to me. My architecture looks exactly like yours for DAOs. :) But I don't use tapestry-hibernate mys

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
Hi, I'm using 5.1.0.5, good to know about the annotations for services. I modified my code so the Interfaces are using the @CommitAfter annotation for the desired methods. Also made those methods public (I wanted protected because the DAO class isn't supposed to be directly accessed except by

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Thiago H. de Paula Figueiredo
On Fri, 08 Oct 2010 12:41:41 -0300, Rich M wrote: Hi, Hi! @CommitAfter protected void executeUpdate(Entity entity){ Have you tried making your method public? Another question: what Tapestry-IoC version are you using? Tapestry 5.1.0.5 didn't add annotations put in method implem

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
t to use some other approach, that's fine ... just don't seek help here. Go on the Hibernate mailing lists. On Fri, Oct 8, 2010 at 12:07 AM, ael wrote: So what would be the difference? The important is you achieve what you want to do. -- View this message in context: http://tapes

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Sven Homburg
lto:thiag...@gmail.com] >> Sent: 08 October 2010 12:53 >> To: Tapestry users >> Subject: Re: Early steps getting Tapestry and Hibernate working via DAO >> >> On Fri, 08 Oct 2010 04:07:16 -0300, ael wrote: >> >> > So what would be the difference?

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Alex W. Croton
to:thiag...@gmail.com] > Sent: 08 October 2010 12:53 > To: Tapestry users > Subject: Re: Early steps getting Tapestry and Hibernate working via DAO > > On Fri, 08 Oct 2010 04:07:16 -0300, ael wrote: > > > So what would be the difference? > > The important is y

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Thiago H. de Paula Figueiredo
On Fri, 08 Oct 2010 04:07:16 -0300, ael wrote: So what would be the difference? The important is you achieve what you want to do. The difference is that the Tapestry-Hibernate integration (session and transaction handling) will not work if your DAO is not a Tapestry-IoC service. That simp

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Howard Lewis Ship
essage in context: > http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3204134.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - >

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread ael
So what would be the difference? The important is you achieve what you want to do. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3204134.html Sent from the Tapestry - User mailing list archive at

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-07 Thread Thiago H. de Paula Figueiredo
On Thu, 07 Oct 2010 21:20:11 -0300, ael wrote: This is my code in Hibernate returning LIST... Your code isn't using Tapestry-Hibernate nor Tapestry-IoC at all. Check the steps at http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/userguide.html, section Managing Transactions usin

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-07 Thread ael
: http://tapestry.1045711.n5.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp3072498p3203901.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-04 Thread Michal Gruca
pointers to get me going on what 'bits' I need where > please? > > Regards, > > Alex C > > -- View this message in context: http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibern

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-02 Thread Vangel V. Ajanovski
This was the most useful complete tutorial I used at the beginning what I started to learn Tapestry and needed to figure out how to include Hibernate. http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate So, now we use the standard source layout with the addi

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-02 Thread Ulrich Stärk
e a lot of trouble. Mainly because of eclipse weakest side: maven integration. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591360.html Sent from the Tapestry Users mailing list archive at

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-02 Thread Ulrich Stärk
ide: maven integration. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591360.html Sent from the Tapestry Users mailing list archive at

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Howard Lewis Ship
clipse weakest side: maven integration. > -- > View this message in context: > http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591360.html > Sent from the Tapestry Us

RE: RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
etting Tapestry and Hibernate working via DAO > > PersonIndex is a page, probably listing all the people... > On Oct 1, 2010 8:51 AM, "Alex W. Croton" wrote: > > So, working through the code; I've built my own Person entity (and > > created > it in the db) an

Re: RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Josh Canfield
PersonIndex is a page, probably listing all the people... On Oct 1, 2010 8:51 AM, "Alex W. Croton" wrote: > So, working through the code; I've built my own Person entity (and created it in the db) and have got the first stage of the example code working - I'm now getting to the 'Commiting Changes'

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
So, working through the code; I've built my own Person entity (and created it in the db) and have got the first stage of the example code working - I'm now getting to the 'Commiting Changes' part of the example. This has the following: @InjectPage Private PersonIndex personIndex; So ... what is

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Michal Gruca
ass). That are two related points that gave me a lot of trouble. Mainly because of eclipse weakest side: maven integration. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591360.html Sent from the Tapes

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
Having now had two replies directing to the same page - which I've looked at _so many_ times over the last few days that I ought to have my own page counter - I'm coming to the conclusion that I must be brain dead and looking through the obvious! Thanks for the replies - I'll set a new Eclipse

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Thiago H. de Paula Figueiredo
On Fri, 01 Oct 2010 09:40:18 -0300, Alex W. Croton wrote: Hi, Hi! After 3 days of various Googling, I'm far more confused than when I started - it seems that the examples that I have been able to find are either for a different version of Tapestry - or appear to be using some form of

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread LLTYK
tting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591251.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
Hi, I am a real newbie when it comes to Tapestry and even worse than that when it comes to Hibernate. I am using Tapestry 5.1.0 and Hibernate 3.3.1 - talking to a MySQL database. I've got the code from the Tapestry5HowToUseTapestryHibernate working fine, but in the application that I am puttin