Sorry,
I'm not familiar with the SUN 'Duke Bankaccount' example.
But the result of you deployment for EJB must have an ejb-jar.xml, jboss.xml
and jaws.xml in the META-INF of the EJB.jar file
ejb-jar.xml:
<entity><ejb-name>EntityBean</eib-name>
| ....
| <cmp-field><field-name>xxxDate</field-name></cmp-field>
|
jaws.xml:
<entity>
| <ejb-name>EntityBean</ejb-name>
|
| <cmp-field>
| <field-name>xxxDate</field-name>
| <column-name>yyyDate</column-name>
| </cmp-field>
|
In the .java code of AccountEJB an attribute like java.sql.Timestamp and the
Table a coresponding column, see XML-files.
Have a short look into jboss.../server/default/conf/standardjaws.xml, here you
will find the mapping:
<type-mapping-definition>
| <name>mySQL</name>
| <mapping>
| <java-type>java.util.Date</java-type>
| <jdbc-type>DATE</jdbc-type>
| <sql-type>DATETIME</sql-type>
| </mapping>
|
I think this can be your problem ...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854280#3854280
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854280
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user