Hi,
I am using the EJB3.0 stuff with JBoss 4.0.4RC1. Even though I looked at the
available migration guides, I could not find a proper answer. In the 4.0.3
Version I used
| @Id(generate = GeneratorType.NONE)
| public String getUsername() {
| return this.username;
| }
|
in order to allow the user to chose its own username. It should not get
generated automatically. Since version 4.0.4 it does not seem to work any
longer. Now here is my question: what is the equivalent (Hibernate) annotation
for this? I know that you need to use @GeneratedValue for this now, but none of
its strategies (strategy=GenerationType.XYZ) fulfill my purpose.
Thanks in advance
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936547#3936547
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936547
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user