Category Archives: Java

Java Programming

Dual-API SDK, Versioning and OSGi

One of the projects that I am currently working on is a Dual-API SDK. This “Framework” has two APIs (or “sides”) - Client API and the SPI (Service Provider Interface) API. The Client API provides the ability for the Client to deal with various … Continue reading

Posted in Java, OSGi | Tagged , , | Leave a comment

Override Hibernate SQL Types mapping

There are many real-world scenarios where Hibernate can be introduced on a legacy system that could be using straight JDBC for various reasons. Also, there could be some pre-existing custom Java types to Database type mapping in the legacy application. Hibernate has … Continue reading

Posted in Hibernate, Java | Tagged , , | 3 Comments

Hibernate and DB migration

I am working on a product that uses Hibernate that required DB (schema and data) migration, like most Enterprise Software. Hibernate’s schema create/update feature (using hibernate.hbm2ddl.auto property) has it’s limitations. Also, certain complex DB migration requirements will definitely require custom … Continue reading

Posted in Hibernate, Java | Tagged , , , | 9 Comments