mysql « JPA « JSF Q&A





1. JSF, Hibernate    stackoverflow.com

I have a table called Items. When I tried to do 'Hibernate Reverse Enginering' in MyEclipse and run the program, I got this error:

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
You have an error in your SQL syntax;
check ...

2. How to save doc, pdf, and image files to mysql database using java?    stackoverflow.com

I am trying to save .doc, .pdf, .txt, and image files into my database using hibernate, jsf, and mysql. I have created a column to save the file of type BLOB. If ...

3. Dynamic Datasource invocation at runtime in JSF-EJB3-MySql a    forum.hibernate.org

This issue is regarding Dynamic Datasource invocation at runtime in JSF-EJB3-MySql application on Eclipse3.4.1-JBoss5.0.0 plateform. I have created a sample JSF-EJB3-MySql application on JBoss5.0.0 AS. Application works fine which performs CRUD operation in database schema "schema1" on table "table1". my JBoss5.0.0 server datasource file C:\jboss5.0.0\server\default\deploy\mysql-ds.xml looks like DefaultDS jdbc:mysql://host1:3306/schema1 com.mysql.jdbc.Driver username password 1 2 org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker mySQL ...