you could try to create a wrapperservice, which creates your id instead of 
doing it by using hibernate. the service could look something like this:

  | public Long createId(String entity){
  | //read current value
  | //increment that
  | //write back to database
  | //return original value to caller
  | }
  | 
This creates a simple ID-Service with no dependancies. Don't forget to remove 
the annotation for the strategy. If that works probably  there is something 
wrong in the combination of hibernate and ms sql server.

regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054695#4054695

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054695
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to