mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-21 02:20:55 +00:00
* 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:
parent
fa7a461600
commit
24e6611c47
3 changed files with 17 additions and 2 deletions
|
@ -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]):
|
||||
|
|
|
@ -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]];
|
||||
|
||||
|
|
|
@ -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@
|
||||
|
|
Loading…
Reference in a new issue