Hi Douglas,
Using the query DB01050 and ibuprofen works for me. APRD00372 is a second
accession id and the DrugBank search implementation does not use it as a
predefined search. You can search it using directly the DrugBank entity. If you
are interested in this I can add it to the search implementation.
This is the result for the DB01050
ProteinCUDA1:~> java -jar
/home/roberto/.m2/repository/org/DrugBankSearch/0.0.1/DrugBankSearch-0.0.1-
jar-with-dependencies.jar -v -q DB01050
INFO [main] 2014-10-28 09:42:36,817 - Opening JPA connection to:
INFO [main] 2014-10-28 09:42:36,818 - Driver: com.mysql.jdbc.Driver
INFO [main] 2014-10-28 09:42:36,818 - URL:
jdbc:mysql://
hydrax.icgeb.trieste.it:3307/biowh
INFO [main] 2014-10-28 09:42:36,818 - User: biowh
INFO [main] 2014-10-28 09:42:36,819 - Adding the WHDBMSFactory to the Map
INFO [main] 2014-10-28 09:42:39,645 - Open EntityManagerFactory:
org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl@7962144c
INFO [main] 2014-10-28 09:42:39,646 - Parsing by drug id
INFO [main] 2014-10-28 09:42:39,646 - Using query: DB01050
INFO [main] 2014-10-28 09:42:41,751 - JPQL: SELECT g FROM DrugBank g WHERE
g.id like :id0
INFO [main] 2014-10-28 09:42:41,751 - JPQL Parameters: id0 --> 'DB01050'
INFO [main] 2014-10-28 09:42:41,804 - Found 1 drugs
INFO [main] 2014-10-28 09:42:41,804 - DB01050 Ibuprofen For
symptomatic treatment of rheumatoid arthritis, juvenile rheumatoid arthritis
and osteoarthritis. May be used to treat mild to moderate pain and for the
management of dysmenorrhea. May be used to reduce fever. Has been used with
some success for treating ankylosing spondylitis, gout and psoriatic
arthritis. May reduce pain, fever and inflammation of pericarditis. May be used
IV with opiates to relieve moderate to severe pain. Ibuprofen lysine may be
used IV to treat patent ductus arteriosus (PDA) in premature neonates.
INFO [main] 2014-10-28 09:42:41,805 - Total elapsed time: 5 s