Hi Lukas,
       i have a DB - with 2 tables . table 1(Hierarchy) - Hid ,Hname and 
table 2 (Levels)- Hid ,Lid,Lname.
    in Table 1 Hid is primary key and In table two the Hid is the foreign 
key.
  When we directly try to insert into table 2 it gives foreign key vilation 
and it is working fine with JOOQ  implementation

 But my requirement is to mock the two tables using JOOQ MockExecuteContext 
and  test the same . i mean i will try to insert using the provider class
 ( Result<HierarchyLevelRecord> resultLevel 
=create.newResult(HierarchyLevel.HIERARCHY_LEVEL)  and it should fail in 
the test DB as well . but this is not happening .

TheMocked Db Constarints are not effective in MockExecuteContext . how can 
this be achieved through JOOQ.

Thanks,
Deepak

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to