Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-11 Thread Ben Tilford
If you find anything useful heres some stuff I have put together https://docs.google.com/leaf?id=0ByQjVcAVDuP9MWE4NDcxODMtODZlOC00Mzk0LThhOTUtYmI2MmNlYzEwNWFihl=en I'd upload it somewhere else but it looks like there are already like 4 different projects for this. 2010/4/10 Uwe Schäfer

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-10 Thread Uwe Schäfer
Carlos Vara schrieb: Seeing as it is only 2 simple classes, and that the external dependencies can be reduced to a minimum (just javax-validation-api) i think message resolution is flawed (i18n) and making wicket directly dependent from javax.validation might be a bad thing. cu uwe

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-10 Thread David Chang
Hibernate Validator with Wicket? To: users@wicket.apache.org Date: Monday, April 5, 2010, 11:08 AM David Chang schrieb: Any comment or pointers regarding relatively mature work in this regard? we did something that does not need spring, though it need some polishing and is not yet released. i

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-10 Thread Uwe Schäfer
David Chang schrieb: hi, did you get the jsr 303 validation code released? where can i find it? i am really excited looking forward to it. about to. just finishing examples tomorrow. stay tuned. cu uwe - To unsubscribe,

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-09 Thread Uwe Schäfer
David Chang schrieb: Is there any mature work on integrating Hibernate Validator with Wicket? I am unable to find any at wicketstuff. Googled and found this work is interesting. i´d like to contribute my approach to wicketstuff-core. i do have commit access for wicketstuff. is there anyone

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-09 Thread Jeremy Thomerson
nope - just have at it -- Jeremy Thomerson http://www.wickettraining.com 2010/4/9 Uwe Schäfer schae...@thomas-daily.de David Chang schrieb: Is there any mature work on integrating Hibernate Validator with Wicket? I am unable to find any at wicketstuff. Googled and found this work

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-06 Thread Carlos Vara
/jira/browse/WICKET-2825 Vote for it if you like the idea :-) Regards, David --- On Mon, 4/5/10, Carlos Vara bashfl...@gmail.com wrote: From: Carlos Vara bashfl...@gmail.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
...@yahoo.com wrote: From: David Chang david_q_zh...@yahoo.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org Date: Sunday, April 4, 2010, 11:31 PM Found another related work. http://42lines.net/content/integrating-hibernate

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Uwe Schäfer
David Chang schrieb: Any comment or pointers regarding relatively mature work in this regard? we did something that does not need spring, though it need some polishing and is not yet released. i´ll contact you later this week. cu uwe

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Igor Vaynberg
or wrong question or if this is something not worthy to explore, please feel free to let me know. Thanks for any input! --- On Sun, 4/4/10, David Chang david_q_zh...@yahoo.com wrote: From: David Chang david_q_zh...@yahoo.com Subject: Re: Any mature work on integrating Hibernate Validator

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
it on wicketstuff. regards. --- On Mon, 4/5/10, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org Date: Monday, April 5, 2010, 11:21 AM you have answered your

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Martin Makundi
Do you have any user stories on the topic? It would be useful to evaluate how interesting the use case is. Me myself I cannot immagine anything useful could come out of hibernate validators, only something very trivial. Could be wrong, thoug. ** Martin 2010/4/5 David Chang david_q_zh

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Igor Vaynberg
am unable to find anything aobut it on wicketstuff. regards. --- On Mon, 4/5/10, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org Date

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
Using Hibernate Validator may bring a few good things: 1. On the data end, it helps to improve data, performance, etc. Also the annotation you write on domain objects get translated into database creation and objects save/update. You can find more on in this area. Obviously, this has nothing

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org Date: Monday, April 5, 2010, 11:35 AM so if somebody took the code from the blogs and put them on a project in wicketstuff

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Martin Makundi
...@yahoo.com: Using Hibernate Validator may bring a few good things: 1. On the data end, it helps to improve data, performance, etc. Also the annotation you write on domain objects get translated into database creation and objects save/update. You can find more on in this area. Obviously, this has

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Ben Tilford
= Validation.buildDefaultValidatorFactory().getValidator();//this may only be working because I'm using Spring 3.0.2 and Hibernate 3.5 I don't know for sure. return validator.validate(value); } } On Mon, Apr 5, 2010 at 12:15 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread Carlos Vara
Hi David, I'm the author of the first article that you linked to: http://carinae.net/tag/hibernate-validator/ http://carinae.net/2009/12/integration-of-jsr-303-bean-validation-standard-and-wicket-1-4/Basically, you hardly need more than the two provided validators (for property validation

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
Ben, Thanks for sharing your code, which, IMHO, definately helps not only me but also others. I believe that using Hibernate Validator really kills more than one bird in one stone. All the best, David P.S. folks, please feel free to comment how you feel about the Bean Validation/Hiberate

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
cents. Regards, David --- On Mon, 4/5/10, Carlos Vara bashfl...@gmail.com wrote: From: Carlos Vara bashfl...@gmail.com Subject: Re: Any mature work on integrating Hibernate Validator with Wicket? To: users@wicket.apache.org Date: Monday, April 5, 2010, 4:52 PM Hi David, I'm the author

Re: Any mature work on integrating Hibernate Validator with Wicket?

2010-04-04 Thread David Chang
Found another related work. http://42lines.net/content/integrating-hibernate-validator-and-wicket Any comment or pointers regarding relatively mature work in this regard? Regards. --- On Sat, 4/3/10, David Chang david_q_zh...@yahoo.com wrote: From: David Chang david_q_zh...@yahoo.com

Any mature work on integrating Hibernate Validator with Wicket?

2010-04-03 Thread David Chang
Is there any mature work on integrating Hibernate Validator with Wicket? I am unable to find any at wicketstuff. Googled and found this work is interesting. http://carinae.net/tag/hibernate-validator/ Any pointers? Any comment? Thanks and Happy Easter

RE: Hibernate - OSIV

2010-04-02 Thread Pointbreak
With OSIV every user will have a different hibernate-session, hence a different hibernate object, so your example would work. But your approach is wrong. For your example I would make a SurveyResult object that holds a reference to your hibernate Survey object. Problem solved. No need to play

RE: Hibernate - OSIV

2010-04-01 Thread Jeffrey Schneller
The issue was the object was being evicted from the Hibernate session. getSession().evict(object). I had forgot that the object was being evicted from the session. If I do not evict the object from the session then lazy loading worked. This is more of a Hibernate question but, how can I get

Re: Hibernate - OSIV

2010-04-01 Thread James Carman
the Hibernate session. getSession().evict(object).  I had forgot that the object was being evicted from the session. If I do not evict the object from the session then lazy loading worked. This is more of a Hibernate question but, how can I get unique object from a hibernate query for each query

Re: Hibernate - OSIV

2010-04-01 Thread James Carman
:59 PM To: users@wicket.apache.org Subject: Re: Hibernate - OSIV They have to be different sessions.  Hibernate's cache (the first level) guarantees that you get the same object for any given entity within the same session. On Thu, Apr 1, 2010 at 3:47 PM, Jeffrey Schneller jeffrey.schnel

RE: Hibernate - OSIV

2010-04-01 Thread Jeffrey Schneller
param-valuefalse/param-value /init-param /filter -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: Thursday, April 01, 2010 4:37 PM To: users@wicket.apache.org Subject: Re: Hibernate - OSIV Why do you need different objects? On Thu

Re: Hibernate - OSIV

2010-04-01 Thread Scott Swank
Perhaps you want to use the survey object that you retrieve via Hibernate as a prototype, and never fill in its transient members. http://en.wikipedia.org/wiki/Prototype_pattern Scott On Thu, Apr 1, 2010 at 2:11 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Because the objects have

Re: RE: Hibernate - OSIV

2010-04-01 Thread James Carman
Carman [mailto:jcar...@carmanconsulting.com] Sent: Thursday, April 01, 2010 4:37 PM To: users@wicket.apache.org Subject: Re: Hibernate - OSIV Wh...

Hibernate - OSIV

2010-03-31 Thread Jeffrey Schneller
to find any examples that will help me to determine the problem. I have included all the code and xml configuration that I believe is relevant. Any help would be appreciated. Also a clean example of how to setup Spring + Hibernate OSIV in the wiki would be a big help. Here is what I

Re: Hibernate - OSIV

2010-03-31 Thread James Carman
of how to setup Spring + Hibernate OSIV in the wiki would be a big help. Here is what I have [a very simplified example]: @SpringBean private IProductDao dao; // the following two lines are in the constructor for the page Product product = dao.findBySku(sku); ListOption options

RE: Hibernate - OSIV

2010-03-31 Thread Jeffrey Schneller
...@carmanconsulting.com] On Behalf Of James Carman Sent: Wednesday, March 31, 2010 5:59 PM To: users@wicket.apache.org Subject: Re: Hibernate - OSIV Loadabledetachablemodel? On Mar 31, 2010 5:47 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I think I have the OSIV filter setup correctly but I can't

Re: RE: Hibernate - OSIV

2010-03-31 Thread James Carman
Have you tried tuning up logging? See when the session is being opened/closed. On Mar 31, 2010 6:06 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I don't think that is it. I haven't even put the object into any model yet. I am just calling the dao and then calling the getter. I

RE: Hibernate - OSIV

2010-03-31 Thread Josh Chappelle
What error are you getting? -Original Message- From: Jeffrey Schneller [mailto:jeffrey.schnel...@envisa.com] Sent: Wednesday, March 31, 2010 4:47 PM To: users@wicket.apache.org Subject: Hibernate - OSIV I think I have the OSIV filter setup correctly but I can't access any lazy loaded

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread Cemal Bayramoglu
...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread David Chang
+Hibernate apps? To: users users@wicket.apache.org Date: Tuesday, March 16, 2010, 9:01 AM David, You may find LegUp [1] useful. Also see the wiki, [2], the Wicket in Action site [3]  and book [4] for useful information, and  the PhoneBook sample [5]. Regards - Cemal jWeekend OO Java

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread David Chang
complete clean Wicket+Spring+Hibernate apps? To: users users@wicket.apache.org Date: Tuesday, March 16, 2010, 9:01 AM David, You may find LegUp [1] useful. Also see the wiki, [2], the Wicket in Action site [3]  and book [4] for useful information, and  the PhoneBook sample [5]. Regards

Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too big, but still show many points. Thanks a lot

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
Hello James, Thank you! Best, -David --- On Mon, 3/15/10, James Carman jcar...@carmanconsulting.com wrote: From: James Carman jcar...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday, March 15, 2010

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday, March 15, 2010, 10:09 PM You can try my demo application I used for my Advanced Wicket presentation: http://svn.carmanconsulting.com/public/wicket

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread James Carman
On Mon, Mar 15, 2010 at 10:57 PM, David Chang david_q_zh...@yahoo.com wrote: James, I just downloaded your application. Do you have any documentation/presentation about this application? I didn't really have a slide presentation for this talk. I basically just walked through code. I did it

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-15 Thread David Chang
James, the info is fantastic! Many thanks!!! -David --- On Mon, 3/15/10, James Carman jcar...@carmanconsulting.com wrote: From: James Carman jcar...@carmanconsulting.com Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? To: users@wicket.apache.org Date: Monday

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-03 Thread Colin Rogers
James, Thank you very much for that - a working example is exactly what I need! :) Cheers, Col. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: 02 March 2010 17:59 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate

[newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
All, I've got a bit of a newbie Wicket question involving Spring, Hibernate and transactions. The question that I can't seem to find an answer to; Can a view be a created/injected/aop'd like a spring bean so that it honours @Transactional methods for hibernate? An example

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Sena
Wicket question involving Spring, Hibernate and transactions. The question that I can't seem to find an answer to; Can a view be a created/injected/aop'd like a spring bean so that it honours @Transactional methods for hibernate? An example; public class HomePage extends WebPage

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
(if the view didn't need the children, for example). -Original Message- From: Pedro Sena [mailto:sena.pe...@gmail.com] Sent: 02 March 2010 16:39 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I don't think so. I'd recommend you to make your

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Josh Chappelle
method anyway. :-) Josh -Original Message- From: Colin Rogers [mailto:coli...@groundsure.com] Sent: Tuesday, March 02, 2010 10:46 AM To: users@wicket.apache.org Subject: RE: [newbie] Wicket, Spring, Hibernate and transactions in views. I'd recommend you to make your transactional control

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Riyad Kalla
, for example). -Original Message- From: Pedro Sena [mailto:sena.pe...@gmail.com] Sent: 02 March 2010 16:39 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I don't think so. I'd recommend you to make your transactional control

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
I'm not DB expert, but why are you using transactions for read only (SELECTs) queries? If you aren't concerned with good design then I wouldn't worry about transactions at all Because you need the transactions for lazy fetching of child elements in hibernate. -Original Message- From

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Santos
need the transactions for lazy fetching of child elements in hibernate. -Original Message- From: Riyad Kalla [mailto:rka...@gmail.com] Sent: 02 March 2010 16:53 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I'm not DB expert

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
2010-03-02 17:19:12,439 DEBUG 181:OpenSessionInViewFilter - Opening single Hibernate Session in OpenSessionInViewFilter 2010-03-02 17:19:12,439 DEBUG 181:OpenSessionInViewFilter - Opening single Hibernate Session in OpenSessionInViewFilter 2010-03-02 17:19:12,595 ERROR 1521:RequestCycle

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread James Carman
, Hibernate and transactions. The question that I can't seem to find an answer to; Can a view be a created/injected/aop'd like a spring bean so that it honours @Transactional methods for hibernate? An example; public class HomePage extends WebPage { @SpringBean // this is working

Re: Integrating Hibernate Validator with Wicket

2010-02-16 Thread prati
Hi I integrated Hibernate Validator given in Wicket stuff with my application I am getting this error org.hibernate.PropertyValueException: not-null property references a null or transient value: Any ideas? Thanks P Carlos Vara wrote: Hi, if you prefer to use JSR 303 Bean Validation

Re: Wicket Wizards and Hibernate

2010-01-17 Thread nino martinez wael
with Hibernate. I don't want to commit any changes to the db before the user finishes the wizard, but the pojo loses reference to the original session. Shall I eagerly fetch the object to avoid any hibernate session reference exceptions? Thanks, Rodolfo

Wicket Wizards and Hibernate

2010-01-14 Thread Rodolfo Cartas
Hi! I'm currently working on a wizard to modify a pojo extracted from a database with Hibernate. I don't want to commit any changes to the db before the user finishes the wizard, but the pojo loses reference to the original session. Shall I eagerly fetch the object to avoid any hibernate

Re: Wicket Wizards and Hibernate

2010-01-14 Thread Steve Swinsburg
Hi, Once you have the object built up, you could reattach it to the session with saveOrUpdate() which will figure out if it needs to insert or update. This assumes you are using the Spring Hibernate wrapper templates. cheers, Steve On 14/01/2010, at 9:47 PM, Rodolfo Cartas wrote: Hi! I'm

Re: Wicket Wizards and Hibernate

2010-01-14 Thread Martin Sachs
. I think this is named conversation. martin Rodolfo Cartas schrieb: Hi! I'm currently working on a wizard to modify a pojo extracted from a database with Hibernate. I don't want to commit any changes to the db before the user finishes the wizard, but the pojo loses reference to the original

Re: Integrating Hibernate Validator with Wicket

2010-01-04 Thread ayman elwany
in the propertymodel with hibernate validator??? On Mon, Jan 4, 2010 at 8:37 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: http://42lines.net/content/integrating-hibernate-validator-and-wicket 2010/1/4 ayman elwany aymanelw...@gmail.com: Hi, Is there any common practice

Re: Integrating Hibernate Validator with Wicket

2010-01-04 Thread Carlos Vara
Hi, if you prefer to use JSR 303 Bean Validation (it's very similar to Hibernate Validator, in fact, it is the reference implementation), I made a blog post about how to integrate it with Wicket: http://carinae.net/2009/12/integration-of-jsr-303-bean-validation-standard-and-wicket-1-4/ On Mon

Integrating Hibernate Validator with Wicket

2010-01-03 Thread ayman elwany
Hi, Is there any common practice to integrate wicket with hibernate validator ?

Re: Integrating Hibernate Validator with Wicket

2010-01-03 Thread Martin Makundi
http://42lines.net/content/integrating-hibernate-validator-and-wicket 2010/1/4 ayman elwany aymanelw...@gmail.com: Hi, Is there any common practice to integrate wicket with hibernate validator ? - To unsubscribe, e-mail

Re: looking for example wicket and hibernate

2009-12-25 Thread Janning Vygen
Hi we have been starting with our hibernate/spring/wicket app a few weeks ago and its quite easy. We do it with maven2 like this: i show you some snippets, please ask me if you have any further questions: in your pom.xml: = properties

Re: looking for example wicket and hibernate

2009-12-24 Thread nino martinez wael
Theres also wicket Iolite, or I think the legup by jweekend.. 2009/12/24 Martin Makundi martin.maku...@koodaripalvelut.com: Do not mix hibernate and wicket (web gui). Keep your persistence logic somewhere else. However, if you want only wicket-spring integration you can find some here: http

looking for example wicket and hibernate

2009-12-23 Thread Johan den Boer
Hi I am looking for a real working example on wicket and hibernate. I have read the books 'Wcket in Action', 'Pro Wicket' and other books but none of them give a real working example. Can somebody point me to a real working example or can sent to me. The most problem i have

Re: looking for example wicket and hibernate

2009-12-23 Thread Martin Makundi
Do not mix hibernate and wicket (web gui). Keep your persistence logic somewhere else. However, if you want only wicket-spring integration you can find some here: http://www.wicket-library.com/wicket-examples/spring/ ** Martin 2009/12/24 Johan den Boer johanj.denb...@gmail.com: Hi I am

Re: Forms and detached JPA ( Hibernate) Objects

2009-11-23 Thread Bert
Thanks for the answers. Due to extreme pressure in the current project i will go with the option proposed by james and build 'shadow' copy of the object to edit in the form, hopefully finding time later to look into more generic solution. I just thought that most applications using wicket and

Forms and detached JPA ( Hibernate) Objects

2009-11-21 Thread Bert
Hi list, i 'm starting a new project with Wicket 1.4, JPA (Hibernate) and Spring. So far, building the web pages have been fun (panels, ajax,..) thanks to wicket. My problems arise when i use my UI Model (an IModel implementation following Igors 'smart entity model' or one of the similar found

Re: Forms and detached JPA ( Hibernate) Objects

2009-11-21 Thread James Carman
...@gmail.com wrote: Hi list, i 'm starting a new project with Wicket 1.4, JPA (Hibernate) and Spring. So far, building the web pages have been fun (panels, ajax,..) thanks to wicket. My problems arise when i use my UI Model (an IModel implementation following Igors 'smart entity model

Re: Forms and detached JPA ( Hibernate) Objects

2009-11-21 Thread Marat Radchenko
Use HibernateObjectModel from databinder.

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-18 Thread Martijn Dashorst
, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: At the link[1] it describes how to configure wicket to use Spring and Hibernate.  In the applicationContext.xml file there is reference to a n interceptor bean.  What is this interceptor bean?  What is the definition of this bean?  Everything else

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-18 Thread Martijn Dashorst
, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: At the link[1] it describes how to configure wicket to use Spring and Hibernate.  In the applicationContext.xml file there is reference to a n interceptor bean.  What is this interceptor bean?  What is the definition of this bean?  Everything else

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-18 Thread Loritsch, Berin C.
OK. I've got it working again. The HibernateSession was set up in a hibernate Servlet filter. I found the minimum necessary lines to get the system working using my session factory configured in Spring. For the interested parties, here

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread James Carman
On Mon, Nov 16, 2009 at 12:38 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Also how would one move the configuration of the jdbc connection to code?  It is desirable to db connection information reside at the server level so when deploying code from dev to stage to production, you

RE: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread Loritsch, Berin C.
...@envisa.com] Sent: Monday, November 16, 2009 12:38 PM To: users@wicket.apache.org Subject: Wicket + Spring + Hibernate - Wicket-In-Action At the link[1] it describes how to configure wicket to use Spring and Hibernate. In the applicationContext.xml file there is reference to a n interceptor

Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
because it is the first component that does any Hibernate requests. I'll include the stacktrace at the bottom of the message. I had to remove the line that specified that sessions would be thread bound in Hibernate to take advantage of the Spring managed transactions, and adding

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Igor Vaynberg
to a specific class that is decorated with the InjectorHolder--although I believe that is merely because it is the first component that does any Hibernate requests.  I'll include the stacktrace at the bottom of the message. I had to remove the line that specified that sessions would be thread

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
on its own to use? -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, November 17, 2009 4:05 PM To: users@wicket.apache.org Subject: Re: Spring/Wicket/Hibernate testing driving me banana nuts i see you are using MockWebApplication in your tests

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Jeremy Thomerson
, November 17, 2009 4:05 PM To: users@wicket.apache.org Subject: Re: Spring/Wicket/Hibernate testing driving me banana nuts i see you are using MockWebApplication in your tests. this application does not install the SpringComponentInjector and so @SpringBean has no effect. you should either

RE: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Loritsch, Berin C.
that declaration, I introduced using the @Transactional attributes on some of my Hibernate objects. Spring is giving me a proxied class that is supposed to take care of the hibernate sessions and transactions for me. It's having a hard time in the JUnit environment. I'm using the following

Re: Spring/Wicket/Hibernate testing driving me banana nuts

2009-11-17 Thread Eelco Hillenius
to me.  The thing that has changed is that while I had that declaration, I introduced using the @Transactional attributes on some of my Hibernate objects.  Spring is giving me a proxied class that is supposed to take care of the hibernate sessions and transactions for me.  It's having a hard

Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-16 Thread Jeffrey Schneller
At the link[1] it describes how to configure wicket to use Spring and Hibernate. In the applicationContext.xml file there is reference to a n interceptor bean. What is this interceptor bean? What is the definition of this bean? Everything else seems to make sense. Also how would one move

Wicket + Spring + Hibernate event in ISTANBUL (Turkey)

2009-10-15 Thread Altuğ B . Altıntaş
Hi all; Today we will organize a medium size event. In that event, we will present hands on session about Wicket + Spring + Hibernate. This event will be in Istanbul, Besiktasi Bahcesehir University at 19.00 (local time) http.//www.java.org.tr Feel free to attend this event. Regards

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread richardwilko
) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String password = the password; try

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread danisevsky
) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String password = the password

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-11 Thread jWeekend
(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-09 Thread Bert
stuff               install(PersistenceService.usingHibernate()                               .across(UnitOfWork.REQUEST) .transactedWith(TransactionStrategy.LOCAL)                               .buildModule());               // hibernate stuff               // default values

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-09 Thread danisevsky
(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
) .transactedWith(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String password

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread richardwilko
() .across(UnitOfWork.REQUEST) .transactedWith(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development String

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
install(PersistenceService.usingHibernate() .across(UnitOfWork.REQUEST) .transactedWith(TransactionStrategy.LOCAL) .buildModule()); // hibernate stuff // default values from development

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread jWeekend
) .buildModule()); // hibernate stuff // default values from development String connectionUrl = the url; String username = the username; String password = the password

Re: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread nino martinez wael
to lazy loading but I can't even get simple data access to work now. Sorry for all the questions and issues. Can anyone provide some insight on what is wrong or what I am missing. The Hibernate configuration succeeds in the getModule() method. Thanks. Code is below: My Web

RE: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread Jeffrey Schneller
@wicket.apache.org Subject: Re: Wicket + Guice + Warp-persist + Hibernate How does the code that are using it look like? Are you using detachable models etc? 2009/10/6 Jeffrey Schneller jeffrey.schnel...@envisa.com So I took the plunge and tried to implement Guice + Warp Persist to solve my lazy loading

Re: Wicket + Guice + Warp-persist + Hibernate

2009-10-06 Thread nino martinez wael
not work as it does not have the session injected. -Original Message- From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] Sent: Tuesday, October 06, 2009 6:51 AM To: users@wicket.apache.org Subject: Re: Wicket + Guice + Warp-persist + Hibernate How does the code

Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread jWeekend
currently support various combinations of Spring, Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, Hibernate, OpenJPA) and Wicket. Let us know if this is useful and if you'd like to see more combinations. Also feel free to raise any issues [2]. Regards - Cemal jWeekend OO

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread Md. Jahid Shohel
On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to http://jweekend.com/dev/HomePageBody - To

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
and/or some tests to get you started, quickly. Our archetypes currently support various combinations of Spring, Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, Hibernate, OpenJPA) and Wicket. Let us know if this is useful and if you'd like to see more combinations. Also

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
combinations of Spring, Guice, WarpPersist, JPA (with one or more implementation from EclipseLink, Hibernate, OpenJPA) and Wicket. Let us know if this is useful and if you'd like to see more combinations. Also feel free to raise any issues [2]. Regards - Cemal jWeekend OO Java Technologies, Wicket

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread nino martinez wael
Works for me.. I took the guice warp persist + etc archetype.. 2009/10/6 Md. Jahid Shohel ja...@outscore.se On Tue, 2009-10-06 at 14:47 +0100, jWeekend wrote: http://jweekend.com/dev/LegUp is that really working? coz , when i clicked on Generate Maven Command button, it took me to

<    1   2   3   4   5   6   7   >