Quantcast
Channel: Active questions tagged atlassian-plugin-sdk - Stack Overflow
Viewing all articles
Browse latest Browse all 282

Jira Active Objects query

$
0
0

I'm trying to do a query on Jira's db and I'm getting an error :

Here's my entity :

@Preloadpublic interface BlogEntity extends Entity {    @XmlElement    Long getArticleId();    void setArticleId(Long id);    @XmlElement    Long getPostId();    void setPostId(Long id);}

Here's the function that contains the query on my BlogEntityManagerImpl :

public List<Long> get(Long id) {  final Query query = Query.select().where("POST_ID = ?", id);  List<BlogEntity> blogList = Lists.newArrayList(activeObjects.find(BlogEntity.class, query));  ...}

I know that the query is the problem, but I don't have more details about the exception. I'd really appreciate if someone has any ideas about what I'm doing wrong... :)

Thank you !


Viewing all articles
Browse latest Browse all 282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>