Category Archives: Programming

Cassandra Repository Analyser For Siebel

Tetrad IT has released a new product! The Cassandra Repository Analyser. From the website: Cassandra is a fully automated repository analyser for Siebel. It analyses a Siebel repository for best practice violations in configuration and eScript that lead to performance … Continue reading

Posted in IT, Programming | Tagged , , , , , , , | 1 Comment

Hibernate 4.0.1 Final and Jenkins 1.449 java.lang.NoSuchFieldError: TRACE

Using Hibernate 4.0.1 Final within a Jenkins plugin causes the error below. This is because Jenkins ships with log4j 1.2.9 and Hibernate requires 1.2.16 Replace the old jar with the new in {jenkins_home}/WEB-INF/lib and Hibernate will work. java.lang.NoSuchFieldError: TRACE at … Continue reading

Posted in Programming | Tagged , , | 1 Comment

The INSERT permission was denied on the object ‘X’, database ‘Y’, schema ‘Y’.

Can be caused by overzealous addition of permissions. Make sure the Role Members ‘db_denydatawriter’ and ‘deny_datareader’ are unchecked.

Posted in Programming | Tagged | 2 Comments

Connect To HyperSQL Database Via SqlTool

The following command executed in the lib directory of the HyperSQL tool will connect to a HyperSQL database: java -cp sqltool.jar;hsqldb.jar org.hsqldb.cmdline.SqlTool –inlineRc url=jdbc:hsqldb:file:path_to_db\db_namejava -cp sqltool.jar;hsqldb.jar org.hsqldb.cmdline.SqlTool –inlineRc url=jdbc:hsqldb:file:path_to_db\db_name Remember to run commit; before exiting the tool as any statements … Continue reading

Posted in Programming | Tagged , | 1 Comment

HyperSQL SqlTool: Header has X columns, but input record has Y column values

I received the following error when attempting to import data into HyperSQL via the bundled SqlTool from a CSV file generated by MSSQL Server. Header has 17 columns, but input record has 14 column values Normally this indicates just what … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Amazon EC2 Elastic Beanstalk Basic Authentication

I wanted to set up a secure update center for a NetBeans Platform application Tetrad IT is working on. I also wanted to play with Amazon EC2… As the update center is for Tetrad staff only I wanted to do … Continue reading

Posted in Programming | Tagged , , , , , , | 3 Comments

Windows Mobile 6 Application File Associations

In order for your Windows Mobile application to be invoked when a user opens a particular file type, you need to create an association between the file type and your application. This is done through registry entries. I’m developing a … Continue reading

Posted in Programming | Tagged , , , | 1 Comment

Making JGoodies Easier With Client-Objects

JGoodies is a selection of easy to use libraries for GUI development. One of which is JGoodies Binding. This allows you to bind your UI components to your domain objects and have changes in one reflected in the other. The … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

JGoodies Maven Dependencies

There doesn’t seem to be a Maven repository with the latest JGoodies dependencies. They need to be added manually. It’s a bit of a pain so here are the steps to do it for Forms (1.4.1), Common (1.2.0), Validation (2.3.0) … Continue reading

Posted in Programming | Tagged , , , , , | 3 Comments

NetBeans Platform And Maven: An annotation processor threw an uncaught exception

In the interests of making the solution easier to find, the workaround described in http://jira.codehaus.org/browse/MCOMPILER-98 will solve the error below. Workaround – Add the sourcepath compiler argument in your application pom <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArguments> <sourcepath>${project.basedir}/src/main/java</sourcepath> </compilerArguments> </configuration> … Continue reading

Posted in Programming | Tagged , , | Leave a comment