I think your error is, that all your annotation are connected to the fields.
if you try changing the way the container is accessing your annotations
(@Entity(access=...)) it sould be working. Of course you could put your
annotations to the properties as well.
| @Id(generate=GeneratorType.AUTO)
| public int getId(){
| return id;
| }
|
hope i could help you.
regards, milan wölke
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918922#3918922
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918922
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user