In Jboss3.2.3 when doing a select via ejb-ql on a entityBean, in the server log
in DEBUG mode i see:
DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.FolderBean]
Executing SQL: UPDATE T_FOLDER SET CREATION_DATE=? WHERE FOLDER_ID=?
-- CREATION_DATE is declared as java.sql.Date
Using ms sqlserveur2000.
type mapping is :
<java-type>java.sql.Date</java-type>
<jdbc-type>DATE</jdbc-type>
<sql-type>DATETIME</sql-type>
Problem : it update the date fields and no modification was done on any value
of the EntityBean.
HOW can i prevent this unwanted update to happen?
On small amount of records, it's not a problem, but with more than 5.000
records its consume time.
HELP !!!!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864820#3864820
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864820
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user