Breaking News
Home / Java (page 10)

Java

Can not issue executeUpdate() for SELECTs

Exception 2011-09-27 23:02:52,088[Thread-22]ERROR SubscriptionXmlService -Failed to query account : java.sql.SQLException: Can not issue executeUpdate() for SELECTs java.lang.RuntimeException: java.sql.SQLException: Can not issue executeUpdate() for SELECTs at com.infuze.service.subscription.workflow.SyncSubscriptionTrackerWorkflow.executeProcess(SyncSubscriptionTrackerWorkflow.java:130) at com.infuze.service.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:24) at com.infuze.service.subscription.xml.SubscriptionXmlService.syncTracker(SubscriptionXmlService.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at Caused by: java.sql.SQLException: Can not issue executeUpdate() for SELECTs at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at …

Read More »

What are the default values for primitive datatypes in Java?

The following table lists out default value of  the various primitive data types: Data Type         Default Value byte                           0 short                           0 int                               0 long                            0L float                          0.0f double                       0.0d char                        ‘u0000’ String (or any object)    null boolean                       false [pb_builder]

Read More »

What are the different primitive datatypes in Java?

The following are the various primitive data types and their ranges:    * byte: The byte data type is an 8-bit signed two’s complement integer. It has a minimum value of -128 and a maximum value of 127 (inclusive). The byte data type can be useful for saving memory in …

Read More »

How does Try/Catch/Finally work in Java?

Answer try { // Normally this code runs from the top of the block to the bottom// without problems. But it can sometimes throw and exception,// either directly or with a throw statement or intdirectly by calling// a method that throws and exception.}catch (SomeException e1) {// This block contains statements …

Read More »

Error running SOAP UI 3.5.1 on linux

2010-07-17 16:09:37,920 [XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader – Finding library libjniwrap.so 2010-07-17 16:09:37,921 [XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader – Finding library in JARs… 2010-07-17 16:09:37,934 [XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader – Loading library from /tmp/libjniwrap.so 2010-07-17 16:09:37,935 [XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader – Finding library /usr/lib/libgtk-x11-2.0.so.0.1000.4 2010-07-17 16:09:37,935 [XpcMessageLoop] DEBUG com.jniwrapper.DefaultLibraryLoader – Finding library in system library path… …

Read More »
Advertisment ad adsense adlogger