Hi.
I discovered the following strange behaviour, while using our
with middlegen generated peristence layer.
I use value objects to transfer data from the client tier to the server.
Sometimes the new value of a CMR field is not stored in the database and
I don't know why.
I've tried following steps
1. Test
- The client set the CMR field on the VO and called a stateless session bean.
- The sessionbean retrieves the entitybean with findByPrimaryKey()
- The sessionbean call the methode setXXXLightValue on the entitybean
=>JBoss generates a correct updatestatement and sets the CMR value.
2. Test
- The client set the CMR field on the VO and called a stateless session bean.
- The sessionbean retrieves the entitybean with findByPrimaryKey()
- The sessionbean call the methode setXXXLightValue on the entitybean
- The sessionbean navigates with the CMR methodes on the entitybean and
fetchs some data which will be returned to the client.
=>JBoss generates a wrong updatestatement and sets only changed non CMR
fields.
Is this a bug or is this a configuration problem?
I use the following program versions.
JBoss 4.0.0
Middlegen 2.0 VO
Java 1.5.0_04b05
Oracle 9.xxx
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897037#3897037
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897037
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user