Re: Wicket database access

2008-02-22 Thread Nino Saturnino Martinez Vazquez Wael
Wicket will not force any method or framework down your throat, wicket is a web framework. It's completely up to yourself to decide which way you want to go.. Its probably why you get so differentiated answers. Whether you use spring or databinder or something else is up to you. regards Nino

Re: Wicket database access

2008-02-22 Thread Florian Sperber
Hi wjser, I'm frustrated, because i didn't any answer to my question. I searched the wicket documentation and the web, but found no information. since Wicket is a Web-Application-Framework many believe, that it should focus on especially that area. Wicket provides very good tools to do

Re: Wicket database access

2008-02-22 Thread dtoffe
Perhaps this examples can help you: http://wicketstuff.org/wicket13/repeater/;jsessionid=685F6D6B394FDC490370784672E4A8C0?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.FormPage Daniel dtoffe wrote: If I understand you correctly, what you want to do is something

Re: Wicket database access

2008-02-22 Thread dtoffe
If I understand you correctly, what you want to do is something alike to editing an MSAccess table, not even using JDBC or SQL, just messing with the raw data, is this correct ?? I don't think you can do this with Wicket, and even if possible, I don't believe this to be a good practice.

Re: Wicket database access

2008-02-22 Thread Igor Vaynberg
google is your friend http://www.stardeveloper.com/articles/display.html?article=2003090401page=1 -igor On Fri, Feb 22, 2008 at 1:22 AM, wjser [EMAIL PROTECTED] wrote: I just want to communicate with a database (i.e. Mysql) like fetching data from the DBMS and insert/update datasets. I

Re: Wicket database access

2008-02-22 Thread wjser
i do know how to handle JDBC. The problem is that i don't know how to use JDBC inside Wicket. I think that i have to implement IDataProvider wich would fetch the data from the database, but i don't know how to do this. I also don't know how to insert data into the database which come from a

Re: Wicket database access

2008-02-22 Thread Florian Sperber
http://wicketstuff.org/wicket13/repeater Kind regards Florian Sperber wjser schrieb: i do know how to handle JDBC. The problem is that i don't know how to use JDBC inside Wicket. I think that i have to implement IDataProvider wich would fetch the data from the database, but i don't know how

Re: Wicket database access

2008-02-22 Thread wjser
I just want to communicate with a database (i.e. Mysql) like fetching data from the DBMS and insert/update datasets. I have/want to use JDBC and SQL for fetching and inserting the data into the database. I don't know how to do this. Florian Sperber wrote: Hi wjser, I'm frustrated,

RE: Wicket database access

2008-02-22 Thread Kai Mutz
[EMAIL PROTECTED] wrote: i do know how to handle JDBC. The problem is that i don't know how to use JDBC inside Wicket. I think that i have to implement IDataProvider wich would fetch the data from the database, but i don't know how to do this. I also don't know how to insert data into the

RE: Wicket database access

2008-02-22 Thread Maeder Thomas
inside Wicket (a la Seam) would be a useless complication for us. Thomas -Original Message- From: wjser [mailto:[EMAIL PROTECTED] Sent: Freitag, 22. Februar 2008 10:49 To: users@wicket.apache.org Subject: Re: Wicket database access i do know how to handle JDBC. The problem

Re: Wicket database access

2008-02-22 Thread James Carman
One thing you might want to consider is that Wicket's form support is very good at editing beans (stuff with getters/setters) which means you're going to have to transform data from your JDBC ResultSets into a Java objects. That sounds a lot like ORM to me and there are great frameworks out there

Re: Wicket database access

2008-02-22 Thread Nino Saturnino Martinez Vazquez Wael
Inline answer... James Carman wrote: One thing you might want to consider is that Wicket's form support is very good at editing beans (stuff with getters/setters) which means you're going to have to transform data from your JDBC ResultSets into a Java objects. That sounds a lot like ORM to me

Re: Wicket database access

2008-02-22 Thread James Carman
On 2/22/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Inline answer... James Carman wrote: One thing you might want to consider is that Wicket's form support is very good at editing beans (stuff with getters/setters) which means you're going to have to transform

Re: Wicket database access

2008-02-22 Thread Nino Saturnino Martinez Vazquez Wael
James Carman wrote: On 2/22/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Inline answer... James Carman wrote: One thing you might want to consider is that Wicket's form support is very good at editing beans (stuff with getters/setters) which means you're going

Re: Wicket database access

2008-02-22 Thread James Carman
On 2/22/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I think the first version probably would be located at wicketstuff. If devs then say okay, we could then move it to the core project (i think) or to the place where the other archetypes are. The only problem with

Re: Wicket database access

2008-02-22 Thread Nino Saturnino Martinez Vazquez Wael
James Carman wrote: On 2/22/08, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: I think the first version probably would be located at wicketstuff. If devs then say okay, we could then move it to the core project (i think) or to the place where the other archetypes are.

Re: Wicket database access

2008-02-22 Thread trames
I too am new to Wicket, and wanted to start using it without having to learn a persistance tool. I have never used a framework before, just JSP and Servlets. I tried dabbling a little with JPA, but found it confusing - especially when working with tables whose primary keys have more than one

Re: Wicket database access

2008-02-22 Thread Igor Vaynberg
while wicket has first class support for editing beans, it is by no means the only way. it is quiet trivial to create a ColumnModel that is like a property model but reads data from a resultset object and populates a prepared statement object... all im saying is that you dont have to box yourself

Re: Wicket database access

2008-02-21 Thread James Carman
You would access it like you would it any other web application. I would suggest using the Spring JDBC support stuff, though. On 2/21/08, wjser [EMAIL PROTECTED] wrote: Hi all, i have a simple question. How can i access a database from wicket? I don't want to use any object-relational

Re: Wicket database access

2008-02-21 Thread rmattler
I'm new to this whole thing and I've just done this using the book Enjoying development with Wicket. It is $20 and worth the money to get your feet wet. It has a good example of JDBC only access and what you gain by using Spring and then Hibernate. Hope this helps. Considering I only have 3

Re: Wicket database access

2008-02-21 Thread dtoffe
Take a look at JPersist (http://www.jpersist.org/). You can do plain JDBC and/or POJO oriented data access, and it's more code oriented that framework oriented, if this makes sense. I think it's easier to understand for people coming from years of desktop database development and when you

Re: Wicket database access

2008-02-21 Thread wjser
I'm frustrated, because i didn't any answer to my question. I searched the wicket documentation and the web, but found no information. Nowadays no serios web application can be developed without database access and a no developer should be forced to use an object-relational mapper. I wann