<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Java</title>
        <description>Forum for MySQL and Java..</description>
        <link>http://forums.mysql.com/list.php?46</link>
        <lastBuildDate>Tue, 21 May 2013 12:40:57 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?46,582847,582847#msg-582847</guid>
            <title>One specific Query doesn't run (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,582847,582847#msg-582847</link>
            <description><![CDATA[ Hi!<br />
<br />
I have an issue running a group of querys on my app, but it really makes me headache that one specific query doesn't run. Here a brief explanation.<br />
<br />
I'm converting Excel sheets into mysql tables, here everithing is allright.<br />
then I declare a variable called &quot;fecha&quot;, I use this variable several times in different querys and everything goes cool. but one specific query I'm sure is not working, worst there is no error message.<br />
<br />
Here part of the code.<br />
<br />
 st.executeUpdate(&quot;UPDATE terminales_temporal a inner join (SELECT e.estatus, e.terminal,DATEDIFF('&quot;+fecha+&quot;',t.fecha_alta) FA FROM terminales_temporal t INNER JOIN estatus_terminales e ON t.terminal=e.terminal WHERE t.con_mov IS NULL AND e.mes=IF(t.mes=1,t.mes+11,t.mes-1)) b ON a.terminal = b.terminal SET a.estatus=1, a.descripcion_estatus = 'Sin Start' WHERE b.estatus = 1 AND FA &gt;=0;&quot;);<br />
                  st.executeUpdate(&quot;UPDATE terminales_temporal a inner join (SELECT e.estatus, e.terminal,DATEDIFF('&quot;+fecha+&quot;',t.fecha_alta) FROM terminales_temporal t INNER JOIN estatus_terminales e ON t.terminal=e.terminal WHERE t.con_mov IS NULL AND e.mes=IF(t.mes=1,t.mes+11,t.mes-1)) b ON a.terminal = b.terminal SET a.estatus=5, a.descripcion_estatus='Inicio de Inactividad' WHERE b.estatus in (2,3,4);&quot;);<br />
                  st.executeUpdate(&quot;UPDATE terminales_temporal a inner join (SELECT e.estatus, e.terminal,DATEDIFF('&quot;+fecha+&quot;',t.fecha_alta) FROM terminales_temporal t INNER JOIN estatus_terminales e ON t.terminal=e.terminal WHERE t.con_mov IS NULL AND e.mes=IF(t.mes=1,t.mes+11,t.mes-1)) b ON a.terminal = b.terminal SET a.estatus=6, a.descripcion_estatus='Continua sin Operacion' where b.estatus in (5,6);&quot;);<br />
==&gt; this one is nor working        st.executeUpdate(&quot;UPDATE terminales_temporal c inner join (SELECT d.terminal,DATEDIFF('&quot;+fecha+&quot;',d.fecha_alta) as FA FROM terminales_temporal as d WHERE d.con_mov IS NULL AND d.estatus IS NULL AND d.fecha_primer_mov IS NULL) as e on c.terminal = c.terminal SET c.estatus=1, c.descripcion_estatus = 'Sin Start' WHERE e.FA &gt;=0;&quot;); &lt;====<br />
                  st.executeUpdate(&quot;UPDATE terminales_temporal a inner join (SELECT terminal FROM terminales_temporal WHERE con_mov IS NULL AND fecha_cancel&lt;&gt;'0000-00-00') b on a.terminal = b.terminal SET estatus=7, descripcion_estatus='Cancelada';&quot;);<br />
<br />
Any advice will be very apreciated, I don't know what else to show you.]]></description>
            <dc:creator>Francisco Pastrana</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 02 Apr 2013 16:25:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,581094,581094#msg-581094</guid>
            <title>Accessing MySQL database through EJB and JPA entity and Assigning Security Control (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,581094,581094#msg-581094</link>
            <description><![CDATA[ Dear All. Good day! I trust this catches you well.<br />
<br />
I am developing an EJB application, a project here in my company. Because this is the very first time we work with EJBs I can't help but have 2 important questions, about which your kind assistance is highly appreciated.<br />
<br />
(1) How can I insert data in database tables by calling the EJB from a Java SE client main method? By way of test I wrote a simple EJB and Java code. Here is the snippet:<br />
<br />
@Stateless<br />
public class insertRecordBean implements insertRecordRemote {<br />
    <br />
<br />
    @PersistenceContext(unitName = &quot;EJBDB-ejbPU&quot;)<br />
    private EntityManager em;<br />
<br />
    @TransactionAttribute(TransactionAttributeType.REQUIRED)<br />
    public void createTest(int id, String name) {<br />
<br />
        em.getTransaction().begin();<br />
        Testejb ts = new Testejb();<br />
        ts.setTId(id);<br />
        ts.setNome(name);<br />
        em.persist(ts);<br />
<br />
and Java client main method:<br />
<br />
public class Main {<br />
    @EJB<br />
    private static insertRecordRemote insertRecordBean;<br />
<br />
    @Resource<br />
    static UserTransaction ut;<br />
<br />
    /**<br />
     * @param args the command line arguments<br />
     */<br />
    public static void main(String[] args) {<br />
        // TODO code application logic here<br />
        System.out.println(&quot;Establishing connection to the bean...&quot;);<br />
        try{<br />
<br />
<br />
            InitialContext initialContext = new InitialContext();<br />
            insertRecordBean = (insertRecordRemote) initialContext.lookup<br />
                    (&quot;server.insertRecordRemote&quot;);<br />
<br />
            ut.begin();<br />
<br />
            int id = 2;<br />
            String nome = &quot;Flavia&quot;;<br />
<br />
            insertRecordBean.createTest(id, nome);<br />
            ut.commit();<br />
<br />
// End of code snippets<br />
<br />
A call similar to the above results in a simple EJB that does not access mysql db. What is missing,please?<br />
<br />
<br />
(2) Each Java client will access some tables on the mysql db, with some privileges. If they were accessing the database from, say, mysql command-line shell they would have to enter username and password. How can I do a similar authentication in the java client main method? so that a user enters his credentials before doing any operations?<br />
<br />
Looking forward to hear from you,<br />
Thanks a million,<br />
Victor]]></description>
            <dc:creator>Victor Ronda</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 12 Mar 2013 10:52:58 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,579570,579570#msg-579570</guid>
            <title>Classes in Java (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,579570,579570#msg-579570</link>
            <description><![CDATA[ Can anyone share how Java classes are helpful in mobile technology? I want to do a project in Java and want to introduce mobile technology in Java. Share your ideas about this project.]]></description>
            <dc:creator>helen786 Angel</dc:creator>
            <category>Java</category>
            <pubDate>Thu, 21 Feb 2013 06:04:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,579300,579300#msg-579300</guid>
            <title>detect datetime's precision (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,579300,579300#msg-579300</link>
            <description><![CDATA[ Anybody knows how to use resultsetmetadata to detect a table's column's datetime precision?<br />
<br />
e.g. I have a table 'A', and table 'A' has a column 'login', which is datetime type. I want to use resultsetmetadata in my java application to see if the 'login' column has been defined as datetime or datetime(6). <br />
<br />
By the way, datetime (0-6) is supportted from mysql 5.6.4<br />
<br />
Thanks,<br />
Ben]]></description>
            <dc:creator>Ben Zhou</dc:creator>
            <category>Java</category>
            <pubDate>Sat, 16 Feb 2013 20:38:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,577489,577489#msg-577489</guid>
            <title>Zero results returned when results expected (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,577489,577489#msg-577489</link>
            <description><![CDATA[ Hey guys,<br />
<br />
We are currently experiencing an issue in our production environment whereby we are seeing queries being returned with zero results when there should always be at least one row returned.<br />
<br />
The query is incredibly simple:<br />
<br />
SELECT * FROM TABLE WHERE ID = ?;<br />
<br />
We have set up some simple test java apps to isolate the issue from our application layer and to test for different scenarios such as using different connection pools / drivers etc and different configurations.<br />
<br />
We are running mysql 5.6.5m8 but this was also an issue in our old 5.1 percona release.<br />
<br />
There doesn't seem to be any trend to this and it doesn't appear to coincide with any of our other processes.<br />
<br />
On the test box we are executing the query every 50ms and have 12 different java test apps running the same query.<br />
<br />
I turned on the slow_query_log and set it to log all queries that take less than one microsecond to complete, however when I did this the issue seemed to go away. Perhaps slowing down the server introduced a 'fix' to the issue. I am now testing again with the slow_query_log turned off. (this had been running for a few hours with the slow log off and I haven't seen any zero results since the change).<br />
<br />
The mysql box is running on innodb, has 12GB of ram and 16 cores. It is a 64-bit environment.<br />
<br />
The table I am querying has 1.9m rows but is indexed and normally returns a resultset in under a second.<br />
<br />
The box also isn't under any load apart from the testing that is being carried out.<br />
<br />
Any ideas on this would be appreciated as I'm stumped right now?]]></description>
            <dc:creator>Tarran Benson-West</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 18 Jan 2013 20:01:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,575986,575986#msg-575986</guid>
            <title>i want make java application (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,575986,575986#msg-575986</link>
            <description><![CDATA[ i want make java application and i want to konw how i do it <br />
i want make it licke this site : <a href="http://www.arbsb.com"  rel="nofollow">http://www.arbsb.com</a>]]></description>
            <dc:creator>oth tah</dc:creator>
            <category>Java</category>
            <pubDate>Thu, 13 Dec 2012 06:44:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,575839,575839#msg-575839</guid>
            <title>com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after connection closed (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,575839,575839#msg-575839</link>
            <description><![CDATA[ Hi i am getting the following error sometimes. What does it mean?<br />
<br />
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:<br />
<br />
<br />
** BEGIN NESTED EXCEPTION ** <br />
<br />
com.mysql.jdbc.CommunicationsException<br />
MESSAGE: Communications link failure due to underlying exception: <br />
<br />
** BEGIN NESTED EXCEPTION ** <br />
<br />
java.net.SocketException<br />
MESSAGE: Software caused connection abort: socket write error<br />
<br />
STACKTRACE:<br />
<br />
java.net.SocketException: Software caused connection abort: socket write error<br />
	at java.net.SocketOutputStream.socketWrite0(Native Method)<br />
	at java.net.SocketOutputStream.socketWrite(Unknown Source)<br />
	at java.net.SocketOutputStream.write(Unknown Source)<br />
	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)<br />
	at java.io.BufferedOutputStream.flush(Unknown Source)<br />
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2631)<br />
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1548)<br />
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)<br />
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3112)<br />
	at com.mysql.jdbc.Connection.setAutoCommit(Connection.java:5209)<br />
	at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.begin(LocalManagedConnection.java:135)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:650)<br />
	at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)<br />
	at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:437)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:323)<br />
	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)<br />
	.<br />
	.<br />
	.<br />
	.<br />
	<br />
** END NESTED EXCEPTION **<br />
<br />
<br />
<br />
Last packet sent to the server was 16 ms ago.<br />
<br />
STACKTRACE:<br />
<br />
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: <br />
<br />
** BEGIN NESTED EXCEPTION ** <br />
<br />
java.net.SocketException<br />
MESSAGE: Software caused connection abort: socket write error<br />
<br />
STACKTRACE:<br />
<br />
java.net.SocketException: Software caused connection abort: socket write error<br />
	at java.net.SocketOutputStream.socketWrite0(Native Method)<br />
	at java.net.SocketOutputStream.socketWrite(Unknown Source)<br />
	at java.net.SocketOutputStream.write(Unknown Source)<br />
	at java.io.BufferedOutputStream.flushBuffer(Unknown Source)<br />
	at java.io.BufferedOutputStream.flush(Unknown Source)<br />
	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2631)<br />
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1548)<br />
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)<br />
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3112)<br />
	at com.mysql.jdbc.Connection.setAutoCommit(Connection.java:5209)<br />
	at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.begin(LocalManagedConnection.java:135)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:650)<br />
	at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1196)<br />
	at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:649)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:437)<br />
	at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:323)<br />
	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)<br />
	.<br />
	.<br />
	.<br />
	.]]></description>
            <dc:creator>Praveen Kumar</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 11 Dec 2012 16:01:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,575498,575498#msg-575498</guid>
            <title>Dot NET Failure Error (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,575498,575498#msg-575498</link>
            <description><![CDATA[ I was using MySQL WorkBench 5.2 from many months....<br />
Suddenly Some Error Occured and Stop Responding for Starting....<br />
Now it is not Starting.....<br />
I had Un-installed it and Re-Installed it From Computer....<br />
<br />
Also Debugger wont find anything for the same.....<br />
<br />
<br />
Help Me on this........<br />
Thanks In Advance....<br />
<br />
<br />
Jugal]]></description>
            <dc:creator>Jugal Thakkar</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 11 Dec 2012 16:03:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,570924,570924#msg-570924</guid>
            <title>Java Class Diagram to MySQL Database Table Help (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,570924,570924#msg-570924</link>
            <description><![CDATA[ Please see this link <a href="http://djhirecork.com/project/classDiagram.jpg"  rel="nofollow">http://djhirecork.com/project/classDiagram.jpg</a> for a class diagram that i have created. I am looking to design a normalised database for this project that i am doing for college.<br />
<br />
Here is what i have come up with so far.<br />
Can anyone tell me if this is correct or not?<br />
<br />
Dj Booking table<br />
id<br />
customerID<br />
venue<br />
Price<br />
eventDate<br />
StartTime<br />
FinishTime<br />
dateOfBooking<br />
PlaylistURL<br />
Occasion<br />
BookingType<br />
Note Status<br />
<br />
Equipment Booking table<br />
customerID<br />
Price<br />
venue<br />
status<br />
dateOfBooking<br />
BookingType<br />
Note<br />
Status<br />
Category<br />
equipmentReturned<br />
needsToBeDroppedOf<br />
EquipmentIDs<br />
<br />
Customer Table<br />
name<br />
contactNo<br />
address<br />
email<br />
sourceOfContact<br />
dateOfContact<br />
<br />
DJ Table<br />
name<br />
contactNo<br />
address<br />
email<br />
sourceOfContact<br />
dateOfContact<br />
<br />
Corporate Customer Table<br />
name<br />
contactNo<br />
address<br />
email<br />
sourceOfContact<br />
dateOfContact<br />
companyName<br />
<br />
EquipmentTable<br />
name<br />
category (should i have another table called category and have this field categoryid???)<br />
price<br />
dateOfPurchase<br />
serielNumber<br />
operational]]></description>
            <dc:creator>Kevin Khan</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 16 Nov 2012 02:51:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,570833,570833#msg-570833</guid>
            <title>sql query issue (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,570833,570833#msg-570833</link>
            <description><![CDATA[ Hi all,<br />
       I am finding it difficult to build one mysql query.<br />
<br />
I have a table messages_stats_analysis_ota, with 4 columns: [brand_code, date_time_from, date_time_to, success_count].<br />
<br />
I want the value inside 'success_count' against individual 'brand_code', which lie within the last 7 days from the current date.<br />
<br />
u2, 01.10.2012, 07.10.2012, 100 <br />
u2, 02.10.2012, 08.10.2012, 100<br />
u2, 03.10.2012, 07.10.2012, 100<br />
u2, 08.10.2012, 14.10.2012, 50<br />
fr, 01.10.2012, 07.10.2012, 200<br />
<br />
<br />
Now lets assume, the current date is 08.10.2012.<br />
<br />
I want only the follwoing 2 rows to be retrieved:<br />
<br />
u2, 01.10.2012, 07.10.2012, 100 <br />
fr, 01.10.2012, 07.10.2012, 200<br />
<br />
I tried to build this query:<br />
<br />
SELECT * FROM messages_stats_analysis_ota WHERE date_time_from &gt;= DATE_SUB(CURDATE(), INTERVAL 7 DAY);<br />
<br />
but it gives me, the follwoing, which i dont want:<br />
<br />
u2, 01.10.2012, 07.10.2012, 100 <br />
u2, 02.10.2012, 08.10.2012, 100<br />
u2, 03.10.2012, 07.10.2012, 100<br />
fr, 01.10.2012, 07.10.2012, 200<br />
<br />
Assumtpion is current date is: 08.10.2012.<br />
<br />
Coudl someone please help me out?<br />
<br />
Thanks.]]></description>
            <dc:creator>Suleman Butt</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 12 Oct 2012 16:39:11 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,568850,568850#msg-568850</guid>
            <title>Resource 'kill.exe' not found (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,568850,568850#msg-568850</link>
            <description><![CDATA[ I need to use mxj library for an embedded database.<br />
I get an exception when use mysql-connector-mxj-5.0.12.jar.<br />
There is an exception when I call the shutdown() method from MysqldResource:<br />
<br />
   Exception in thread &quot;main&quot; java.util.MissingResourceException: Resource 'kill.exe' not found<br />
   at com.mysql.management.util.Streams.getResourceAsStream(Streams.java:124)<br />
   at com.mysql.management.util.Streams.getResourceAsStream(Streams.java:108)<br />
   at com.mysql.management.util.Streams$1.inner(Streams.java:140)<br />
   at com.mysql.management.util.Exceptions$VoidBlock.exec(Exceptions.java:129)<br />
   at com.mysql.management.util.Streams.createFileFromResource(Streams.java:153)<br />
   at com.mysql.management.util.ProcessUtil.getWindowsKillFile(ProcessUtil.java:71)<br />
   at com.mysql.management.util.ProcessUtil.&lt;init&gt;(ProcessUtil.java:60)<br />
   at com.mysql.management.MysqldResource.issueNormalKill(MysqldResource.java:385)<br />
   at com.mysql.management.MysqldResource.shutdown(MysqldResource.java:316)<br />
   at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.shutdown(ServerLauncherSocketFactory.java:219)<br />
   at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.shutdown(ServerLauncherSocketFactory.java:210)<br />
   at coza.healthbridge.collections.ConnectorMXJUrlTestExample.main(ConnectorMXJUrlTestExample.java:47)<br />
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br />
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
   at java.lang.reflect.Method.invoke(Method.java:601)<br />
   at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)<br />
<br />
I looked through the old versions of mysql-connector-mxj and there is 'kill.exe' file in jar.<br />
Why there is no 'kill.exe' file in mysql-connector-mxj-5.0.12.jar?]]></description>
            <dc:creator>Alex Barchuk</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 18 Sep 2012 09:17:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,566710,566710#msg-566710</guid>
            <title>Java access to native MySQL Geometry (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,566710,566710#msg-566710</link>
            <description><![CDATA[ Folks,<br />
<br />
Not sure where to ask this question.<br />
 <br />
If anyone can point me to better places to do so...<br />
<br />
I am investigating whether it is possible to access MySQL's GEOMETRY data natively via Java. I do not wish to access the data via WKT or WKB if I can avoid it.<br />
<br />
Does anyone know of any open source Java resources that could help me do this?<br />
<br />
regards<br />
Simon]]></description>
            <dc:creator>Simon Greener</dc:creator>
            <category>Java</category>
            <pubDate>Wed, 29 Aug 2012 23:34:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,566187,566187#msg-566187</guid>
            <title>Are there MySQL versions which are more robust and suitable for a multi-threaded Java EE, Hibernate and Ehcache application? (3 replies)</title>
            <link>http://forums.mysql.com/read.php?46,566187,566187#msg-566187</link>
            <description><![CDATA[ Are there MySQL versions which are more robust and suitable for a multi-threaded Java EE, Hibernate and Ehcache application? The Servletcontainer is Jetty.<br />
Right now I think we're using MySQL v5.1.50 under FreeBSD and I'm getting:<br />
********************************************************************************<br />
********************************************************************************<br />
********************************************************************************<br />
********************************************************************************<br />
2011-09-05 16:55:18,350 WARN [org.hibernate.util.JDBCExceptionReporter] - &lt;SQL Error: 1205, SQLState: 41000&gt;<br />
2011-09-05 16:55:18,350 ERROR [org.hibernate.util.JDBCExceptionReporter] - &lt;Lock wait timeout exceeded; try restarting transaction&gt;<br />
2011-09-05 16:55:18,352 ERROR [org.hibernate.event.def.AbstractFlushingEventListener] - &lt;Could not synchronize database state with session&gt;<br />
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update<br />
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)<br />
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)<br />
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)<br />
        at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)<br />
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)<br />
        at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)<br />
        at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)<br />
        at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)<br />
        at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)<br />
        at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)<br />
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:198)<br />
        at $Proxy38.flush(Unknown Source)<br />
<br />
******************************************************************************<br />
******************************************************************************<br />
******************************************************************************<br />
******************************************************************************<br />
AND<br />
<br />
2011-06-23 11:19:25,910 ERROR [org.hibernate.util.JDBCExceptionReporter] - &lt;Column 'campaign_contract_id' cannot be null&gt;<br />
2011-06-23 11:19:25,967 ERROR [adx.main] - &lt;Stats job failed for &gt;<br />
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update<br />
        at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)<br />
        at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:226)<br />
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:198)<br />
        at $Proxy37.persist(Unknown Source)<br />
********************************************************************************<br />
********************************************************************************<br />
********************************************************************************<br />
********************************************************************************<br />
Every now and then and I'm having to restart the mysql server. That used to fix it. But now I'm getting more and more of it. A cell in the database gets corrupt and merely trying to alter the contents of that row it in PhpMyAdmin doesn't work. It tries for a long time and then exits with an errormessage. After a restart of the mysql-server it usually works. Now I'm getting more and more of these incidents. Now even the single threaded Java EE servlet are experiencing these problems. We have 2 different physical servers running Java EE Webapplications against the same MySQL server. Synchronization in the sense of one Hibernate cache not knowing that a row has been modified by the other Java server or PHP has not been an issue.  A dirty flag is set and everyone knows that the row is dirty.<br />
<br />
Will upgrading to MySQL v5.5 solve these problems? Or are there other more robust versions of MySQL?]]></description>
            <dc:creator>Lars Gustafsson</dc:creator>
            <category>Java</category>
            <pubDate>Thu, 30 Aug 2012 17:08:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,565144,565144#msg-565144</guid>
            <title>Communications link failure (18 replies)</title>
            <link>http://forums.mysql.com/read.php?46,565144,565144#msg-565144</link>
            <description><![CDATA[ Hi all!<br />
<br />
I'm having quite a hard time setting up my project connection with mysql. I did it all the usual way, installed the jdk, mysql (the proper version according to my OS) and added the jar file to my eclipse/netbeans (tried both) IDE.<br />
<br />
The workbench works just fine, without any problems. I'm able to connect, create tables, make queries and the like. - OK<br />
<br />
The console works too, I am able to connect to the DB, use a show tables command, create tables, etc. - OK<br />
<br />
My JDBC connection DOES NOT WORK in any way. I just wrote the standard connection factory code, it succeeds with the driver, Class.forName(&quot;com.mysql.jdbc.Driver&quot;), but it fails when it comes to run the getConnection.<br />
<br />
I am using:<br />
<br />
getConnection(url,user,password)<br />
<br />
url = &quot;jdbc:mysql://localhost:3306/teste&quot;;<br />
user = &quot;root&quot;<br />
password = my password<br />
<br />
it returns:<br />
<br />
com.mysql.jdbc.exceptions.jdbc4.CommunicationsExceptions: Communications link Failure<br />
<br />
The last  packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.<br />
<br />
<br />
My system specs:<br />
<br />
Windos 7 - 64<br />
Java 1.7<br />
mysql 5.5.27<br />
<br />
Thanks!!]]></description>
            <dc:creator>Dionisio Agouarakis</dc:creator>
            <category>Java</category>
            <pubDate>Sat, 06 Apr 2013 01:10:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,563388,563388#msg-563388</guid>
            <title>Getting &quot;javax.net.ssl.SSLException: Unsupported record version Unknown-0.0&quot; (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,563388,563388#msg-563388</link>
            <description><![CDATA[ I'm trying to connect to MySQL server using JDBC client using TLSv1. <br />
<br />
JDBC URL: <br />
jdbc:mysql://server_IP:3306/test?noDatetimeStringSync=true&amp;useSSL=true <br />
<br />
MySQL server: <br />
5.5.25a community edition <br />
<br />
Connector Used: <br />
mysql-connector-java-5.1.21-bin.jar <br />
<br />
Certificates used: <br />
self signed certs created using OpenSSL on linux box <br />
<br />
Resulting exception: <br />
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure <br />
<br />
The last packet successfully received from the server was 84 milliseconds ago. The last packet sent successfully to the server was 82 milliseconds ago. <br />
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) <br />
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) <br />
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) <br />
at java.lang.reflect.Constructor.newInstance(Unknown Source) <br />
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) <br />
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1117) <br />
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:105) <br />
at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:5126) <br />
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1666) <br />
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1244) <br />
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2397) <br />
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2430) <br />
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2215) <br />
at com.mysql.jdbc.ConnectionImpl.&lt;init&gt;(ConnectionImpl.java:813) <br />
at com.mysql.jdbc.JDBC4Connection.&lt;init&gt;(JDBC4Connection.java:47) <br />
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) <br />
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) <br />
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) <br />
at java.lang.reflect.Constructor.newInstance(Unknown Source) <br />
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) <br />
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399) <br />
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334) <br />
. <br />
. <br />
. <br />
. <br />
. <br />
. <br />
. <br />
Caused by: javax.net.ssl.SSLException: Unsupported record version Unknown-0.0 <br />
at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source) <br />
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source) <br />
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:90) <br />
... 37 more <br />
<br />
I have seen many bugs releted to this exception and many have status as fixed. But I'm still getting this exception. <br />
<br />
Here is the network log captured on MySQL server machine using MS Network Monitor <br />
<br />
<br />
mysqld.exe	164.99.135.140	164.99.135.57	TLS	TLS:TLS Rec Layer-1 HandShake: Client Hello.	{TLS:5458, SSLVersionSelector:5457, TCP:5454, IPv4:15} <br />
mysqld.exe	164.99.135.140	164.99.135.57	TLS	TLS:TLS Rec Layer-1 HandShake: Certificate. Client Key Exchange.	{TLS:5458, SSLVersionSelector:5457, TCP:5454, IPv4:15} <br />
mysqld.exe	164.99.135.140	164.99.135.57	TLS	TLS:TLS Rec Layer-1 HandShake: Certificate Verify.	{TLS:5458, SSLVersionSelector:5457, TCP:5454, IPv4:15} <br />
mysqld.exe	164.99.135.140	164.99.135.57	TLS	TLS:TLS Rec Layer-1 Cipher Change Spec	{TLS:5461, SSLVersionSelector:5460, TCP:5459, IPv4:15}]]></description>
            <dc:creator>Vishal Bansod</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 31 Jul 2012 04:50:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,561593,561593#msg-561593</guid>
            <title>MySql Notifications (3 replies)</title>
            <link>http://forums.mysql.com/read.php?46,561593,561593#msg-561593</link>
            <description><![CDATA[ Good day!<br />
I am developing an application that uses java and mysql as back end. My problem is, I want the application to be notified when changes to the database occurs. I google this many times and found some answers like using JMS and others. I need some help how to obtain this functionality.]]></description>
            <dc:creator>Ivan Acog</dc:creator>
            <category>Java</category>
            <pubDate>Mon, 23 Jul 2012 16:50:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,543703,543703#msg-543703</guid>
            <title>JPA Error when new entities added without drop andcreate (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,543703,543703#msg-543703</link>
            <description><![CDATA[ I am developing a J2EE application with JSF, EclipseLink2 as JPA installation and mySQL as the back-end database with Netbeans. Application works fine except when I add new attributes to existing entities, or create new Entities. If I select the dropandcreate option in Persistance.xml file, the application runs again without errors, but it deletes the whole data base with previous entries. When I go to production, I can not afford to lose data of the database when I add a new entity. Is there any way to overcome this. I tried to use a database schema, but could not figure how to do it. Thanks in advance.]]></description>
            <dc:creator>Buddhika Ariyaratne</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 29 May 2012 16:01:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,538484,538484#msg-538484</guid>
            <title>Text type bugs javascript, varchar is fine (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,538484,538484#msg-538484</link>
            <description><![CDATA[ &lt;b&gt;Hi, Newbie here&lt;/b&gt;<br />
<br />
<br />
I have integrated a php loop inside a javascript so as I get different results from the database. <br />
<br />
The problem is when I choose &quot;text&quot; in the database for a row and it has a different &quot;row&quot;, the javascript doesn't run.<br />
<br />
Namely:<br />
I choose &quot;text&quot; or &quot;varchar&quot; as type and inside the cell i have the following:<br />
&quot;some text here&quot; <br />
The script will work<br />
<br />
If I have &quot;text&quot; type and inside the cell:<br />
&quot;some<br />
text<br />
here&quot;<br />
That will not make the javascript run<br />
<br />
The problem seems to be the change in &quot;row&quot;<br />
Can you please explain me why this is happening? (or just link me to some revelant documentation)<br />
And of course how can this be fixed?<br />
<br />
Thanks]]></description>
            <dc:creator>ddl449 ddl449</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 29 May 2012 16:08:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,529640,529640#msg-529640</guid>
            <title>Cannot create JDBC driver of class '' for connect URL 'null' (2 replies)</title>
            <link>http://forums.mysql.com/read.php?46,529640,529640#msg-529640</link>
            <description><![CDATA[ Hi All.<br />
<br />
I am new to MySQL. I am developing java application using Tomcat server(7) and trying to connect to MySQL DB.<br />
<br />
here is my code in Context.xml:<br />
	&lt;Resource name=&quot;jdbc/businessreferral&quot; auth=&quot;Container&quot; type=&quot;javax.sql.DataSource&quot; <br />
	maxActive=&quot;100&quot; maxIdle=&quot;30&quot; maxWait=&quot;10000&quot; username=&quot;bruser&quot; password=&quot;bruser123&quot; <br />
	driverClassName=&quot;com.mysql.jdbc.Driver&quot; url=&quot;jdbc:mysql://localhost:3306/businessreferral&quot;/&gt;<br />
<br />
Also the code in Web.xml:<br />
	&lt;description&gt;MySQL Test App&lt;/description&gt;<br />
  	&lt;resource-ref&gt;<br />
      &lt;description&gt;DB Connection&lt;/description&gt;<br />
      &lt;res-ref-name&gt;jdbc/businessreferral&lt;/res-ref-name&gt;<br />
      &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;<br />
      &lt;res-auth&gt;Container&lt;/res-auth&gt;<br />
  	&lt;/resource-ref&gt;<br />
<br />
Also I coppied mysql-connector-java-5.1.19-bin.jar to Tomcat lib folder.<br />
And Finally here my code:<br />
<br />
try {<br />
	initCtx = new InitialContext();<br />
	DataSource ds = (DataSource) initCtx.lookup( &quot;java:/comp/env/jdbc/businessreferral&quot; );<br />
Connection conn = ds.getConnection();<br />
			......		}  <br />
<br />
And I getting ecception on ds.getConection().<br />
<br />
Can you please point what I am doing wrong?<br />
<br />
Thank you,<br />
Feliks.]]></description>
            <dc:creator>Feliks Berig</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 26 Jun 2012 09:23:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,525382,525382#msg-525382</guid>
            <title>Search in mysql db (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,525382,525382#msg-525382</link>
            <description><![CDATA[ I'm implementing a shopping website similar to ebay, i can'r understand how to proceed for the search function in the website where i need to search the keyword specified by user, I'm using mysql database, but the table structure is dynamic based on categories and subcategories added by the admin user, so i don't know the table name and table structure then how can i implement the search functionality.<br />
I'm using Struts 2 As platform]]></description>
            <dc:creator>Siddharth Das</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 13 Apr 2012 15:22:51 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,522487,522487#msg-522487</guid>
            <title>Guidance on making a 'Track and Trace' application (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,522487,522487#msg-522487</link>
            <description><![CDATA[ I have to create a 'Track and Trace' application for a company and now I am stuck in the middle of the whole process. The application, which will be put up on the websites front page, will be like this that a visitor will enter his/her tracking number in the application and then click on the 'submit' button. Next, the visitor will be redirected to a new page and all the data that has been stored in the MySQL database according to that tracking number will be shown to him. My first question is that, how can I create such an application? I am already done with creating the MySQL database. Also, I have installed this software called Netbeans IDE using which we can create JAVA Applications and it sort of looks promising to me. Can I create a 'Track and Trace' application using Netbeans IDE? Secondly, how can I connect my MySQL database to the application which will be created? Please help me as soon as poosible. Thanks. <br />
<br />
P.S An example of the 'Track &amp; Trace' application can be seen on this website <a href="http://www.seagoldlimited.com/"  rel="nofollow">http://www.seagoldlimited.com/</a> (right side).]]></description>
            <dc:creator>Fahad Hassan</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 30 Mar 2012 05:31:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,521861,521861#msg-521861</guid>
            <title>Java fax - help? (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,521861,521861#msg-521861</link>
            <description><![CDATA[ Hi all, I have a question regarding <a href="http://www.interfax.net/en/dev/java"  rel="nofollow">java fax</a> in SQL. There are some services that enable you to code a simple fax send/receive service for a fee. I find myself in the occasional need of sending or receiving a fax, and I thought whether I can use java - with or without SQL - can enable me to do so (obviously, for no charge).<br />
<br />
Thanks for any comments. I'm self-taught so I might be confusing things...]]></description>
            <dc:creator>Suzanne Williams</dc:creator>
            <category>Java</category>
            <pubDate>Mon, 26 Mar 2012 14:57:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,521429,521429#msg-521429</guid>
            <title>Communications link failure error in mysql 5.1 (3 replies)</title>
            <link>http://forums.mysql.com/read.php?46,521429,521429#msg-521429</link>
            <description><![CDATA[ Hi,<br />
<br />
I am using mysql 5.1 with my java application. Once in a day I get this error, whenever I access the application after a long interval(few hours). Let say, my last hit to database through application was in the night and in the next morning I access the application again, I get this error<br />
<br />
----------------------------------------------------------<br />
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure<br />
<br />
Last packet sent to the server was 1 ms ago.<br />
----------------------------------------------------------<br />
<br />
I changed the interactive_timeout variable to from 8 hours to 24 hours, but it did not work.<br />
<br />
Can anyone provide me the solution for this?<br />
<br />
<br />
Thanks in advance.<br />
Jeetendra]]></description>
            <dc:creator>Jeetendra Garg</dc:creator>
            <category>Java</category>
            <pubDate>Mon, 26 Mar 2012 18:27:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,514426,514426#msg-514426</guid>
            <title>I have stored an image in MYSQL using the BLOG datatype. I am able to retrieve image from JSP but when I use CHROME r FIREFOX browser I am unable to view the IMAGE. It is displaying in an encrypted format. (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,514426,514426#msg-514426</link>
            <description><![CDATA[ I have stored an image in MYSQL using the BLOG datatype. I am able to<br />
retrieve image from JSP but when I use CHROME r FIREFOX browser I am<br />
unable to view the IMAGE. It is displaying in an encrypted format.]]></description>
            <dc:creator>venkat santosh</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 10 Feb 2012 16:31:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,506200,506200#msg-506200</guid>
            <title>Stored Procedures + multiple Clients (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,506200,506200#msg-506200</link>
            <description><![CDATA[ Hello,<br />
<br />
actually i got trouble with Stored Procedures.<br />
i made a program in java which runs for 10 minutes and calls a stored procedure by a callablestatement (cs.execute() and direct commit each loop)<br />
<br />
this program is run from two clients where each client runs the program 5 times  simultaneously. unless i commit every loop iteration i get deadlocks! but if a commit everytime the performance is equal to normal statements...<br />
<br />
so.. how do i increase the performance with stored procedures (obviously for 1 client its faster when i do just one commit, but for multiple clients there will be deadlocks)<br />
<br />
thank you for help, if u need database informations or something just ask!]]></description>
            <dc:creator>Marco Hübers</dc:creator>
            <category>Java</category>
            <pubDate>Mon, 19 Dec 2011 14:57:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,505169,505169#msg-505169</guid>
            <title>i need a scrip can any onehelp me (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,505169,505169#msg-505169</link>
            <description><![CDATA[ hey every body i made a new blog on blogger its about windows 8<br />
you can see it here : <a href="http://full-windows8.blogspot.com/"  rel="nofollow">http://full-windows8.blogspot.com/</a><br />
<br />
fir this i need a scrip can let make a banner from my blog and give it to odeers to put it in there bligs....can any one do it for me plz]]></description>
            <dc:creator>abdo boutahar</dc:creator>
            <category>Java</category>
            <pubDate>Fri, 09 Dec 2011 13:48:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,504669,504669#msg-504669</guid>
            <title>No suitable driver ... (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,504669,504669#msg-504669</link>
            <description><![CDATA[ Running an application from NetBeans consistently gives &quot;No suitable driver found for jdbc:mysql://localhost:3306/csc224&quot;. <br />
<br />
Accessing the database csc224 through the same driver name in NetBeans Services window works fine. <br />
<br />
Application project libraries show the driver as being present. <br />
<br />
Any suggestions about what's missing appreciated ...]]></description>
            <dc:creator>Andrew Coleman</dc:creator>
            <category>Java</category>
            <pubDate>Mon, 30 Jan 2012 08:37:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,495767,495767#msg-495767</guid>
            <title>No suitable driver found (8 replies)</title>
            <link>http://forums.mysql.com/read.php?46,495767,495767#msg-495767</link>
            <description><![CDATA[ Hi,<br />
can any solve this<br />
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/glink<br />
	java.sql.DriverManager.getConnection(Unknown Source)<br />
	java.sql.DriverManager.getConnection(Unknown Source)<br />
	org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)<br />
	org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)<br />
	org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)<br />
	org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)<br />
	org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)<br />
	org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)<br />
	st.hib.RetrieverServlet.doGet(RetrieverServlet.java:27)<br />
	javax.servlet.http.HttpServlet.service(HttpServlet.java:690)<br />
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br />
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96]]></description>
            <dc:creator>Rasmikanta Guru</dc:creator>
            <category>Java</category>
            <pubDate>Thu, 10 Nov 2011 04:21:03 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,495741,495741#msg-495741</guid>
            <title>web and software development (no replies)</title>
            <link>http://forums.mysql.com/read.php?46,495741,495741#msg-495741</link>
            <description><![CDATA[ N-Xperts Solutions is Premier company that provide Website Designing,Website Designing Rajkot,Java J2EE Development,Offshore Development,Web Design,Web Design Rajkot,Iphone Apps. Development Rajkot,Web Development,Web Development Company Rajkot,Offshore Development,PHP Web Development Rajkot,.Net Web Development Rajkot,Java Web Development Rajkot,Gujarat,India,Rajkot<br />
<br />
for more information please visit <a href="http://www.nxsol.com"  rel="nofollow">http://www.nxsol.com</a>]]></description>
            <dc:creator>himanshu manshu</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 08 Nov 2011 05:54:07 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?46,495585,495585#msg-495585</guid>
            <title>MySQL Query with 2 database on multiple servers (1 reply)</title>
            <link>http://forums.mysql.com/read.php?46,495585,495585#msg-495585</link>
            <description><![CDATA[ Hi,<br />
<br />
I have a requirement in which I need to select tables (data) from one MySQL database on one server and insert into a large number of similar databases on N number of servers (more than 100).<br />
<br />
Is there any way to write such a query. This is what I want to write (or end result to be)<br />
<br />
REPLACE INTO server1.db1.table SELECT * FROM centralserver.db2.table WHERE db2.timestamp1 &gt; db2.timestamp2<br />
<br />
This will select all rows from db2 based on a condition and insert into db1.<br />
<br />
server1 can be upto 100 and i will write a dynamic query for that. But I just want to know how to achieve this.<br />
<br />
federated table may be an option, but not sure how it will work on 100 servers.<br />
<br />
kindly help!!!!]]></description>
            <dc:creator>ppk ppk</dc:creator>
            <category>Java</category>
            <pubDate>Tue, 08 Nov 2011 21:37:43 +0000</pubDate>
        </item>
    </channel>
</rss>
