Monday Feb 12, 2007
Monday Feb 12, 2007
A couple of months ago, JB blogged about how to use the Sun Java Studio Creator tutorial to learn about using Hibernate with the Visual Web Pack. We are happy to announce that there is now a Using Hibernate With the Visual Web Pack tutorial. Not only does this show how to use the Hibernate framework in a Visual Web application, it also shows how to use ObjectListDataProvider objects and how to fill an Options array for list-type components.
hibernate vwp dataprovider
Posted by Vinicius Ramos on March 26, 2007 at 08:48 AM PDT #
Posted by diva#2 on March 26, 2007 at 09:18 AM PDT #
Im developing an application using netbeans and visual java Server faces. I did the job very well when tables have only a simple primary key but when it is a compose primary key I don't know how work with that.
My database have 3 tables, master products(Articulos), master types(Tipos) and a listprices(listaprecios) I can only see data by this way
http://datacentertec.com:8080/PruebaWebApp/
Now i need do this Query
SELECT l.COD_LSP,t.DESC_TIPO,a.COD_ART, a.DESC_ART, l.PRECIO
FROM listaprecios l, Tipos t, Articulos a
WHERE l.TIP_LSP=t.TIPO and l.COD_ART=a.COD_ART
Para que me de algo asi como esto
COD_LSP DESC_TIPO COD_ART DESC_ART PRECIO
======= ======================== ======= ===============
LP001 Tipo de lista de Compras IN1001 Aguas 12.45
LP001 Tipo de lista de Venta IN1002 Alcohol cetílicoss 23.34
My proyect and database is in this link www.datacentertec.com/archivo/proyectoprueba.zip
I really apréciate your help
Regards,
Roberto
Posted by roberto on September 11, 2008 at 11:13 AM PDT #
Roberto,
This blog was written more than one year ago. There have been many changes to the product since then. To get help I suggest that you go to the tutorials page at http://www.netbeans.org/kb/trails/web.html. Click the link titled "Using Hibernate in a Visual Web JSF Application" If that does not answer your question, use the feedback button at the bottom of the tutorial or write to the netbeans user alias (see http://www.netbeans.org/community/lists/top.html)
Posted by Christine Kutler on October 06, 2008 at 09:56 AM PDT #