| <components xmlns="http://jboss.com/products/seam/components" | xmlns:core="http://jboss.com/products/seam/core" | xmlns:persistence="http://jboss.com/products/seam/persistence" | xmlns:web="http://jboss.com/products/seam/web" | xmlns:drools="http://jboss.com/products/seam/drools" | xmlns:bpm="http://jboss.com/products/seam/bpm" | xmlns:security="http://jboss.com/products/seam/security" | xmlns:mail="http://jboss.com/products/seam/mail" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation= | "http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd | http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd | http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd | http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd | http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd" | > | ... | <web:context-filter url-pattern="/b/*" /> | ... | </components> |
ArtworkServlet.java
|
| String query = "from gs_artwork_info a where a.fileName =
:filename";
| System.out.println(this.em.toString());
| artworkInfo = (ArtworkInfo)
this.em.createQuery(query).setParameter("filename",fileName).getSingleResult();
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101021#4101021
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101021
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
