Re: [Beankeeper-discussion] could not find class
Brought to you by:
demonsystem
From: Shay M. <mat...@gm...> - 2009-03-03 07:46:10
|
i only create the public schema in the DB, not any tables . yes, i believe there is some difference in how the console app and web app behave , because they both use the same library which includes the persistence classes. here is the table map, and classes table : tablemap: "bk_domain";"domain" "bk_vreseller";"vreseller" "bk_vreseller_domains_";"vreseller_domains_" "bk_vreseller_vrusers_";"vreseller_vrusers_" "bk_vuser";"vuser" "java_lang_object";"object" "persistence_classes";"classes" "persistence_nodes";"nodes" "";"" classes: "";1;"java_lang_object";"java.lang.Object";0 "";2;"bk_domain";"BK.Domain";1000 "";3;"bk_vreseller";"BK.VReseller";1000 "";4;"bk_vuser";"BK.VUser";1000 "";;"";""; Shay Brautigam Róbert wrote: > Shay Matasaro írta: > >> Hi, >> >> i keep getting the warnings seen below , even when performing the >> following steps: >> 1) drop the pubic schema >> 2) recreate the public schema >> 3) run my console app to create a few test objects and save them >> 4) launch the web app that perform a simple one table query >> >> when these warning are showing even that simple query(last line) does >> not work >> > > Those messages indicate that the webapp you're starting does not see the > classes: BK.Domain, BK.VReseller, BK.VUser. > How do you create the schema? You don't need to do that, that will be > done automatically. > When you run the console app to create a few objects, you use some > classes to do that. The messages indicate that those classes are not > available under the webapp. Is that true? > > >> there could be no traces in the DB because i dropped the schema, and no >> changes are made to the DB classes, during this test. >> > > Ok, then it's probably a difference between the command line tool and > the webapp. They must be using different classes. > > >> also when i check the "tablemap" table i can see that the table exists >> and the name is spelled correctly >> > > Could you paste in the tablemap and classes table? > > > Robert. > > |