Hi,

I have also been getting this error

  | [hibernate] Expression pojo.identifierProperty is undefined on line 47, 
column 85 in view/list.xhtml.ftl.
  | [hibernate] The problematic instruction:
  | [hibernate] ----------
  | [hibernate] ==> ${pojo.identifierProperty.name} [on line 47, column 83 in 
view/list.xhtml.ftl]
  | [hibernate] ----------
  | 
  | [hibernate] Java backtrace for programmers:
  | [hibernate] ----------
  | [hibernate] freemarker.core.InvalidReferenceException: Expression 
pojo.identifierProperty is undefined on line 47, column 85 in 
view/list.xhtml.ftl.
  | [hibernate]     at 
freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
  | [hibernate]     at 
freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
  | [hibernate]     at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
  | [hibernate]     at 
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
  | [hibernate]     at 
freemarker.core.Expression.getStringValue(Expression.java:93)
  | [hibernate]     at 
freemarker.core.DollarVariable.accept(DollarVariable.java:76)
  | [hibernate]     at freemarker.core.Environment.visit(Environment.java:196)
  | [hibernate]     at freemarker.core.MixedContent.accept(MixedContent.java:92)
  | 

and the problem is with tables with composite primary keys.

I was using MySql And everything works perfectly until I add a table with a 
composite primary key.

create table `seantest`.`linktable` ( 
        `link_fk` int(11) NOT NULL  DEFAULT '0'  , 
        `link2_fk` int(11) NOT NULL  DEFAULT '0'  , 
        PRIMARY KEY (`link_fk`,`link2_fk`) 
)Engine=InnoDB;

Any ideas on how to fix this?

Thanks
Sean.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993588#3993588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993588
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to