Bozho's tech blog

  • Developer tips
  • Opinions

Developer tips

Tips for Identifying and Debugging Problems

Bozho January 6, 2010

It seems that some/many developers haven’t developed (pun intended) a good set of techniques to identify and resolve problems. And problems always occur, even in simple programs. Recently I’ve beenContinue reading

Tweet
Share

Spring Annotation-Based vs XML-Based Transaction Definition Precedence

Bozho January 2, 2010

I couldn’t find a definitive answer to this in the docs, and although there seems to be a logical answer, one can’t be sure. The scenario is this – youContinue reading

Tweet
Share

Are Tests of Service Methods That Rely on Database Access Unit Tests?

Bozho December 29, 2009

It is often argued whether tests that need a database should be called “unit tests”. Most often the answer is “No, these are database integration tests”. My opinion is –Continue reading

Tweet
Share

JAXB: javax.xml.bind.UnmarshalException: unexpected element

Bozho December 18, 2009

JAXB: [javax.xml.bind.UnmarshalException: unexpected element (uri:”http://mynamespace/”, local:”entity”). Expected elements are ({}entity)] The following exception broadly means that an element encountered during unmarshallization isn’t found in the JAXB Context. The details, howeverContinue reading

Tweet
Share

Hibernate: could not locate named parameter

Bozho December 18, 2009

Today I got this exception. Pretty obvious? Well, no. The named parameter IS there. (Sidenote: this exception generally means that when trying to call setParameter(..) with a certain param name,Continue reading

Tweet
Share

Custom Exceptions Thrown From Service Layer with Spring Transaction Support

Bozho December 6, 2009

The title explains the preconditions: spring beans (conforming to an interface), using @Transactional (or <tx:advice>) custom exception is thrown from within the service methods There is a little trick –Continue reading

Tweet
Share

Database Integration Testing / Unit-Testing with Spring, JPA, JUnit and Maven

Bozho November 22, 2009

The exact name for this tests is disputable. Whether it should be “database integration testing” or “unit testing”. But anyway, it is about this: Many applications’ service layer relies heavilyContinue reading

Tweet
Share

Deep @Embedded Hibernate Entity Hierarchy with Oracle

Bozho November 13, 2009

If you want to have a deep @Embeddable Hibernate entity hierarchy with Oracle – you are not welcome. Oracle has a genious unconfigurable (at least after a lot of search)Continue reading

Tweet
Share

How to Obtain Signer’s Details From JavaScript Signed Data

Bozho July 2, 2009

In a previous post I described how to sign data with only javascript. Now, this data should be used on the server side for something. Here is how a JavaContinue reading

Tweet
Share

A Really Useful Eclipse Shortcut to Configure

Bozho June 20, 2009

I wonder why it isn’t in the default set – “generate getters and setters”. This is one of the most frequent actions. I’m setting it to ALT+SHIFT+G (Generate).

Tweet
Share

Posts navigation

« 1 … 21 22 23 24 »
About me

I’m a software engineer and architect, with expertise in cybersecurity. Currently member of Bulgarian parliament and former minister of electronic governance of Bulgaria.

  • LinkedIn
  • Web CV
  • CV (pdf)


profile for Bozho at Stack Overflow, Q&A for professional and enthusiast programmers

Search
My projects

LogSentinel – a next-gen SIEM

SentienlDB – a GDPR-compliant datastore

Computoser – algorithmic music

GitHub profile

RSS Recent posts
  • Position Regarding the “Chat Control” EU Regulation Proposal
  • Assessment of DOGE and Musk’s Actions for Government Efficiency
  • Wiretap Detector App For Catching IMSI Catchers
  • Is Ransomware Protection Working?
  • The xz Backdoor Should Not Happen Again
  • Why Facebook’s Lack of Customer Support Is a Problem

DZone MVB Java Code Geeks
Posts by date
June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« Aug    
License
Creative Commons License
This work by Bozhidar Bozhanov is licensed under a Creative Commons Attribution 3.0 Unported License.
Categories
  • Developer tips
  • Opinions

Copyright 2026 Bozho's tech blog | Designed by CodeGearThemes

Powered by WordPress