Java is an object-oriented language and runtime environment. Java programs can run unchanged on most platforms in a Virtual Machine called the JVM.

learn more… | top users | synonyms

0
votes
1answer
24 views

Best way to synchronize several databases in different computers

I must to do a POS program for college in Java, the problem is that I don't know how to link the different computers to a master computer that handles the changes of the database and sends them to the ...
1
vote
0answers
43 views

h2 Java server synchronization and caching

I'm happily coding a client-server application in Java using H2 as database. The server runs the database as an embedded local database while clients connect to it via TCP. Now more and more I see ...
1
vote
0answers
139 views

jTDS + stored procedures + prepareSQL = nesting level error?

Situation A (Tomcat) Java web application using jTDS to connect to a MSSQL 2008 database. This Java application for 99% executes MSSQL stored procedures using user input. Problem The jTDS driver ...
1
vote
0answers
160 views

Cannot remove .bak file

I have a java application that: Reads a .bak file from a windows fileshare and restores it in SQL Server on a remote windows server Does various modifications on the database restored from the .bak ...
1
vote
0answers
63 views

Command line switch to disable Coherence?

We have a Java app that happens to have the coherence jar in the path. My application doesn't need it, so I'd like to pass some type of -D variable to the JVM to tell it to ignore coherence, or ...
1
vote
0answers
112 views

Populate database column with drop-down menu item

I'm quite new to Apex and Oracle in general, but I would like to know how to populate a database column with the data from the drop-down list Currently I'm not getting further than simply creating ...
1
vote
0answers
143 views

mysql server is not sending result set back after query execution to client and staying in sending data state

When I pass a query from my Java application to mysql server, it stays in Sending Data state and not returning result set back to application. When I execute the same query in SQLYog directly, it ...
1
vote
0answers
61 views

Altering an Apache Derby table's derby.storage.pageSize property after creation

Is it possible to change the derby.storage.pageSize property of an existing table? Or do I have to export my data, drop then re-create the table with the new property, and then re-import my data?
0
votes
0answers
31 views

If local data center nodes are down then it will get the data from other data center replica nodes?

I have recently started using Cassandra in our Production environment. We have a 24 node cross colo cluster with replication factor of 4. We have 12 nodes in PHX colo and 12 nodes in SLC colo. And ...
0
votes
0answers
30 views

How memory usage with mysql Statement.setFetchSize()

Suppose I am a selecting 100k rows from a mysql table using following java code Statement stmt=con.createStatement(); stmt.setFetchSize(FETCH_SIZE); ResultSet ...
0
votes
0answers
40 views

MongoDB master - slave not syncing anymore

I have a setup with two MongoDB instances, one master and one slave. The sync worked perfectly fine for quite a while now, but suddenly stopped. The major problem is, that the guy who setup the ...
0
votes
0answers
55 views

Upgrading from Oracle 10 to 11g, what to look for in SQL embedded in code?

We're planning to upgrade our enterprise database to 11g. We have a number of web applications using it via Weblogic and Hibernate 3.6.5, and both of those support 11g. There are a number of direct ...
0
votes
0answers
181 views

Upgrading Java JDK for an Oracle 10g instance

Because of its security flaws, I need to remediate Java JDK 1.4.2. Based on this Oracle Blog, and encouraged by Do Oracle databases use Java internally and this Certification Matrix (opens an Excel ...