Re: Tapestry - hibernate problem

2009-12-07 Thread Josh Canfield
and is there some sort of work around? -- View this message in context: http://old.nabble.com/Tapestry---hibernate-problem-tp2666p26667111.html Sent from the Tapestry - User mailing list archive at Nabble.com

Tapestry - hibernate problem

2009-12-06 Thread Bojan Cincur
Hi all, I have a little problem. I'm using hibernate criteria to fetch list of objects that I want to display in loop component. (enclosed in my commentModule component) Criteria criteria = getManager().createCriteria(CommentBean.class); criteria.setFetchMode(user,FetchMode.JOIN); this

Re: Tapestry - hibernate problem

2009-12-06 Thread Christian Riedel
Hi, Looks more like an issue with your criteria. Have you tried to use FetchMode.EAGER instead? Christian Bojan Cincur schrieb: Hi all, I have a little problem. I'm using hibernate criteria to fetch list of objects that I want to display in loop component. (enclosed in my commentModule

Re: Tapestry - hibernate problem

2009-12-06 Thread Nicolas Bouillon
Hi, You should check your mapping to be sure the many-to-one relationship between comment and user is correct, and verify your database table comment contains an existing foreign key to the user table. Best thing to do is to run your Criteria in a JUnit test. Nicolas. Bojan Cincur a écrit

Re: Tapestry - hibernate problem

2009-12-06 Thread blueboy6
://old.nabble.com/Tapestry---hibernate-problem-tp2666p26667111.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

T5: tapestry-hibernate problem when setting @Persist(entity) to a transient object

2008-08-15 Thread buckofive
to null/t:eventlink/p pt:eventlink event=deletedelete/t:eventlink/p pt:eventlink event=setToTransientset to transient/t:eventlink/p /body /html -- View this message in context: http://www.nabble.com/T5%3A-tapestry-hibernate-problem-when-setting-%40Persist%28%22entity%22%29

Re: T5: tapestry-hibernate problem when setting @Persist(entity) to a transient object

2008-08-15 Thread Robert Zeigler
to transient/ t:eventlink/p /body /html -- View this message in context: http://www.nabble.com/T5%3A-tapestry-hibernate-problem-when-setting-%40Persist%28%22entity%22%29-to-a-transient-object-tp18996169p18996169.html Sent from the Tapestry - User mailing list archive at Nabble.com

tapestry-hibernate problem

2008-07-16 Thread luna_guo
.hibernate.HibernateModule.build(Logger, List, RegistryShutdownHub) (at HibernateModule.java:117) (for service 'HibernateSessionSource'): tried to access field org.hibernate.cfg.Configuration.xmlHelper from class org.hibernate.cfg.AnnotationConfiguration -- View this message in context: http://www.nabble.com/tapestry-hibernate

T5 tapestry-hibernate: problem with type coercing of HibernateEntityValueEncoder

2008-03-12 Thread Kristian Marinkovic
hi, the HibernateEntityValueEncoder creates ValueEncoder for every contributed Entity class that's nice... but if i submit a page with a select component that used a list of entities to generate the selection model i will receive an exception if no option was selected! this is because the

T4.1.3 Tapestry-hibernate problem

2008-01-12 Thread Grigoris Ioannou
Hi all, I have a dynamic form where the user can set a dynamic number of passengers. The html looks like: table jwcid=@For source=ognl:passengerList value=ognl:currentPassengerId width=100%

Re: T4.1.3 Tapestry-hibernate problem

2008-01-12 Thread Alejandro Scandroli
Hi Grigoris I will assume that your form is surrounding the @For component. Advices: * remove the updatePassenger it will confuse things. * persist passengerList in the session * populate passengerList on pageBeginRender * add a keyExpression to the For component * then save all the

Re: T5.06 The tapestry-hibernate problem? resoloved!

2007-10-26 Thread Donyee
in my appModule.java, i changed : public void contributeHibernateSessionSource( OrderedConfigurationString configuration) { configuration.add(my, org.ts.domain.bo); } 2007/10/26, Donyee [EMAIL PROTECTED]: I got errors when i use T5.06-hibernate, and my app works

T5.06 The tapestry-hibernate problem?

2007-10-26 Thread Donyee
I got errors when i use T5.06-hibernate, and my app works fine when i use T5.05! Also i changed the html to tml, sl4j... Error: No service implements the interface org.apache.tapestry.ioc.Configuration. Error invoking service builder method

tapestry hibernate problem

2007-10-03 Thread T. Papke
Hi, i have tried the tapestry-hibernate package to handle my hibernate sessions. I have setup the package in maven and add the hibernate Session to all constructors of my services. I started with my CustomerService getting and setting my customerbeans (each of them having a Set of

tapestry hibernate problem

2007-10-03 Thread T. Papke
Hi, i have tried the tapestry-hibernate package to handle my hibernate sessions. I have setup the package in maven and add the hibernate Session to all constructors of my services. I started with my CustomerService getting and setting my customerbeans (each of them having a Set of

Re: tapestry hibernate problem

2007-10-03 Thread Davor Hrg
you shouldn't persist any object from hibernate @ApplicationState private Customer _customer; same object will be referenced in you second request, and the second request will have different session, tapestry-hibernate integration is still basic, and for now you should just change