Commit 5c145f6b authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fixed bug in dbxref dao

parent 391a10f2
......@@ -4,7 +4,7 @@
<groupId>de.cebitec.common</groupId>
<artifactId>dbxref</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<packaging>bundle</packaging>
<name>DbXRef library</name>
......
......@@ -42,7 +42,7 @@ public class DbXRefDAO {
public DbXRef fetch(EntityManager em, String db, String id) {
List<DbXRef> l = em
.createQuery("SELECT ref FROM SimpleDbXRef ref WHERE ref.id = :id AND ref.database=:db", DbXRef.class)
.createQuery("SELECT ref FROM DbXRef ref WHERE ref.id = :id AND ref.database=:db", DbXRef.class)
.setParameter("id", id)
.setParameter("db", db)
.getResultList();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment