JDBC
How to show MySQL data by a managed bean?
I am trying to manage to work a simply xhtml page with Java Server Faces 2.0 that shows entries from a database JDBC-MySQL[详细]
2023-04-12 03:26 分类:问答connecting to mysql database failing
Most recent problem is \"Third Error\" listed below. I am working on an application in java that needs to connect to a database. Below is the code that i am using to attempt to connect to the databas[详细]
2023-04-12 02:26 分类:问答JDBC connection to Microsoft SQL Server doesn't reconnect
I have a database that is connected through an unreliable network connection to an application server, so occasionally the connections break down. Each time this happens, all database connections in t[详细]
2023-04-12 01:38 分类:问答Connection.close vs. PooledConnection.close
I\'m reading Java Data Access—JDBC, JNDI, and JAXP about Connection, PooledConnection interfaces. As I understand Connection returned by PooledConnection represents a \"logical\" connection. PooledCo[详细]
2023-04-11 21:54 分类:问答Executing SQL in a Gradle task?
How can I exec开发者_运维百科ute SQL in a Gradle task? configurations { compile } repositories { mavenCentral()[详细]
2023-04-11 20:25 分类:问答Insert in Microsoft SQL using JDBC
I have some data coming from a machine in the following format: A (some value) B (some value) C (some value) and so on.[详细]
2023-04-11 19:32 分类:问答java.sql.SQLSyntaxErrorException: ORA-01747
Searched through the entire site but nothing helped at all so I decided to open up a new topic. Here\'s my problem: I\'m developing a simple GUI in java which uses JDBC behind the back. Here are some[详细]
2023-04-11 18:44 分类:问答Fill Class from jdbc ResultSet
Now im filling my classes like this: Part part = new Part(); ResultSet rs = statement.executeQuery(); part.setBrand(rs.getString(\"P_BRAND\"));[详细]
2023-04-11 17:27 分类:问答JDBC: Get table list calling method getTables of DatabaseMetadata with advanced table pattern
I want to call getTables method of DatabaseMetaData and get all tables which names are not starting with \"KB\".[详细]
2023-04-11 09:43 分类:问答MS SQL JDBC - SQLServerCallableStatement - execute() returns false
I have written code which should call MSSQL 2005 procedure from my servlet. The problem is the procedure is to SELECT data from table so I want to get ResultSet but the result set is never returns :([详细]
2023-04-11 06:17 分类:问答