Hi all,
I'm trying to map a mysql 5.0 view to a EJB3 entity bean, but I get the
following error:
00:37:02,240 INFO [DatabaseMetadata] table not found: CS_O_NET_SKILL_V
| 00:37:02,250 WARN [ServiceController] Problem starting service
persistence.unit
| s:ear=999classifiedsolutions.ear.ear,unitName=ClassifiedSolutionsPar
| java.lang.reflect.InvocationTargetException
| etc... etc...
The mapping of the other tables works, but I cannot map a single table. I have
tried with mysql-connector-3.1.2 and mysql-connector-5.0beta, and I get the
same error.
My configuration is:
JDK 150_6
JBOSS 404RC1
MYSQL 5.0
mysql-connector-3.1.2 or mysql-connector-5.0beta
and the code in my java class is:
@Entity
| @Table(name="CS_O_NET_SKILL_V", uniqueConstraints = { } )
|
| public class CsONetSkill implements java.io.Serializable {
|
| etc...
|
Anybody knows how I can map a MySQL View to an EJB3 entity bean? What am I
doing wrong?
Thanks in advance:
Diego
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939686#3939686
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939686
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user