* EOAccess/EODatabaseContext.m ([EODatabaseContext

+_registerDatabaseContext:]): added a warning  if the specified model
is not found.
* EOAdaptors/Postgres95/Makefile.preamble.in (LIBRARIES_DEPEND_UPON):
added postgres libs here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@15258 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Mirko Viviani 2002-12-05 14:46:56 +00:00
parent fa7a461600
commit 24e6611c47
3 changed files with 17 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2002-12-05 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* EOAccess/EODatabaseContext.m ([EODatabaseContext
+_registerDatabaseContext:]): added a warning if the specified model
is not found.
* EOAdaptors/Postgres95/Makefile.preamble.in (LIBRARIES_DEPEND_UPON):
added postgres libs here.
2002-12-04 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* EOModeler/EOModelExtensions.m ([EOEntity -classAttributes]):

View file

@ -134,6 +134,13 @@ static Class _contextClass = Nil;
model = [[[EOModelGroup defaultGroup] entityNamed:entityName] model];
if (model == nil)
NSLog(@"%@ -- %@ 0x%x: No model for entity named %@",
NSStringFromSelector(_cmd),
NSStringFromClass([self class]),
self,
entityName);
dbContext = [EODatabaseContext databaseContextWithDatabase:
[EODatabase databaseWithModel: model]];

View file

@ -47,8 +47,8 @@ ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../.. @POSTGRES_INCLUDES@
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS = @POSTGRES_LIBS@
# Libraries linked to the framework
LIBRARIES_DEPEND_UPON = @POSTGRES_LIBS@
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS = @POSTGRES_LIB_DIRS@