create a sequence in the databse like this
create sequense seq
minvalue 100000
maxvalue 999999
start with 100000
increment by 1
nocache
cycle
then set entity bean like this
@Id
@GeneratedValuesstratege=GenerationType.SEQUENCE)
if you want more information about you can look up in the EJB3.0 help ducument .you can download it from www.sun.com.or write to me xiaopang106(a)126.com
you could hava a try but i am not sure it will work
by the way ,how long hava you learn EJB3.0
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136983#4136983
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136983
Hello,
I am looking to make contact with anyone that may be able to provide me with links, phone contacts, or other avenues to locate tutorials related to Java script writing related to permissions.
The scenario currently being faced is that when add a new group on Active Directory and then via enterprise manager within filenet adding that group to another, the second group only has permissions for files going forward ..... but does not give access to group files previously created. Second scenario would be that group 2 might have permissions such as read only.
While I certainly welcome sample scripts and how to implement to accomplish the above mentioned tasks .... I would be more than happy as originally stated with any direction to tutorials related to this subject.
Thank you.
Alan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136974#4136974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136974