I am trying to create named queries for JPA objects using the table name specified in the @Tablestructured search and replace annotation .
So, to get started, I'm trying to create the following template:
@Table($param$ = $value$)
public class $clazz$
I have many classes like:
@Table(name = "Some Table")
public class SomeClass
and if I replace with the same template, it correctly grasps that $ param $ is name, $ clazz $ is the correct class name, but $ value $ is empty.
I am using IDEA 12 build 128.101
What am I doing wrong? Thank.
source
share