Solved it here: http://forums.netbeans.org/viewtopic.php?t=47189&highlight=bookstore+sample+application
On Mar 28, 12:45 pm, Seva Jmurov <[email protected]> wrote: > Dear community, I'm totally stuck with this example. > As I have glassfish 3.1.2 and Neatbeans 7.1.1. the tables for bookstore1 > sample application haven't been created during project deploy on localhost. > After some investigation I've add import javax.annotation.* to Book.java > and create the table via *tutorial.sql* now my project deploys with no > errors but still I have error 500: > *java.sql.SQLSyntaxErrorException:table 'WEB_BOOKSTORE_BOOKS' does not exist > *, when I run it. > I have *jdbc:derby://localhost:1527/bookDB* runnig in netbeans. According > to this post http://www.java.net/node/691530I should add some setting to > persitence.xml but I don have any persistences in project. My guess that I > should go to glassfish admin console and create some JDBC connection but I > can't find how exactly it should be done, plus I'm not sure it can help. > Please I need to know at least where to search and what to search. > > There are some scrinshots attached. > > BookstoreTroubles.png > 188KViewDownload > > BookstoreTroubles2.png > 185KViewDownload -- You received this message because you are subscribed to the Google Groups "JPassion.com: Java Programming" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jpassion_java?hl=en.
