Illegal attempt to associate a collection with two open sessions
This is a minor problem, but it may help some of you out there. The error can occur from several reasons, but in this case it was due to bad use of cascade update.
TECH BLOG
This is a minor problem, but it may help some of you out there. The error can occur from several reasons, but in this case it was due to bad use of cascade update.
To select all items for a field in Solr you can use the query : some_item:[* TO *], but if this field is missing from some documents you will not select those documents.
Monitoring your file upload using ajax is a must have for any web 2.0 application. There are already some good examples developed by prosson and carsonm.
The solution to the following problem with VMware Server 1.0.1 on Linux kernel 2.6.19-1.2288.fc5 : ‘CHECKSUM_HW’ undeclared (first use in this function) I use VMware Server 1.0.1 on Linux (Fedora Core 5) and I recently updated the kernel to 2.6.19-1.2288.fc5 – the reason for the update is that my older kernel version did not have drivers for my onboard soundcard…
Read More
Keeping database and Lucene index in sync is easily done using the new Lucene-Hibernate integration.
How can one cancel the drag and drop operation in dojo, based on conditions specific to the application? I’ve seen this question asked several times and few if none answers, so I thought I might post my solution here.
If you want to save complex java objects to MySQL you can serialize and save them as BLOB in a MySQL table.
Database creation is such a common task that you must have some scripts and tips and tricks at hand, in order to have it done as quickly as possible.
Firefox has this annoying problem of the cursor caret becoming invisible sometimes. For example, when showing up a div, the textboxes inside that div don’t have the cursor.