this meant “you didn’t setup a trigger to auto-insert the [primary key] id for you” (or elsewise need to supply the primary key)
Monthly Archives: March 2012
java unit tests locked on insert to oracle DB
for me this meant “you are running SQL developer in the background, which has a lock on a table”
Javassist Enhancement failed:
meant “you need a public constructor on that baad boy” (tupilizer)
ruby shucks
use drb, get:
TypeError: can’t convert Class into String
This meant:
given
begin
rescue => e
you can’t do
puts “abc” + e.class + e.message
no, apparently the + e.class is not good enough.
netbeans add/generate equals hashcode methods
use “alt+insert” (yikes netbeans, yikes)
git submodule update does nothing
this means “you did git submodule init with an older version of git, apparently it was messed up”
fix: update git/msysgit, then
c:\dev\ruby\sensible-cinema>git submodule update
# does nothing!
c:\dev\ruby\sensible-cinema>cd lib
c:\dev\ruby\sensible-cinema\lib>rm -rf jruby-swing-helpers # remove submodule
c:\dev\ruby\sensible-cinema\lib>cd ..
c:\dev\ruby\sensible-cinema>git submodule init
c:\dev\ruby\sensible-cinema>git.exe submodule init | cat
Submodule ‘lib/jruby-swing-helpers’ () registered for path ‘lib/jruby-swing-helpers’
github woe
fatal: https://xxx@github.com/rdp/pomodoro-timer.git/info/refs not found: did you run git update-server-info on the server?
this meant “you spelled the repo name wrong!”
activemq producer adds message but consumer cannot receive it
for me this meant “you’re also creating a consumer on the producer side, which is pre-fetch eating the message before the next consumer is started to get it” (I think).
java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected NUMBER got BINARY
This means “you somehow passed a null parameter through that shouldn’t have been” (hibernate). Apparently.
random sensible cinema notes
see notes, just for “publication” sake