Details
Assignee
Davide D'AltoDavide D'AltoReporter
Davide D'AltoDavide D'AltoBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Davide D'AltoGuillaume SmetFix versions
Priority
Major
Details
Details
Assignee
Davide D'Alto
Davide D'AltoReporter
Davide D'Alto
Davide D'AltoBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Davide D'Alto
Guillaume Smet
Fix versions
Priority
Created February 20, 2017 at 12:10 PM
Updated February 12, 2018 at 10:31 AM
Example (You can add this test in SimpleQueriesTest:
@Test public void testParametricLikeQueries() throws Exception { List<?> result = session .createQuery( "from Hypothesis h where h.description LIKE :myParam" ) .setString( "myParam", "%stuff%" ) .list(); assertThat( result ).onProperty( "id" ).containsOnly( "16" ); }
This is because Neo4jQueryRendererDelegate#predicateLike doesn't check if the prameterValue is a query parameter.