java - JPA Application based on Multiple Databases can not resolve DB of the related Entity -


my app uses 3 other databases (mysql) , 3 pus on glassfish 3.1. while retrieving data database 'a' relation (for example @onetoone) model database 'b' error occurs:

select command denied user .. table 'related_table'

this error not occur when name each entity way: @table(name="db_name.table_name"), not option, because use h2 database tests , h2 can not resolve such naming.

[edit]

important thing: app worked without 'special table naming' in @table, before reinstalled glassfish - same version , have nothing changed in glassfish settings purpose before..


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -