JBoss/MySQL/Win2K: Fails to get Auto-Inc Key

Hi, I'm not sure if this problem has been reported yet, but here's what I have
found. We have JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1
date 0305041533), running on a Windows 2000 machine connecting to a Windows
MySQL Box 3.23.49-max-nt-log. When creating an entity that uses auto
increment keys, our beans could not get the new key for the new record using
"mysql-connector-java-3.0.8-stable-bin.jar". So the program would die a
horrible death of exceptions. The only way I could get this to work was if I
used "mysql-connector-java-3.0.7-stable-bin.jar".

Andy

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Andy Pavlo [ Mo, 28 Juli 2003 18:43 ] [ ID #76112 ]

Re: JBoss/MySQL/Win2K: Fails to get Auto-Inc Key

Andy Pavlo writes:
> Hi, I'm not sure if this problem has been reported yet, but here's what I have
> found. We have JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1
> date 0305041533), running on a Windows 2000 machine connecting to a Windows
> MySQL Box 3.23.49-max-nt-log. When creating an entity that uses auto
> increment keys, our beans could not get the new key for the new record using
> "mysql-connector-java-3.0.8-stable-bin.jar". So the program would die a
> horrible death of exceptions. The only way I could get this to work was if I
> used "mysql-connector-java-3.0.7-stable-bin.jar".
>
> Andy
>

Can you send us all error messages that you get with 3.0.8 as well as
code that creates the entity.


--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Sinisa Milivojevic [ Di, 29 Juli 2003 13:15 ] [ ID #76113 ]

Re: JBoss/MySQL/Win2K: Fails to get Auto-Inc Key

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Pavlo wrote:
> Hi, I'm not sure if this problem has been reported yet, but here's
what I have
> found. We have JBoss [WonderLand] 3.2.1 (build: CVSTag=JBoss_3_2_1
> date 0305041533), running on a Windows 2000 machine connecting to a
Windows
> MySQL Box 3.23.49-max-nt-log. When creating an entity that uses auto
> increment keys, our beans could not get the new key for the new record
using
> "mysql-connector-java-3.0.8-stable-bin.jar". So the program would die a
> horrible death of exceptions. The only way I could get this to work
was if I
> used "mysql-connector-java-3.0.7-stable-bin.jar".
>
> Andy
>

Do you have a stack trace?

-Mark

- --
Mr. Mark Matthews
MySQL AB, Software Development Manager, J2EE and Windows Platforms
Office: +1 708 557 2388
www.mysql.com

Are you MySQL Certified?
http://www.mysql.com/certification/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/QUShtvXNTca6JD8RAthwAJ9WVMt9vh5mTHYPRBnCkR4LKbhumwCf ezvm
vuSm/kCqNwudmBYVvrVCs7w=
=lc1I
-----END PGP SIGNATURE-----


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Mark Matthews [ Mo, 18 August 2003 23:26 ] [ ID #76196 ]
Datenbanken » gmane.comp.db.mysql.bugs » JBoss/MySQL/Win2K: Fails to get Auto-Inc Key

Vorheriges Thema: [SL1141307644] Re: Re: My details
Nächstes Thema: -=> Crash MySQL Server Service (v4.1.0 alpha) <=-