You do not need to define the discriminator column at all. It doesn't even have
to have a getter/setter.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119255#4119255
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
You need to add the servers ssl certificate to the keystore or use an officilly
sihgned certificate.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102444#4102444
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
1.)
Create a file index.seam with the following content:
| <%--
| Please DO NOT delete this file. This file is used
| to trick tomcat to detect index.seam as the
| welcome file and will load index.xhtml instead.
| --%>
|
Add to web.xml:
|
| index.jsf
|
|
Regards
Have you tried this?
| SELECT c FROM Comment c
| INNER JOIN FETCH c.user
|
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099771#4099771
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099771
__
AFAIK you cannot JAAS security policies do not allow you to grant permission
depending on the runtime value of a parameter, e.g. a user may edit products
that belong to "his" department.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097375#40
I think one think should not be forgotten:
The dependency on Seam is different than the dependency on another library.
True, if you use annotations the Seam lib has to be present at build time (You
can actually work araound this by using XML). But Seam is not required to use
these components if
According to spec you can use
| @javax.persistence.JoinColumn(name = "EMPLOYE_FK",unique=true)
|
However, if you are creating the schema from scratch I suggest you use a
@OneToOne relationship which does exactly what you want.
Regards
Felix
View the original post :
http://www.jboss.c
Use
| @Column(columnDefinition="CHAR(2)"))
|
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094756#4094756
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094756
___
Why don't you use:
a.) Datasources. Opening connections is an expensive operation.
b.) Use a SELECT statement instead of a call to a stored procedure if you want
to retrieve data.
c.) @Factory for choices?
d.) Use entities and to create select items.
e.) Use Hibernate caching to avoid db rou
Use @In(create=true) or acces tickets directly via #{tickets.subject}.
Regards
Felix
P.S.: I would prefer to use the sungular for entity names.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088409#4088409
Reply to the post :
http://www.jboss.com/index.htm
You have to specify the entity class on the convertentity tag. It can not
automatically detect the entity class of a collection.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088407#4088407
Reply to the post :
http://www.jboss.com/index.html
Not if you are in a long running conversation so the backing list for your
selection is kept in memory the whole time.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088378#4088378
Reply to the post :
http://www.jboss.com/index.html?module=bb
Well, if you don't have a profiler you should at least test EL performance
only. Instead of building a tree of 1.000.000 components you could simply loop
1.000.000 times over a single EL evaluation (no ui component). That would
exclude JSF from the list of suspects.
Regards
Felix
View the or
Two, possible reasons:
1.) Your entity was not retrieved by the same session as convertentity uses and
you are using Seam 2.0 Beta1. If so upgrade to a nightly build.
2.) The groups in the list have never been persisted.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?
AFAIK flush() sends the data to the database but does not commit the
transaction. So depending on your transaction isolation level you may not be
able to see the new records in another transaction.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
I very much doubt that. The reason why rendering large tables is slow in JSF is
the building of the component tree.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084717#4084717
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
Use Integer instead of int as the property type.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084315#4084315
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084315
__
1: Maybe the documentation is a bit unclear there. If you access stateless
components concurrently, the container will supply enough instances from the
pool so that each thread will get its own instance.
To put this another way: From a threads perspective the connection between a
component nam
Start JBoss in debug mode and set a beakpoint in
us.ziacom.vm.action.JbillingCallbackHandlerAction.processPost().
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082523#4082523
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
Use page parameters and a page action.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082394#4082394
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082394
___
Well, I am not a Seam developer but my stance on these issues is this:
anonymous wrote : - security: presentation layer is the only one that gets
exposed to the internet and it take hackers more layer to crack.
|
Once the machine hosting the view is hacked your are usually lost anyway. You
u
Is this secure SMTP? This is a highly unsual setting.
I think before TLS could be initialized during the session the port was used
for secure SMTP. Anyway since you are transfering to localhost port 25 should
be fine.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?m
Okay. Thanks for the comprehensive information!
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078773#4078773
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078773
___
I think I am finally getting you. IMHO it is acceptable that the backing list
would be null during the second call but than null would be outjected again and
the dataModel removed from its scope after the call which is probably a bit
confusing :-).
But if this is correct doesn't this problem ap
... or download the nightly builds from
http://hudson.jboss.org/hudson/job/JBossSeam/.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078607#4078607
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078607
_
Have your tried redisplay="true" on the inputSecret?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078608#4078608
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078608
___
jb
Maybe I am a bit thick here but I still don't get why a setter should be
needed. If the datamodel is page scoped I would expect it to go back into page
context (= Contexts.getPageContext().set("name", dataModel)) after
deserialization. What sense does it make to reinject it into the action bean
Done.
http://jira.jboss.com/jira/browse/JBSEAM-1868
IMHO a setter should not even be required when susing @DataModelSelection. The
datamodel should be available from the context it was outjected to. Pre Seam
2.0 this was not required so this is a clear regression to me. On the other
hand addi
Have you defined your class loader reporitory in jboss-app.xml?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078289#4078289
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078289
_
bump
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078271#4078271
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078271
___
jboss-user mailing list
jboss-user@lists.jboss.org
String concatenation in SQL is either done by the concat() function (ANSI) or
by using two pipes (|| - supported by almost all rdbms).
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078032#4078032
Reply to the post :
http://www.jboss.com/inde
Hello!
This patch
http://lists.jboss.org/pipermail/jboss-cvs-commits/2007-August/039852.html
requires all methods annotated with @Datamodels to have a corresponding setter.
This makes the Seam 2.0 migration much harder than necessary. My project has
lots of lists that are created on the fly wh
I would like to see something too. Building a frontend for quartz - or at least
supllying some components to enable me to do so myself - would be immensly
useful.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076455#4076455
Reply to the post
Have you looked at the execution plan?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076311#4076311
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076311
___
In whatever scope you declared them to be.
Just for clarification: You really do have to use @Out if the scope of your
action bean and your form backing bean differ, e.g. your action bean is
stateless and you want your data to do to page context.
Regards
Felix
View the original post :
http:/
You can use native queries with the entitymanager.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076182#4076182
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076182
anonymous wrote :
| anonymous wrote :
| | The docs states that "Most seam annotations will work inside a MDB but
you musn't access the persistence context." - Why is this? Isn't that quite a
severe limitation? Can anything be done to get around this?
| IIRC this is a limitation of EJB3.
Do you pass the conversationId in your ajax call?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075448#4075448
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075448
_
Why don't yu simply add another getter to your bean that returns the masked CC
number.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075036#4075036
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075036
The easiest way to do this is to use page actions.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075034#4075034
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075034
___
Have you tried the ternary operator?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074701#4074701
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074701
___
jb
Or you could try
| SELECT count(a) FROM TableA
|
(untested)
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074694#4074694
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074694
__
If you want to update an entity use merge (not persist).
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074692#4074692
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074692
__
No, it is not used because you can have AFAIK use only one view handler.
But it should not be too difficult to write a *.taglib.xml.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074691#4074691
Reply to the post :
http://www.jboss.com/index.
At least I think that is what yoou want since the bean name is already a string.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074578#4074578
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074578
__
| Component.getComponentName(yourBean.getClass());
|
The API doc is your friend.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074577#4074577
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074577
Yes, but who has ever guaranteed you that the value binding of a datatable
would be evaluated once and only once.
@Pete: This might be fixable by modyfing UISeamCommandBase.getSelection() and
UISelection to directly set the datamodel instead of the datamodel value
expression.
Regards
Felix
... or add an additional to the view.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073245#4073245
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073245
___
This is a value binding so el will look for authenticator.getDisplay().
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073244#4073244
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073244
__
Hibernate only uses the discrimnator value if it is really needed (single
table strategy). Since the class type for the strategy joined is clear by
itself the discriminator value will be null. You can use the following hack to
work around this:
| /*
| * This is workaround for a h
TBH I don't see the problem at all. What is so bad if the getter of your list
is called multiple times. As you have already written it is not a performance
issue.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072900#4072900
Reply to the post
I can guess what happens: is trying to find out the datamodel
selection and is acessing the list behing the value of its UIData parent.
I would say this behaviour is expected. Something similiar should happen if the
poster uses instead of the ... hack.
Regards
Felix
View the original post :
| @In Athlete athlete;
|
You get the error message because athlete is not found in any context. You have
to outject the athlete when it "selected" (not sure what you mean by that) so
it is available in one of the Seam contexts.
Regards
Felix
View the original post :
http://www.jboss.co
| @OneToMany(mappedBy="workout", cascade=CascadeType.REMOVE)
| private List workouts = new ArrayList();
|
You propably mean mappedBy="athlete".
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072217#4072217
Reply to the post :
http:/
Do you also remove the entity from the datamodel and/or list that is backing
the table?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071888#4071888
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407188
Okay, this is working for me.
However, I think this would be a nice enhancement. I will put a feature request
to JIRA.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071562#4071562
Reply to the post :
http://www.jboss.com/index.html?module=b
Is it possible to create a data model from components.xml the same way a
factory can be used?
I have an entity managed by a home object that has a list of related entities.
I would like to loop over these and select them without adding getter and
setters for these to the home object or some oth
It is common to put the encryption method into curly brackets and prepend that
to the hash to show whether it is plaintext or a hash.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069109#4069109
Reply to the post :
http://www.jboss.com/inde
It is a plain Seam component not an enterprise bean.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068522#4068522
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068522
__
Simply add
| div.seam-date
| {
| /* ... */
| z-index: 200;
| }
|
to your css file.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068326#4068326
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
Or you can use this javascript hack:
|
Have you declared the seam interceptor?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066756#4066756
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066756
___
anonymous wrote :
| It doesn't have to be a repository or something that persists data.
|
Not sure what you mean by that. The whole point of an entity bean is to hold
persitent data.
anonymous wrote :
| I might have entities that are domain objects which I happen to want to
inject with
Are you rendering or redirecting to searchResultsPage?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066748#4066748
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066748
I think it would be a very bad design decision because you might inadvertently
modify persistent data.
IMHO it is better to use a manager pattern for that like Seam's home objects.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066505#4066505
The problem is related to be JDK 1.6.0 which is installed on my windows
machine. Using 1.5.0_08 produces jars which work under Linux and Windows.
Not sure what the problem might be but maybe this should go into the release
notes.
Regards
Felix
View the original post :
http://www.jboss.com/i
Has anybody got an idea about this one? Is there any information I should
supply?
If not I will create a JIRA issue.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066107#4066107
Reply to the post :
http://www.jboss.com/index.html?module=bb&
This only happens with Seam CVS as of 7/18.
Seam 2.0.0 BETA1 works well on Windows and Linux!
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066003#4066003
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
I have a strange problem: On my development machine running windows my
application work fine. When I deploy it to the server it fails because the
components.xml file is not scanned properly.
The odd thing is that components.xml is found:
| 2007-07-19 00:09:10,785 DEBUG [org.jboss.seam.deploym
If you say nullable = false it means nullable = false. So the Customer can't be
set to null. Remove it and alter table accordingly.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063276#4063276
Reply to the post :
http://www.jboss.com/index.h
It just works(tm). All you have to do is to create a JAAS domain.
See http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061755#4061755
Reply to the post :
http://www.jboss.com/index.html?
Can the database user "see" those tables, e.g. get meta data about them?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061592#4061592
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061592
_
You need scoped class loading. Add a class loader entry to yur jboss-app.xml
ord jboss-web.xml.
See examples or
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061282#4061282
R
If you want to know the size of a collection it has to be fetched. So using
fetch-type eager is the best approach.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061157#4061157
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
Plz post the whole stack trace.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060719#4060719
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060719
___
jboss-u
The error has nothing to do with extensind EntityQuery.
| there should be exactly one value binding in a restriction: p.featured=true
|
You must have exactly one value binding in your restriction. Try using
| p.features=#{true}
|
Regards
Felix
View the original post :
http://www
The component.xml file is required to mark the jar as a seam jar. If it is
missing the deployment scanner will not scan the jar and any seam annotation
will not be detected.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059423#4059423
Reply
Is it possible that Toplink requires resource references as per EJB spec?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059374#4059374
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059374
_
Have you added autocreate="true" to you component?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059372#4059372
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059372
It will run if you remove the classloader scoping from application.xml - or
more exactly: One single Seam application will run per JBoss instance.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059327#4059327
Reply to the post :
http://www.jb
|@PersistenceContext(type=PersistenceContextType.EXTENDED)
|private EntityManager entityManager;
|
Doesn't look very Seam managed to me.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059326#4059326
Reply to the post :
http://
Why are you using TopLink?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058214#4058214
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058214
___
jboss-user m
Hello!
Seam 1.3.0.ALPHA gives me the following exception:
| org.hibernate.TransientObjectException: The instance was not associated
with this session
| at org.hibernate.impl.SessionImpl.getIdentifier(SessionImpl.java:1375)
| at
org.jboss.seam.persistence.HibernatePersistenceProvi
Well, I am not a jboss and memeber and everything but an expert on class
loading but shouldn't you be able to simply remove the (now uneeded) Hibernate
libs from the EAR?
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054713#4054713
Reply to
Okay, I will upgrade and report back.
Thanks
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054239#4054239
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054239
___
jb
Hi!
I'm running Seam 1.2.1.GA on JBoss AS 4.2.0.GA. Everything works well unless I
add class loading isolation. If I do I get the following stack trace:
|
| Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException:
com.sun.faces.application.ApplicationImpl.addELResolver(java
Okay, thanks for the information. I use maven and used simply the latest
available version.
Could you add a hint to the documentation? I think quite a lot of people might
bump into this.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052947#4
Well, this is really a Seam question.
But you do NOT save server resources by using event scope. It is true that you
save resources on the app server but you pay for this by a much higher load on
the database. And the database layer is the limiting factor in almost any
meaningful application.
Here's the code of the form:
| http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
| http://www.w3.org/1999/xhtml";
| xmlns:ui="http://java.sun.com/jsf/facelets";
| xmlns:f="http://java.sun.com/jsf/core";
| xmlns:h="http://java.sun.com/jsf/html";
| xmlns:c="http
Otherwise it doesn't work. It will insert the body of the page I defined and
not just the input.
It seems like a bug to me. I will post the code once I am at home.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051046#4051046
Reply to the pos
Hi!
I am trying to use the template property of (instead of facets)
in Seam 1.2.1 .GA but it doesn't work for me. The in the
decorateField.xhtml does not only insert the input child of but
the whole page (which is in a because it uses a page template).
If I explicilty define
and ajust
You could try @Column(name = "CREATE_TIME",
columnDefinition="timestamp",length=6)
I actually doubt it will work because Hibernate seems to mix the name and the
type value of your annotation.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=405
As far as I know the Servelt api doesn't allow to modify init params and even
if it was possible doing so by might cause severe inconsitities in your app.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050431#4050431
Reply to the post :
http:
A book on JSF will answer all those questions.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050144#4050144
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050144
Use the JNDIViewer in the jmx-console.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050141#4050141
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050141
___
But this only works if
a.) the truncated value is a parameter in the query
b.) you are actually truncing to the day.
It will not work for something like this:
| SELECT c, d FROM Cat c, Dog d
| WHERE extract(month from c.birthday) = extract(month from d.birthday)# AND
extract(year from c.bir
You probably want a @ManyToOne relationship since you have a collection on the
Document side.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050025#4050025
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Have you tried 'cast(foo.timestamp AS date)' and 'extract(year from
foo.timestamp)'? For the later one there are also abbraviations like day(xxx)
etc. but these are Hibernate specific.
I have never tried these myself but they are definitly in the manual.
Regards
Felix
View the original post
You have to add jndi.proeprties to set the proper InitialContext() to get
dependency injection working.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048950#4048950
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
You have to use @Remote(RemoteInferface.class) on the bean or @Remote on the
remote inteface.
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048944#4048944
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
1 - 100 of 337 matches
Mail list logo