Now it works.
The problem was I used bad @Indexed annotation (from lucene, not from hibernate)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099668#4099668
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099668
__
Hello Pete,
Thank you for answer.
I looked at the example. The only think I found was I don't call getDelegate().
| FullTextEntityManager ftEm = (FullTextEntityManager) em.getDelegate();
|
But when I do this I become an error:
| java.lang.ClassCastException:
org.jboss.seam.persistence
Product);
| }
|
| } catch (Exception e) {
| log.error("Problm: #0", e.getMessage());
| }
| return "OK";
| }
|
|
|
Can you give me a hint what's wrong or where to sear
thanx pete.
nobody had the same problem before ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026297#4026297
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026297
___
jboss
Hi,
is it possible to generate ID (@ID @GeneratedValue) as a return value from
database stored procedure ?
How to do it ?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026233#4026233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Hi,
i have problems to get id from a stored procedure. I'm getting allways the
"NOK" value from my Generator. (Problem with persistence context ?)
Is it possible, or what am I doing wrong?
|
| @GenericGenerator(name="next_id",
strategy="com.myapp.DBSequenceGenerator")
| @Id @Ge
Hi,
i have problems to get id from a stored procedure. I'm getting allways the
"NOK" value from my Generator. (Problem with persistence context ?)
Is it possible, or what am I doing wrong?
| @GenericGenerator(name="next_id",
strategy="com.myapp.DBSequenceGenerator")
| @Id @Genera