users@glassfish.java.net

Re: Glassfish with MySQL? Steps?

From: <glassfish_at_javadesktop.org>
Date: Sat, 19 Sep 2009 21:49:18 PDT

http://blogs.sun.com/arungupta/entry/totd_38_creating_a_mysql

is a useful demonstration of how NetBeans can be used to connect with the database.

On the web page, there is an unchecked conversion error in line three. Do you have any ideas?
            List<States> list = em.createNamedQuery("States.findByAbbrev").
                    setParameter("abbrev", abbrev).
                    getResultList();
[Message sent by forum member 'tse2009' (webofht-javanet01_at_yahoo.com.hk)]

http://forums.java.net/jive/thread.jspa?messageID=364787