Should this be "fromLine=40,toLine=42" to include all 3 lines since you're taking ablut the resource producer pattern and @PersistenceContext?