Why don't you just put the address in your kill file and quit the
obscenities ?
> -----Original Message-----
> From: Osiris Pe�a [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 31, 2000 1:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Help with environment....
>
>
> MOTHER FUCKER !!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> REMOVE ME FROM YOUR MAIL LIST
>
>
>
>
> >From: Dan Hinojosa <[EMAIL PROTECTED]>
> >Reply-To: A mailing list for Enterprise JavaBeans development
> ><[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Help with environment....
> >Date: Sat, 29 Jul 2000 01:52:16 -0600
> >
> >I have an environment java.lang.Integer value that tracks the last ID
> >(ID being a unique key in my db). After I create an entity
> I would like
> >to increment that number one higher so that the next time an entity
> >needs to be created it can use the next number. One of my
> solutions was
> >via an EJB Client
> >
> >Context ctx = new InitialContext();
> >Object obj = ctx.lookup("java:comp/env/NextID");
> >int id = ((Integer)obj).getValue();
> >
> >//set the id
> >
> >/* These next lines of code did not work
> >ctx.rebind("java:comp/env/NextID",new Integer(++id));
> >ctx.bind("java:comp/env/NextID",new Integer(++id)); */
> >
> >Can anyone help me with this problem?
> >--
> >
> >Dan Hinojosa
> >Java & Lotus Notes Consultant
> >Java Certified Programmer
> >
> >P.O. Box 4675
> >Albuquerque, NM 87196-4675
> >Telephone: (505) 262-0911
> >Email: [EMAIL PROTECTED]
> >WWW: http://www.digitalpriest.com
> >
> >=============================================================
> ==============
> >To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> >of the message "signoff EJB-INTEREST". For general help,
> send email to
> >[EMAIL PROTECTED] and include in the body of the message "help".
> >
>
> ______________________________________________________________
> __________
> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".