Mysql-connector-java-5.1.7 download




















MF mysql-connector-java It provides compatibility with all the functionality of MySQL, including 5. I was looking for an answer but didn't find solution. I'm developing simple web-app using JSF2 and Hibernate. This is first time I'm using Hibernate and I'm facing many problems with configuration. My current issue is: I configured mysql connector as a module in JBoss7. Then I created datasource and added mysql-connector-java After starting JBoss I'm getting following logs:.

And then application is deployed and server starts successfully. When I try to invoke method trying to persist some data I obtain. I'm sure the mysql-connector-java Any ideas what am I missing here? MySQL server wersion is 5. Thank's a lot in advance!

I also tried to test this functionality outside the container, but now I'm really confused, because code is working well. I created class which uses the same code HIbernateUtil to obtain session factory and there are no exceptions, and data is inserted to DB.

Could anyone please explain me why it is working in that way, and why it is not working under the container? And how to fix this, because I have no idea Thank you very much! We assume that you are working on a Windows platform.

C:Program FilesJavajdk1. C:Program FilesJavajre1. Go to the control panel and double-click on System. If you are a Windows XP user, it is possible you have to open Performance and Maintenance before you will see the System icon. The most important thing you will need, of course is an actual running database with a table that you can query and modify. Install a database that is most suitable for you. We recommend downloading the full Windows installation. The format is specific to each driver. Any wrong character in the URL may make the database connectivity fail, therefore we recommend installing DbSchema and try to get connected.

During installation go for a detailed install, and when you are prompted for the user password check the 'Enable root access from remote machines'. Enabling this you will be allowed to connect to MySql from another computer. Remember the password you set here, it will be requested when connecting to the database as user root. The installation is done. You can enable remote access during installation see the next chapter or later using the instructions below.

If this didn't help, please try to search the web for tutorials.



0コメント

  • 1000 / 1000