RE: Cayenne with JSF 2

2012-04-04 Thread Durchholz, Joachim
> However any time you have a primary key with meaning is probably > a mistake in database design. You are best trying to avoid this > at all costs unless you are constrained by a legacy system in > some way. This is common advice, but the topic is controversial. Even in non-legacy databases, havi

Re: Cayenne with JSF 2

2012-04-04 Thread Aristedes Maniatis
On 4/04/12 4:49 PM, yunus wrote: How can i prefix primary key with any alphabet like Admin121? This is going to be quite a lot of work to do since any automated mechanism in Cayenne or in the db will work on integer values only. If you are trying to avoid namespace collisions with some other

Re: Cayenne with JSF 2

2012-04-03 Thread yunus
How can i prefix primary key with any alphabet like Admin121? -- View this message in context: http://cayenne.195.n3.nabble.com/Cayenne-with-JSF-2-tp3499495p3883336.html Sent from the Cayenne - User mailing list archive at Nabble.com.

Re: Cayenne with JSF 2

2012-04-03 Thread John Huss
On Tue, Apr 3, 2012 at 9:09 AM, yunus wrote: > Thanks mike, i'll refer your code. > > Can you tell me how can we relate primary key of one table to other such > that if primary key of one table is autogenerated then primary key of other > table gets automatically filled with the same data. http

Re: Cayenne with JSF 2

2012-04-03 Thread John Huss
On Tue, Apr 3, 2012 at 5:23 AM, yunus wrote: > hi Andrus, > I have two queries related to cayenne- > > 1- I have a table "registration" in which there is a primary key > "EnrolmentId" which is autogenerated after successfully registration. Other > attributes are "Name" and "PAN ID".(PAN ID can be

Re: Cayenne with JSF 2

2012-04-03 Thread yunus
Thanks mike, i'll refer your code. Can you tell me how can we relate primary key of one table to other such that if primary key of one table is autogenerated then primary key of other table gets automatically filled with the same data. -- View this message in context: http://cayenne.195.n3.nabbl

Re: Cayenne with JSF 2

2012-04-03 Thread Mike Kienenberger
On Tue, Apr 3, 2012 at 6:23 AM, yunus wrote: > I have two queries related to cayenne- It would be best if you changed the subject and started a new thread for each new topic. > 1- I have a table "registration" in which there is a primary key > "EnrolmentId" which is autogenerated after successf

Re: Cayenne with JSF 2

2012-04-03 Thread yunus
hi Andrus, I have two queries related to cayenne- 1- I have a table "registration" in which there is a primary key "EnrolmentId" which is autogenerated after successfully registration. Other attributes are "Name" and "PAN ID".(PAN ID can belong to more than one member of a family).So i want to kno

Re: Cayenne with JSF 2

2012-03-30 Thread Andrus Adamchik
Not a JSF user myself, but the use of Cayenne is not that much different between various frontends. You've probably seen the webapp Cayenne tutorial at http://cayenne.apache.org/doc30/tutorial.html You can just follow that on the Cayenne end. You will need to find a similar introductory resource

Re: Cayenne with JSF 2

2012-03-29 Thread yunus
Hi..i am developing a web application using JSF and Cayenne and i am pretty a beginner with cayenne technology. So can anyone tell me what will be the data flow from presentation to persistence process and what type of class will be created during this web application like entity,managed bean etc.P

Re: Cayenne with JSF 2

2011-11-11 Thread Mike Kienenberger
I have a Cayenne 1.2 + JSF 1.1 app I still maintain. It works well. There's really nothing special required to hook up JSF and Cayenne. On Fri, Nov 11, 2011 at 6:57 AM, Marco Gattei wrote: > Hi everyone, > >    I'm evaluating solutions for creating a back office application. > My usual choice in

Re: Cayenne with JSF 2

2011-11-11 Thread Marek Šabo
Hi, my team deployed Cayenne in solutions with Wicket, JSF2 and Primefaces. From our experience, integration with Wicket is easier, colleagues who worked with JSFs relied heavily on DTOs, in Wicket, you need them seldom, you can use ValueMaps and properties that Cayenne provides, either way

Re: Cayenne with JSF 2

2011-11-11 Thread René Aravena
I am using cayenne + wicket 1.5 + wiquery (jquery in wicket == primefaces look) + mysql and work fine. René Aravena 2011/11/11 Marco Gattei > I knew about Cayenne behing 'really agnostic to the view layer' > Cayenne is a truly gentlemen among ORMs ! > What i was wondering was if JSF would

Re: Cayenne with JSF 2

2011-11-11 Thread Marco Gattei
I knew about Cayenne behing 'really agnostic to the view layer' Cayenne is a truly gentlemen among ORMs ! What i was wondering was if JSF would do be as nice with ORMs :-D Marco Il 11/11/2011 13:02, Andrus Adamchik ha scritto: Haven't used JSF2 myself, but Cayenne is really agnostic to t

RE: Cayenne with JSF 2

2011-11-11 Thread Durchholz, Joachim
Off-topic for the list but probably relevant for you: I've been hearing lots of bad things about JSF and good things about Apache Wicket. I don't know anything about JSF2 or PrimeFaces though, so YMMV. The good news is what others said: the presentation layer should be largely unaffected by the

Re: Cayenne with JSF 2

2011-11-11 Thread Michael Gentry
Hi Marco, I've not used JSF, but Cayenne should be relatively pluggable into any UI framework you might be using. I personally use it with Tapestry 5 without any hassles. mrg On Fri, Nov 11, 2011 at 6:57 AM, Marco Gattei wrote: > Hi everyone, > >    I'm evaluating solutions for creating a bac

Re: Cayenne with JSF 2

2011-11-11 Thread Andrus Adamchik
Haven't used JSF2 myself, but Cayenne is really agnostic to the view layer. If you've mastered JSF, you shouldn't have any trouble using Cayenne with it. Cheers, Andrus On Nov 11, 2011, at 2:57 PM, Marco Gattei wrote: > Hi everyone, > >I'm evaluating solutions for creating a back office ap